Last week one instance in our RabbitMQ cluster crashed. This instance was part of a web farm that also hosted some internal web services in IIS. After investigating the logs at the moment of the crash we discovered that the server ran out of memory which brought the RabbitMQ instance down (together with some other services).
In the Resource Monitor we noticed that some of the application pools (you find them as an instance of W3WP.exe) were consuming a lot of memory.
The resource monitor only show the PID(Process ID). So the question is how can we find the related Application Pool?
Let’s walk through the steps:
- Open the Task Manager or Resource Monitor.
- Write down the PID of the W3WP.exe process you want to find
- Open a command prompt and go to the following directory
- c:\windows\system32\inetsrv
- There execute the following command
- appcmd list wp
- This will list all application pools with their PID
- Now you can look for the correct application pool in the list