We are having many app pools.We are unaware which w3wp.exe process from which app pool is taking more CPU utilization or memory.So Is it possible to (customize) rename the w3wp.exe process.So that we will be able to know exactly which application is causing
problem.Pls help
w3wp100% CPUw3wp.exeWhich counters should i monitor in counter logs while executing load on an ASP.NET application for performance tuning?
There would be no need for renaming the w3wp.exe ... here's what you can do .... Open task manager --> View ->Select Columns --> Select PID and click ok...
Now in the command prompt type iisapp.vbs. This command will show you the application pool and it's associated PID... You can compare the 2 PID's and get your solution...
Hope this helps...
Marked as answer by Leo Tang - MSFT on Mar 24, 2009 01:04 AM
Hi The analysis through the script was useful.But still need some more info.The w3wp.exe which is for specific app pool is utilizing more than 1GB of memory.When checked in Microsoft site,could find some hot fix which affects only Asp applications.Ours is asp.net
application.So any solution for this.....
Sort of related, to monitor if it gets high in performance monitor
Configure more detailed reporting in performance monitor
Configure Performance monitor to display associated process IDs instead of the incremental numbers (e.g. w3wp_5432 (where PID = 5432) instead of w3wp#1, etc) more details http://support.microsoft.com/kb/281884 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance\
Create ProcessNameFormat as a Dword and assign the value 2
elshad.saga
16 Posts
Renaming W3wp.exe
Mar 17, 2009 03:36 PM|LINK
We are having many app pools.We are unaware which w3wp.exe process from which app pool is taking more CPU utilization or memory.So Is it possible to (customize) rename the w3wp.exe process.So that we will be able to know exactly which application is causing problem.Pls help
w3wp 100% CPU w3wp.exe Which counters should i monitor in counter logs while executing load on an ASP.NET application for performance tuning?
ma_khan
869 Posts
MVP
Moderator
Re: Renaming W3wp.exe
Mar 17, 2009 03:55 PM|LINK
Hi,
There would be no need for renaming the w3wp.exe ... here's what you can do .... Open task manager --> View ->Select Columns --> Select PID and click ok...
Now in the command prompt type iisapp.vbs. This command will show you the application pool and it's associated PID... You can compare the 2 PID's and get your solution...
Hope this helps...
elshad.saga
16 Posts
Re: Renaming W3wp.exe
Mar 19, 2009 08:06 AM|LINK
Hi Thank you for the suggestion.Will check and revert
elshad.saga
16 Posts
Re: Renaming W3wp.exe
Mar 20, 2009 02:01 PM|LINK
Hi The analysis through the script was useful.But still need some more info.The w3wp.exe which is for specific app pool is utilizing more than 1GB of memory.When checked in Microsoft site,could find some hot fix which affects only Asp applications.Ours is asp.net application.So any solution for this.....ma_khan
869 Posts
MVP
Moderator
Re: Renaming W3wp.exe
Mar 20, 2009 03:37 PM|LINK
That's a different issue... you will need to take a dump and check the cause... there might just not be 1 or 2 reasons for high memory ...
elshad.saga
16 Posts
Re: Renaming W3wp.exe
Mar 20, 2009 03:46 PM|LINK
so you mean to say that i have to use the debug diag tools.If so,Can u pls elaboratema_khan
869 Posts
MVP
Moderator
Re: Renaming W3wp.exe
Mar 24, 2009 04:23 PM|LINK
yes you will need to use debug tools... you can search for DebugDiag or AdPlus ... you will get many handy results...
tomkmvp
7657 Posts
MVP
Moderator
Re: Renaming W3wp.exe
Mar 25, 2009 11:27 AM|LINK
... or maybe just the application assigned to that pool is making inefficient use of memory. What does this application do?
http://mvp.support.microsoft.com/
Rovastar
3321 Posts
MVP
Moderator
Re: Renaming W3wp.exe
Mar 25, 2009 04:04 PM|LINK
Sort of related, to monitor if it gets high in performance monitor
Configure more detailed reporting in performance monitor
Configure Performance monitor to display associated process IDs instead of the incremental numbers (e.g. w3wp_5432 (where PID = 5432) instead of w3wp#1, etc) more details
http://support.microsoft.com/kb/281884
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance\
Create ProcessNameFormat as a Dword and assign the value 2
elshad.saga
16 Posts
Re: Renaming W3wp.exe
Apr 01, 2009 04:45 PM|LINK