Solved

link web application to a specific process

Posted on 2013-02-06
9
373 Views
Last Modified: 2013-02-12
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?
0
Comment
Question by:dhenderson12
  • 5
  • 4
9 Comments
 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
Try giving it its own AppPool.  I think that will break it out as a separate process.
0
 

Author Comment

by:dhenderson12
Comment Utility
ok, but how would it be identified?  at the moment, all web apps have their own process, but the same name (w3wp.exe).
0
 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
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.
0
 

Author Comment

by:dhenderson12
Comment Utility
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?
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
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.
0
 

Author Comment

by:dhenderson12
Comment Utility
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?
0
 
LVL 33

Accepted Solution

by:
paulmacd earned 500 total points
Comment Utility
"so there's no way to determine which of the apps is using the greatest amount of cpu?"
Here's one way:

The first thing you should do is give each application its own Application Pool.  That will give you some isolation between web applications and make it harder for a problem on one to affect others.  

Then, get Process Explorer and install it on your web server.  Running Process Explorer will tell you (like Task Manager) what processes are using CPU cycles, memory, etc.  

Bringing up the properties of a web (w3wp) process and scrolling across the "Command line:" section should tell you the name of the Application Pool used by that process.  The name of the App Pool, in turn, tells you which web application is causing the problem.
0
 

Author Comment

by:dhenderson12
Comment Utility
now i understand.  that worked perfectly to identify the app pool.  thanks.
0
 
LVL 33

Expert Comment

by:paulmacd
Comment Utility
Happy to help and good luck with your troubleshooting!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now