IIS 5 & IIS 6
Last post Apr 17, 2009 01:39 PM by Rovastar
Mar 17, 2009 11:36 AM|elshad.saga|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
Which counters should i monitor in counter logs while executing load on an ASP.NET application for performance tuning?
Mar 17, 2009 11:55 AM|ma_khan|LINK
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...
Mar 19, 2009 04:06 AM|elshad.saga|LINK
Hi Thank you for the suggestion.Will check and revert
Mar 20, 2009 10:01 AM|elshad.saga|LINK
Mar 20, 2009 11:37 AM|ma_khan|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 ...
Mar 20, 2009 11:46 AM|elshad.saga|LINK
Mar 24, 2009 12:23 PM|ma_khan|LINK
yes you will need to use debug tools... you can search for DebugDiag or AdPlus ... you will get many handy results...
Mar 25, 2009 07:27 AM|tomkmvp|LINK
... or maybe just the application assigned to that pool is making inefficient use of memory. What does this application do?
Mar 25, 2009 12:04 PM|Rovastar|LINK
Sort of related, to monitor if it gets high 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
Create ProcessNameFormat as a Dword and assign the value 2
Apr 01, 2009 12:45 PM|elshad.saga|LINK
Apr 01, 2009 12:46 PM|elshad.saga|LINK
Apr 01, 2009 12:47 PM|elshad.saga|LINK
This application does many report generation.for eg to search call id ,call status etc
thanks for info..will try and revert
Apr 17, 2009 11:42 AM|raywillm|LINK
This is cool, and a step further than I've been previously.
Problem is I am still looking for a way to collect meaningful application pool perfmon stats over time to analyse at leisure. Easy enough to set up a performance log based on current w3wp.exe pid's - just select all active. But what about when the pool
recycles and gets assigned a new pid? Anyone know if there's a way to collect all active w3wp counters regardless of pid (and be able to tie them back to application pool name afterwards of course)?
Apr 17, 2009 01:39 PM|Rovastar|LINK
Sadly you cannot do that. It is one of the pains with multiple wp's. I suggest you have a script that periodically runs the iisapp to obtain the PID of the wp and then match them up afterwards. Not ideal but probbaly the best way.