Windows. Excerpt from w3wp.exe process Maintenance and Management

Source: Internet
Author: User
Thank you for choosing ItpubA friend of mine" Black gem"

Official resource w3wp.exe
Http://search.microsoft.com/results.aspx? Mktw.zh-cn&l=zh_chs&q=w3wp.exe & First = 1 & form = peme

Resolving w3wp.exe memory (memory) and CPU usage Problems
· Configure a separate application pool for each website in IIS. That is, they do not affect each other;
· Set the recycle time of the application pool. The default value is 1720 hours, which can be modified as needed. Set the number of w3wp processes that run simultaneously to "1 ". Then, the memory is automatically reclaimed when the memory or CPU usage exceeds the limit;

Set up several web sites in IIS to check whether the memory and CPU usage of some websites cannot be correctly released due to script program problems.
A) add the PID field to the task manager. You can see the process PID with the highest memory usage or CPU usage.
B) Run "iisapp-a" at the command prompt"
Note:The first running will prompt that no JS support is available. Click "OK" and then run it again. In this way, you can see the application pool C corresponding to the PID) view the website corresponding to the application pool in IIS
--- Application reference for "iisapp:
Http://www.microsoft.com/technet/prodtechnol/windowsserver2003/zh-chs/library/ServerHelp/9b059eb9-1ebd-4fa9-a80e-1fa31adcdacf.mspx? MFR = true

Why w3wp.exe exists in the process
IIS running allows multiple running tasks to coexist. You can manually set the process to determine the number of concurrent operations. Because multiple operations coexist, when the CPU usage of the process reaches the saturation value set manually (for example, 70%), perform the "close" operation, does not affect the provision of Web Services.Why does w3wp.exe occupy 100% of the CPU (processor) resources intermittently?
· Set the program Problems of the web site in IIS, such as performing a large number of query operations;
· System services provided by websites, such as file upload services, which occupy excessive resources;

Legacy issues :( Hope you can give me a reply. Thank you.)
· Application pool> CPU Monitor> Logs (no operation) can only be logged when the application pool is saturated or the whole application pool is closed, but the process cannot be recycled.

 

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.