Welcome to My Blog!

Get Worker Processes ( w3wp.exe) List :


To get list of running  worker process, Open IIS Manager ( Run > Inetmgr ), Select root level from left site navigation tree and from “Features View Panel” select “Worker Processes”

So from the above list of worker processes you can get the details of Application Pool Name, Process ID, state of worker processes along with CPU uses and memory uses

Attach Worker Processes (w3wp.exe) For Debugging  :


From Visual studio Attach Process window you will find the same list of worker process with the same Process ID. So based on your application Pool name you can attach the process and start the debugging.

What else we can have from Worker Processes lists in IIS 7 Manager?
We have already identified the worker process  and Application Pool name which are more than enough for us to attach a process from Visual Studio. Now what else we can get out of this list ? Yes we can have enough information regarding worker process like
§  Worker Process Current State
§  CPU Uses by the worker process
§  Memory uses by worker process
§  Current Request Handling by Worker Process

What about the current Worker Process (w3wp.exe ) State  ?

You can get the current status of worker process from status column. Worker processes having 3 status as listed below
1.     Running
2.     Stopping
3.     Starting

 


What is the difference between Web Farm and Web Garden ?  
If You have configured  your site as Web Garden, you can also get the list of all the worker process in the worker processes list with the  different worker Process ID  but all worker process should have a “Single Application Pool “ .

Note: You will able to see only the worker process which are in running state .

Translate