Sunday, March 25, 2012

Memory used by IIS worker processes

OK, how to find out which worker process in your server is using how much memory?
1. List all the current running Worker Processes.
  • Go to Start-->Run-->cmd
  • This will launch the Command Prompt.
  • In the Command Prompt, change the directory to Windows\System32\inetsrv
  • Run the command appcmd list wp

This will list all of your worker process along with their individual Process IDs.
2. Next launch the Task Manager.
  • In the Task Manager, Go to the Performance tab.
  • Click on the Resource Monitor button.
  • When the Resource Monitor is launched, expand the tab for Memory.
  • From the memory you can order the processes(listed as Image) alphabetically and see which w3wp process is related to which Process ID and what is the memory used by individual worker processes.



2 comments:

David Lozzi said...

Check out my PowerShell script, http://davidlozzi.com/2012/02/28/powershell-script-match-sharepoint-service-to-w3wp-process/, it does all the work for you! Fast and easy!

Balmiki said...

Thank you David Lozzi for your input. I will definitely try this out