IIS 5 & IIS 6
Last post Apr 17, 2009 06:39 PM by Rovastar
Mar 17, 2009 04:36 PM|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 04:55 PM|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 09:06 AM|elshad.saga|LINK
Hi Thank you for the suggestion.Will check and revert
Mar 20, 2009 03:01 PM|elshad.saga|LINK
Mar 20, 2009 04:37 PM|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 04:46 PM|elshad.saga|LINK
Mar 24, 2009 05: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 12:27 PM|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 05: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 05:45 PM|elshad.saga|LINK
Apr 01, 2009 05:46 PM|elshad.saga|LINK
Apr 01, 2009 05: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 04:42 PM|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 06: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.