Why Is My Windows ECS Running Slowly?

If your ECS runs slowly or is inaccessible unexpectedly, the bandwidth or vCPU usage of the ECS may be excessively high. If you have using Cloud Eye, the system automatically sends an alarm to you when the bandwidth or CPU usage reaches the threshold specified in the rule.

To handle this issue, perform the following operations:

  1. Fault locating

    Identify the processes leading to high bandwidth or CPU usage.

    Windows offer multiple tools to locate faults, including Task Manager, Performance Monitor, Resource Monitor, Process Explorer, Xperf (supported by versions later than Windows Server 2008), and full memory dump analysis.

  1. Troubleshooting

    Check whether the processes are malicious and handle the issue accordingly.

    • If the processes are not malicious, optimize them or .

    • If the processes are malicious, stop these processes manually or use a third-party tool to stop them automatically.

Fault Locating

  1. Log in to the ECS using VNC available on the management console.

  2. Start the Run dialog box, and then enter perfmon -res.

    **Figure 1** Starting the Resource Monitor

    Figure 1 Starting the Resource Monitor

  3. On the Resource Monitor page, click the CPU or Network tab to view the CPU or bandwidth usage.

    **Figure 2** Resource Monitor

    Figure 2 Resource Monitor

  4. Obtain the IDs and names of the processes with high CPU or bandwidth usage.

  5. On the remote login page, click Ctrl+Alt+Del to start the Windows Task Manager.

    Alternatively, start the Run dialog box and enter taskmgr to start the Windows Task Manager.

    The following describes how to display PIDs in Windows Task Manager, locate a process, and check whether it is malicious.

    1. Click the Details tab.

    2. Click PID to sort the data.

    3. Right-click the process with high CPU or bandwidth usage and choose Open File Location from the shortcut menu.

    4. Check whether the process is malicious.

      **Figure 3** Checking the process

      Figure 3 Checking the process

Troubleshooting

Before the troubleshooting, check whether the process leading to the high CPU or bandwidth usage is malicious, and then take measures accordingly.

Suggestions for non-malicious processes

  1. If your ECS runs Windows Server 2008 or 2012, ensure that the available memory is 2 GB or larger.

  2. Check whether Windows Update is running on the backend.

  3. Check whether the antivirus software is running scan tasks on the backend.

  4. Check whether any applications requiring high CPU or bandwidth are running on the ECS. If so, or .

  5. If the ECS configuration meets the application requirements, deploy applications separately. For example, deploy the database and applications separately.

Suggestions for malicious processes

If the high CPU or bandwidth usage is caused by viruses or Trojan horses, manually stop the affected processes. You are advised to troubleshoot the issue as follows:

  1. Use the commercial-edition antivirus software or install Microsoft Safety Scanner to scan for viruses in security mode.

  2. Install the latest patches for Windows.

  3. Run MSconfig to disable all drivers that are not delivered with Microsoft and check whether the fault is rectified. For details, see How to perform a clean boot in Windows.