Study the causes and solutions of 100% CPU usage in WinXP

Source: Internet
Author: User
Tags high cpu usage

When we use the Windows XP operating system, the system slows down when we use it. When we look at "Task Manager", we find that the CPU usage reaches 100%. How did this happen? In this article, I will explain why the system resource usage reaches 100% from three aspects: hardware, software, and virus.


CPU usage is usually 100%, and the main problems may occur in the following aspects:


Nine possibilities of high CPU usage


1. Anti-virus software faults


The new versions of KV, Kingsoft, and rising all add random monitoring of web pages, plug-ins, and emails, which undoubtedly increases the burden on the system. Solution: Basically there is no reasonable solution. Try to use the least monitoring service or upgrade your hardware.


2. the driver has not been certified, resulting in 100% CPU resource usage


A large number of Beta drivers are flooding the Internet, leading to hard-to-find fault causes. Processing Method: especially for graphics card drivers, it is recommended that you use a Microsoft-certified or officially released driver and strictly check the model and version.


3. caused by viruses and Trojans


A large number of worms rapidly replicate within the system, resulting in a high CPU usage rate. Solution: use reliable anti-virus software to thoroughly clean up the system memory and local hard disk, and enable the system setting software to check for programs with startup exceptions. Update anti-virus software and _ blank "> firewall regularly to enhance anti-virus awareness and master the correct anti-virus knowledge.


4. Right-click Control Panel-Administrative Tools-SERVICE-rising realtime monitor service and choose manual.


5. Start->; Run->; msconfig->; Start, close unnecessary startup items, and restart.


6. view the "svchost" process.


Svchost.exe is a core process of Windows XP. Svchost.exe not only appears in Windows XP, but also exists in the Windows System Using ntinner. Generally, in Windows 2000, the number of svchost.exe processes is 2, while in Windows XP, the number of svchost.exe processes has increased to 4 and more.


7. View network connections. This is mainly for NICs.


8. View Network Connections


When a computer with Windows XP installed as a server receives a connection request from port 445, it allocates memory and a small amount of CPU resources to provide services for these connections. When the load is too heavy, the CPU usage may be too high, because there is an inherent trade-off between the number of work items and the response capability. Determine the appropriate MaxWorkItems settings to improve the system response capability. If the set value is incorrect, the server's response capability may be affected, or a user excludes too many system resources.


To solve this problem, we can modify the Registry: in the Registry Editor, expand the [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanserver] branch, and create a New DWORD Value named "maxworkitems" in the right window. Double-click the value. In the displayed window, type the following values and save and exit:


If the computer has more than 1024 MB of memory, type "512"; if the computer memory is less than 256 MB, type ".


9. Check if the right-click Windows XP causes 100% CPU usage


Recently, I reported that right-clicking the resource manager will cause 100% of CPU resources to be occupied. Let's see what's going on?


Symptoms:


In resource manager, When you right-click a directory or file, you may encounter the following problems:


Any file copy operation may stop at that time

The network connection speed will be significantly reduced

All stream input/output operations, such as using Windows Media Player to listen to music, may be caused by music distortion:

When you right-click a file or directory in the resource manager, the CPU usage increases to 100% when the shortcut menu is displayed, when you close the shortcut menu, the normal level is returned.


Solution:


Method 1: Disable "use transition effects for menus and tooltip"


1. Click "start"-"Control Panel"

2. Double-click "display" in "Control Panel"

3. Click the "appearance" tab in the "display" attribute.

4. On the "appearance" tab, click "effect"


5. In the "effect" dialog box, clear the check box before "use transition effect for menus and Tools" and click "OK" twice.


Method 2: Right-click a file or directory and use the left mouse button to select your target file or directory. Then, right-click the shortcut menu to bring up the shortcut menu.


Solution to 100% CPU usage


In general, if the CPU account for 100%, our computer will always slow down. In many cases, we can solve this problem by making a few changes, instead of asking those prawns.


