VMware vSphere

 View Only
  • 1.  VM CPU usage is reaching again and again to 100%

    Posted Oct 07, 2015 05:51 PM

    In one of my client environment VM CPU Usage is reching to 100% again and again if he reboot that vm then for few days it is working fine but after that again reached to 100% what could be the reason of this issue? any fix for this issue?



  • 2.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 07, 2015 06:06 PM

    Hi

    Which process is using high utilization?

    Venkat



  • 3.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 08, 2015 04:07 AM

    svchost.exe process



  • 4.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 08, 2015 05:17 AM

    svchost.exe is "multi-function process". It can handle a few services, and there are usually at least a few of them running. With this little info it is not possible to find reason why it is using 100% cpu.

    So start task-manager in VM again, switch to "Processes" tab, in "view -> select column" activate "Command line", and then past here command-line (the way it was started) of the affected svchost.exe-process taking 100% cpu. Then we know at least which service is causing problems...



  • 5.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 08, 2015 10:27 AM

    Hi,
    i think, that svchost.exe is process for windows updates, it it´s normal state when your windows pc or server installing updates, the cpu utilization is very high.

    My suggestion is:

    • check your updates
    • check your update history

    btw:


    check this post:
    http://blogs.technet.com/b/asiasupp/archive/2007/05/29/automatic-update-causes-svchost-exe-high-cpu.aspx



  • 6.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 08, 2015 11:09 AM

    Several services run under svchost process. Right click the process and go to services in Task manager, it will display all the services its running. Try to stop the services one by one and see which one is causing the issue.



  • 7.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 07, 2015 07:54 PM

    As a initial troubleshooting step , login to guest OS, check which process is using more cpu capacity.

    Makes sure the hosted application or the allocated cpu count can handle the application transaction load.

    Login to vSphere client and check the cpu setting by right clicking on the vm,edit settings,resources,cpu, check Resource allocation limit is unlimited or set the limit.



  • 8.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 07, 2015 09:03 PM

    Also few of the application server may need scheduled reboot to clear the application cache which was filled due to high transaction volume.



  • 9.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 07, 2015 09:48 PM

    The host probably is lacking the CPU resources required to meet the demand.

    Increase the CPU shares to give the virtual machine more opportunities to run. The total ready time on the host might remain at the same level if the host system is constrained by CPU. If the host ready time doesn't decrease, set the CPU reservations for high-priority virtual machines to guarantee that they receive the required CPU cycles.

    Reduce the number of virtual CPUs on a virtual machine to only the number required to execute the workload. For example, a single-threaded application on a four-way virtual machine only benefits from a single vCPU. But the hypervisor's maintenance of the three idle vCPUs takes CPU cycles that could be used for other work.



  • 10.  RE: VM CPU usage is reaching again and again to 100%

    Posted Oct 08, 2015 10:14 AM

    I would suggest you to install process explore tool and find out which process using is  svchost.exe to consume more cpu   https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

    refer to this as well Abnormally high CPU usage from svchost.exe [SOLVED] - Microsoft Community