Map IIS Worker Process to PID

Once you deploy your application in IIS, its bit difficult to find the corresponding PID of the application pool if you want to see which worker process is taking more memory.

Generally in the Task Manager it will just show the worker process (w3wp.exe) and through task manager its difficult to say which Application Pool is taking more memory.




But there is way to identify that through IIS Manager. You can view the Worker Process assignments by going into the Worker Processes section of the server.




Once you click the "Worker Processes", it will show all the PIDs mapped with corresponding application pool. Sleeping or Suspended application pool will not be visible.




As you can see above, IIS listed all the PID and now I can check in the Task Manager for the corresponding memory details.





Comments

Popular posts from this blog

Deploying Asp.net Core Background Service on IIS

Running Powershell Command Remotely Using C#