When the machine slows down, we first think of the task manager to see which program accounts for a relatively large proportion. If it is a large program, we can forgive it, after the program is closed, it will be okay if the CPU is normal. If not, you have to look at what the program is, if you cannot find out what this process is, search for it by google or baidu. Sometimes it is useless to end only. In xp, we can combine the startup items in msconfig to disable some unused items. In 2000, you can use the next winpatrol.


Compatibility of the hosts file.


Optional. If it is not under c: Windowssystem32 (xp) or c: winntsystem32 (2000), it is suspicious. Upgrade anti-virus software.


Right-click the file and cause 100% of CPU usage. This problem may occur when you right-click to pause. Official explanation: Click and select, and then right-click (not very understandable ). Unofficial: Right-click the desktop, choose Properties> appearance> effect, and deselect "Use the following excessive effect (U)" for menus and tools. Some anti-virus software may also have an impact on file monitoring. You can disable file monitoring for anti-virus software, and monitor webpages, plug-ins, and emails.


Some drivers may also be like this sometimes. It is best to choose a driver approved by Microsoft or officially released. Sometimes you can upgrade the driver appropriately, but remember that the latest driver is not the best.


CPU cooling software, because the software will use the CPU idle time during operation to reduce the temperature, but Windows cannot distinguish between common CPU usage and cooling software cooling instructions, therefore, the CPU is always 100%, so you don't have to worry about it and it does not affect normal system operation.


When processing a large word file, the CPU is exhausted due to the spelling and syntax check of the word, open the word tool-Option-spelling and syntax to remove the "check spelling and check Syntax" check.


After you click an avi video file, the CPU usage is high because the system needs to scan the file, check all parts of the file, and create an index. solution: right-click the folder that saves the video file-properties-General-advanced, and remove the Enable Index Service to compile the index of the folder for quick search.


Case study of 100% CPU usage


1. The dllhost process causes 100% CPU usage


Features: The normal CPU consumption of the server should be below 75%, and the CPU consumption should be fluctuating. If such a problem occurs on the server, the CPU will suddenly remain at a level of 100% and will not decrease. View the task manager and you can find it is DLLHOST. EXE consumes all the CPU idle time. In this case, the Administrator has to restart the IIS service. The strange thing is that after the IIS service is restarted, everything works normally, however, after a while, the problem may occur again.


Cause:


One or more ACCESS databases are damaged during multiple read/write operations. When Microsoft's MDAC system writes this corrupt ACCESS file, the ASP thread is in the BLOCK State. As a result, other threads can only wait, IIS is deadlocked, and all CPU time is consumed in DLLHOST.


Solution:


Install the "first-class information monitoring and interception system", and use the "Chief file examiner IIS health examiner" software,


Enable "find deadlock module" and set:


-- Wblock = yes

For the monitored directory, specify the directory where your host files are located:

-- Wblockdir = d: est


The log files generated by monitoring are stored in the log directory of the installation directory. The file name is logblock.htm.


Logging records the last written ACCESS file.


After the timer time, when the question arises, for example, the CPU will go directly to the 100th level, you can stop iisand check the last 10 files recorded by logblock.htm. Note that the most problematic is the ACCESS file of the counter class, for example, "** COUNT. MDB "," ** COUNT. ASP, You can first Delete the last 10 files or suspected files to the recycle bin, and then start IIS to see if the problem occurs again. We believe that after careful searching, you can find the file that worries you for a while.


After finding the file, you can delete it, download it, and fix it with ACCESS2000. The problem is solved.


22.16svchost.exe causes 100% CPU usage


In the win. ini file, under [Windows], "run =" and "load =" are possible ways to load the "Trojan" program. You must pay attention to them carefully. Generally, they do not have anything after the equal sign. If you find that there are paths and file names behind them that are not familiar with the Startup File, your computer may be "Trojan. Of course, you have to see clearly, because many "Trojans", such as "AOL trojantrojan horse", pretend to be a command.exe file. If you do not pay attention, you may not find that it is not a real system startup file.


In the system. ini file, there is a "shell = file name" under [BOOT ". The specified file name should be "assumer.exefolder. If it is not" assumer.exe "but" shell = assumer.exe program name ", then the program that follows is" Trojan ", that is, you are already in the" Trojan.


The situation in the registry is the most complex. Open the regedit command

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.