I have an IIS6 web server that is hosting two application pools. Occasionally, one of the w3wp processes will spike the CPU for a while, and both app pools seem to suffer the consequences. I'm not sure which one is which, and without that information I don't know which application to blame.
How can I tell which w3wp belongs to which App Pool?
Open IIS manager and on the left side click on the name of your computer. You will then see a similar list of icons on the right as shown in the screenshot below. Double click on “Worker Processes” and you can get a list of which processes are currently running.
W3wp.exe file information The w3wp.exe file is located in a subfolder of C:\Windows\System32 (usually C:\Windows\System32\inetsrv\).
An Internet Information Services (IIS) worker process is a windows process (w3wp.exe) which runs Web applications, and is responsible for handling requests sent to a Web Server for a specific application pool. It is the worker process for IIS.
It is generally safe, yes. A better thing to do would be to stop and restart the application pool that the application is tied to. Either way, if there is another application in the same app pool you will restart that application as well.
For IIS7 you need to use APPCMD from %systemroot%\system32\inetsrv\ as an administrator
i.e.
%systemroot%\system32\inetsrv\appcmd list wp
See http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/#HowToUse for more details
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With