Tuesday, September 15, 2009

svchost.exe occupy CPU 50% solution.

Phenomenon: 

A few minutes later the machine started running svchost.exe will be accounted for system cpu resources, 100% 
Like unplug the network cable, and re-connect to the Internet after a while: svchost.exe has accounted for cpu resources, 99%; 
Address: 

Suppose you have to use a free anti-virus software to exclude the virus and anti-spyware software has been used to exclude the impact of malicious software: 
Think of ways to empty the C: \ WINDOWS \ SoftwareDistribution directory, all files you can restart the machine. (C: \ WINDOWS \ SoftwareDistribution is the Windows update services, temporary file storage directory) 

If the machine that the file is being used ( "Automatic Updates" service is running) can not delete the corresponding directory: 

Then think of ways to open the Control Panel == "Administrative Tools ==" service to find "Automatic Updates", set to manual start, 
Restart after the delete C: \ WINDOWS \ SoftwareDistribution. Problem solved. 
And then open the Control Panel == "Administrative Tools ==" service to find "Automatic Updates", to restore to start automatically restart. 
Note: The restart after the best conditions for better access to the system where the successful completion of one system is automatically updated. 

Promotion: Tingduo be having similar problems, and if you find this approach useful, please http://www.chedong.com/blog/archives/001286.html 
Add this link to your blog. 
html code: <a xhref="http://www.chedong.com/blog/archives/001286.html"> svchost.exe </ a> 

Analysis: 

Let us talk about what is svchost.exe: Simply do not have this RPC service, the machine almost can not go net. Many applications are dependent on the RPC interface, and if found that the process took too much CPU resources, directly to the RPC service is disabled the system will be a disaster: because even the restoration of this interface, the system interface for all service settings can not be used. Recovery method requires the use of Registry Editor, locate the HKEY_LOCAL_MACHINE>> SYSTEM>> CurrentControlSet>> Services>> RpcSs, the right to find Start property, the value of it can be changed to 2 and then restart 

Svchost causing CPU 100% of the total system, not due to svchost service itself: The above situation is due to Windows Update service to download / install the update service failures caused by repeated retry making. The Windows Automatic Updates is also dependent on the svchost service a background application, which showed a very high load svchost.exe. This problem often occurs the machine is generally access conditions (in particular, is to go abroad site) unstable machine, such as the parents of the machine at home, often in a few months after the installation of the machine from time to time occur, the second week of every month is a high-fat period: Since MS very laws in recent years in the second week of each month issued a patch). The above solution does not guarantee against re-attack, but the svchost files every few months in order to reinstall an operating system or a waste of time. 

Lesson: spoolsv.exe and svchost.exe problems are encountered in application failures / exceptions and automatically retry a result of this want to save users time, the design, but through the high-frequency re-examination has led the contrary, and viruses, like effect.

No comments:

Post a Comment