Docs / Windows Server / Windows Server Performance Monitoring with PerfMon

Windows Server Performance Monitoring with PerfMon

By Admin · Feb 6, 2026 · Updated Apr 23, 2026 · 4 views · 3 min read

This guide covers how to set up and configure perfmon on a Linux VPS. Whether you're running a production environment or a development setup, these instructions will help you get started quickly and securely.

Prerequisites

  • Windows Server 2022 or later
  • Administrator access to the server
  • A VPS running Ubuntu 22.04 or later (2GB+ RAM recommended)
  • Basic familiarity with the Linux command line

Installation Steps

Performance benchmarks show that properly tuned perfmon can handle significantly more concurrent connections than the default configuration. The key improvements come from adjusting worker processes and connection pooling.


# Windows Server initial configuration
Rename-Computer -NewName "MYSERVER" -Restart
Set-TimeZone -Id "Eastern Standard Time"

# Enable Windows Firewall rules
New-NetFirewallRule -DisplayName "Allow HTTPS" -Direction Inbound -Protocol TCP -LocalPort 443 -Action Allow
New-NetFirewallRule -DisplayName "Allow HTTP" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow

This configuration provides a good balance between performance and resource usage. For high-traffic scenarios, you may need to increase the limits further.

Performance Considerations

Regular maintenance is essential for keeping your perfmon installation running smoothly. Schedule periodic reviews of log files, disk usage, and security updates to prevent issues before they occur.

  • Enable automatic security updates for critical patches
  • Monitor disk space usage and set up alerts
  • Keep your system packages updated regularly
  • Test your backup restore procedure monthly

Initial Configuration

If you encounter issues during setup, check the system logs first. Most problems can be diagnosed by examining the output of journalctl or the application-specific log files in /var/log/.


# Install Windows features
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
Install-WindowsFeature -Name perfmon -IncludeAllSubFeature

# Check installed features
Get-WindowsFeature | Where-Object Installed

The configuration above sets the recommended values for a VPS with 2-4GB of RAM. Adjust the memory-related settings proportionally if your server has different specifications.

Service Management

Before making changes to the configuration, always create a backup of the existing files. This ensures you can quickly roll back if something goes wrong during the setup process.


# Windows Server initial configuration
Rename-Computer -NewName "MYSERVER" -Restart
Set-TimeZone -Id "Eastern Standard Time"

# Enable Windows Firewall rules
New-NetFirewallRule -DisplayName "Allow HTTPS" -Direction Inbound -Protocol TCP -LocalPort 443 -Action Allow
New-NetFirewallRule -DisplayName "Allow HTTP" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow

This configuration provides a good balance between performance and resource usage. For high-traffic scenarios, you may need to increase the limits further.

Configuration Options

The default configuration works well for development environments, but production servers require additional tuning. Pay particular attention to connection limits, timeout values, and logging settings.

  • Document all configuration changes
  • Test disaster recovery procedures regularly
  • Maintain runbooks for common operations

Common Issues and Solutions

  • Connection timeout: Verify your firewall rules allow traffic on the required ports. Use ss -tlnp to confirm the service is listening on the expected port.
  • Slow performance: Check for disk I/O bottlenecks with iostat -x 1 and network issues with mtr. Review application logs for slow queries or requests.
  • High memory usage: Review the configuration for memory-related settings. Reduce worker counts or buffer sizes if running on a low-RAM VPS.

Conclusion

This guide covered the essential steps for working with perfmon on a VPS environment. For more advanced configurations, refer to the official documentation. Don't hesitate to reach out to our support team if you need help with your specific setup.

Was this article helpful?