VMware Cloud Community
RanjnaAggarwal
VMware Employee
VMware Employee

VM CPU usage is reaching again and again to 100%

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?

Regards, Ranjna Aggarwal
Reply
0 Kudos
9 Replies
gopanaboena
Enthusiast
Enthusiast

Hi

Which process is using high utilization?

Venkat

Reply
0 Kudos
mohdhanifk
Enthusiast
Enthusiast

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.

Reply
0 Kudos
mohdhanifk
Enthusiast
Enthusiast

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

Reply
0 Kudos
karthikelango
Enthusiast
Enthusiast

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.

Reply
0 Kudos
RanjnaAggarwal
VMware Employee
VMware Employee

svchost.exe process

Regards, Ranjna Aggarwal
Reply
0 Kudos
JarryG
Expert
Expert

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...

_____________________________________________ If you found my answer useful please do *not* mark it as "correct" or "helpful". It is hard to pretend being noob with all those points! 😉
Reply
0 Kudos
dhanarajramesh

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

Reply
0 Kudos
TomKalabis
Enthusiast
Enthusiast

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....

Reply
0 Kudos
bharathl
Enthusiast
Enthusiast

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.

Reply
0 Kudos