Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have several apps and app pools in IIS6 / Win 2003 Server.

Right now, one app pool is running at around 500 MB of RAM usage in TaskMgr. I'd like to know which app pool that process represents.

How can I find out?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

Check out this article, Listing Running Web Applications Using Iisapp.vbs (IIS 6.0) ,from Microsoft's TechNet site.

Hope this helps some.

share|improve this answer
    
It did help. So, for the next guy who stumbles upon this question: By running iisapp at your server's command line, you will get a list of app pools with their Process ID's (PID). Match the PID from that list with the PID in taskmgr to know which app is which. –  Byron Sommardahl Feb 18 '10 at 22:07

Try looking in Component Services under Running Processes. This should show which processes and their associated process ID's are running for which web sites and in turn you can look in COM+ applications to find the app pool for that web site (you could also look at the properties of the web site to determine that app pool after you've identified the process.

EDIT

There's probably an easier, more elegant way of doing this, but as I'm not really an IIS person this is the way I do it.

share|improve this answer

Check for the PID of the w3wp which is consuming the memory.

  1. Go to the server command prompt.
  2. Go to C:\windows\system32
  3. Type iisapp.vbs

This will give you the app pool name and corresponding PID. Compare both the PID's and you will know which app pool is consuming the memory.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.