Jump to content

svchost.exe running @ 100%


Recommended Posts

Posted

On my rather elderly HP laptop, I'm having a problem with svchost.exe running at nearly 100%. This, of course, means that everything else grinds to a halt.

I've only recently wiped it and freshly installed everything. It's running XP Home SP2.

Any suggestions?

Posted

I had a similar problem and found that it was linked to Windows Update. The machine was fine for the first couple of minutes after startup, but then svchost maxed out the CPU for ages.

 

I think (as far as I can remember) that I'd changed the default behaviour of windows update to not download updates, but it was spending ages looking for them. Try changing the settings and see if it helps.

  • 2 months later...
Posted
Reseting the Windows Update cache usually fixes that.

 

How do you do that, Geoff? I am suffering from this problem at the mo.

Cheers

Posted
I also had a problem with this svchost.exe and upon reading this thread have probably just found the reason why. My problem was the svchost was crashing constantly throughout the day. It would suggest that it is due to the WSUS i have just implemented if these issues are Windows update related since i didn't have this problem previously.
Posted

You can use tasklist.exe to see what services are running in a svchost.exe.

 

Type tasklist.exe /svc in a command prompt.

 

Might help see which service is misbehaving

Posted

@rdhawkins - unfortunately that is not ideal when it's a svchost process as many processes may be using that.

 

Initial returns on the Hotfix are not good :(

 

I'll try the manual emptying of the softwaredistribution folder next.

Posted

The hotfix doesn't itself stop the update process from using all the CPU, it just stops it from crashing. After reading the KBs again I realised that this cpu usage is still the expected behaviour from MS.

 

Then only way I found to fix it is to reinstall my wsus server without updates for any *office* products.

Posted
The hotfix doesn't itself stop the update process from using all the CPU, it just stops it from crashing. After reading the KBs again I realised that this cpu usage is still the expected behaviour from MS.

 

Then only way I found to fix it is to reinstall my wsus server without updates for any *office* products.

Just out of interest has anyone applied the patch, retained the office products and noted if the situation with the svchost process continues after the initial burst of detection.

 

It'd be interesting to find out if it keeps on happening.

Posted
Yes, it still uses all the cpu for around 3 minutes.

Can you indicate if this happens again after every reboot, tomorrow, next week...

 

Just wondering if this is related to reboots, goes away after the Winupdate routine or just keeps on repeating.

Posted

Same problem here.

 

Use Process Explorer to check what is running beneath svchost.exe (and just disable that service not the whole process):

http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx

 

I found that for some reason an update wasn't being installed on a client becasue svchost.exe and the Windows Update Agent were at 100% CPU usage crippling the machine.. Running the Windows update through Internet Explorer directly with Microsoft, downloading the update and installing that partcular patch this way, fixed the problem.

 

Hope this helps.

 

Stephen

Posted
Same problem here.

 

Use Process Explorer to check what is running beneath svchost.exe (and just disable that service not the whole process):

http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx

 

I found that for some reason an update wasn't being installed on a client becasue svchost.exe and the Windows Update Agent were at 100% CPU usage crippling the machine.. Running the Windows update through Internet Explorer directly with Microsoft, downloading the update and installing that partcular patch this way, fixed the problem.

 

Thanks for the post, but that won't be much use on a domain unfortunately. Someone earlier mentioned process explorer too and it is a pretty cool tool - but it doesn't give you the root cause of the problem either. It just lists the 22 processes that are running under it at the time. It would be nice if there was some tool that would should you the CPU share of each of those processes. Anyway, from looking at those processes I think it is safe tp assume that wuauserv.dll is the guilty party.

 

I may just disable Windows updates for now (lowering the priority made no difference)

Posted

We got fed up with svchost hogging all the cpu so we've disabled Windows updates on all our curriculum machines (we have our own WSUS server that still updates laptops and office machines).

 

We disabled updates via Group Policy. We then have the option to apply another group policy at half-term to re-enable updates, allow updates to install, and then disable them again.

  • 5 weeks later...
Posted
1. Stop the Automatic Updates Service

2. Delete the C:\Windows\SoftwareDistribution Folder

3. Start the Automatic Updates Service.

 

Also have a look at these knowledge base articles.

 

http://support.microsoft.com/kb/916089/

http://support.microsoft.com/kb/927891/

 

Thanks, I am cautiously optimistic that this fixed my mythical 100% CPU usage by svchost. The other symptom I had, windows defender would not update and windows update would not complete.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...