Solve the problem of high IIS memory usage

Source: Internet
Author: User
In IIS6, w3wp memory usage often fails to be released in time, resulting in slow server response.
After studying it today, you can make the following configurations:
1. Separate applications for each website 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. Then, when the memory or CPU usage exceeds the limit, the memory will be automatically reclaimed. (Note: The basis of the virtual memory refers to the virtual memory used by the entire system. The second is not the number of virtual memory occupied by IIS. For example, if it is set to 1 GB, the system memory usage must exceed 1 GB, the IIS process recycles its memory)

In general, this can be solved. However, some websites cannot be correctly released due to program problems.
So how can we find the website?

1. Add the PID field to the task manager. You can see the process PID with the highest memory usage or CPU usage.
2. Run 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, we can see the application pool corresponding to the PID.
3. Check the website corresponding to the application pool in IIS.

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.