In this article we’ll learn “How to find Worker Process and PID in App Pool”. When we have to analyze resource utilization at that moment PID helps us.
Using Task manager, we can see the PID which is using more resources and we can ‘split up’ that App Pool for better performance. i.e. if given application pool is allocated to multiple applications it may take more resources and by splitting it further, we can get good performance from these applications.
Let’s find Worker Process and PID in Task Manager:
In below screen 2 worker processes are getting executed at this moment and their PID are 19712 and 19196.
Let’s find Worker Process and PID in IIS:
Next open IIS and select server name and double click on ‘Worker process’ ICON as shown below
On double click of Worker Process icon following screen will open where you can see active Worker processes and can identity it by using its PID and can take the necessary action of splitting up for performance enhancement.
Note – if the application pool is not active or sleeping, it will NOT be listed in above screen. App pool become inactive/sleeping when no one accessing that application.
Additionally, app pool displays also depend upon its setting (refer below screen shot). “Always running” will keep it running all the time where as “On Demand” will launch worker process exe on demand else it will remain inactive or in sleep mode.
In this article you have learned “How to find Worker Process and PID in App Pool”. All this is used in analyzing resource utilization.
I hope you have enjoyed reading this article. For more on IIS you can refer our IIS Section and you can also visit Microsoft Learn too