In IIS6, w3wp memory usage often fails to be released in time, resulting in slow server response. I have studied the following configurations today: 1. apply each website separately in IIS.ProgramPool configuration. That is, they do not affect each other. 2. Set the recycle time of the application pool. The default value is 1720 hours, which can be modified as needed. At the same time, set the number of w3wp processes that run simultaneously to 1. When the memory or CPU usage exceeds the limit, the memory will be automatically reclaimed.
In general, this can be solved. However, some websites cannot be correctly released due to program problems.
So how can we find out which website causes high CPU usage?
Detailed steps:1. Add the PID field to the task manager. You can see the process PID that occupies the highest memory or CPU.
Operation Method: Open the task manager, switch to the "process" option, select → "Select column" in the "View" menu, and check "PID (process identifier )", after confirmation, we can see a PID column in the process. 2. Run iisapp-A (or c: \ windows \ system32> iisapp-A) at the command prompt ). Note: the first running will prompt that no JS support is available. Click OK. Then run it again. In this way, you can see the application pool corresponding to the PID. 3. Go to IIS and find the website corresponding to the application pool. Close it and OK.