Determine w3wp.exe CPU usage 100%

Source: Internet
Author: User
Tags high cpu usage

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.

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.