Link to home
Start Free TrialLog in
Avatar of james henderson
james hendersonFlag for United States of America

asked on

link web application to a specific process

I have an iis7 web server which hosts about 6 different web applications.  One of them is using a large of amount cpu, as viewed in task manager.  How can I link a process to a specific web application?
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Try giving it its own AppPool.  I think that will break it out as a separate process.
Avatar of james henderson

ASKER

ok, but how would it be identified?  at the moment, all web apps have their own process, but the same name (w3wp.exe).
Yes, it will be difficult to identify a particular process, but you can use Task Manager to see the Process ID (go to View -> Select Columns) and leverage that.  

SysInternals also has a variety of tools (including Process Monitor and Process Explorer) that can tell you what applications are associated with what processes.
I'm sorry, but I understand how to get process id from task manager.  I just don't understand how to link it to the specific web application. How can I do that?
Well, you can't.  The process IDs are assigned as processes start.  What ID a process gets depends on the order of all processes starting.
so there's no way to determine which of the apps is using the greatest amount of cpu?  How do web admins know which apps are eating up their server resources, then?  How do they know when to shut down an errant web app?
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
now i understand.  that worked perfectly to identify the app pool.  thanks.
Happy to help and good luck with your troubleshooting!