Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I determine which w3wp.exe process belongs to which web site?

Tags:

iis-6

w3wp

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?

like image 876
Michael Bray Avatar asked Mar 18 '09 15:03

Michael Bray


People also ask

How do I check w3wp process?

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.

Where is the w3wp exe located?

W3wp.exe file information The w3wp.exe file is located in a subfolder of C:\Windows\System32 (usually C:\Windows\System32\inetsrv\).

What is this file w3wp exe?

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.

Can I end process w3wp exe?

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.


1 Answers

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

like image 53
Sameer Alibhai Avatar answered Sep 20 '22 22:09

Sameer Alibhai