VMware Cloud Community
ahamedaadil1982
Contributor
Contributor

One of My VM CPU usage is 100%

Hi, One of My VM (edge server) cpu usage become 100% and its says svchost.exe is taking full cpu usage.  I logged in to local admin and then log off it goes normal, Again after 2 days it become 100% cpu usage.

OS of VM: Windows Server 2008 R2 Enterprise

it has 8 VCPU and 16 GB RAM. 

Reply
0 Kudos
5 Replies
rachelsg
Enthusiast
Enthusiast

Hi

Welcome to communities.

first you need to check verify that VMware Tools is installed on every virtual machine on the host.

If yes then you need to go through rest of the steps.

http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.monitoring.doc%2FGUID-5F8147...

Reply
0 Kudos
ramprabhusekar
Contributor
Contributor

Hi,

The svchost.exe is common one.  To find the specific then you have to enable perfmon and check where cpu has been utilizeed.  i suggest to check with esxtop command from ESX host to check the utilization like cpu wait/ ready value also.

Reply
0 Kudos
Metallicabk
Contributor
Contributor

Hi,

As mentioned above check the monitoring. Is the VM monitoring tools showing high CPU? if not then you might need to allocated more memory to that VM. Does it require 8 VCPU's?

Reply
0 Kudos
ahamedaadil1982
Contributor
Contributor

Hi All

Thanks for your reply, I have 3 hosts in cluster. I migrated this particular VM to another host, but its still the same issue,

I did a cumulative internet explorer update for that VM, I think 16 GB & 8 vcpu is more enough, I feel it has something to do with 0S level or may be VM.   Whenever it goes high , I login to local administrator and log off then it goes normal.

the VM is part of domain.

Reply
0 Kudos
mamaat
Contributor
Contributor

Nine years down the road I am encountering the same thing. I don't know what caused it yet but just killing the svchost process made the CPU usage drop to 0% and the VM instantly became snappy.

I noticed the task bar lost its styling though, most of it now looks like Windows95. Only yhte trsay areas and the Start button's background is still blue. I then killed Explorer.exe and restarted it using Task Manager and everything looked fine again without the CPU hogging.

Reply
0 Kudos