We have a single IIS6 webserver (serving a single site with a single application pool) on W2K3 -- 4GB RAM that currently experiences some Out of Memory issues. I want to use perfmon to monitor the memory and log an event in the application log when 70%-75% of the available memory for the application pool (w3wp.exe process) is used up.

After some research I found that Virtual Bytes or Private Bytes under the Process object is the counter I should be monitoring. As a simple test, I set the alert to log if that value was over '5'. When I look in the Application Log, I see messages like this:

Counter: \MYSERVER\Process(w3wp)\Virtual Bytes has tripped its alert threshold. The counter value of 756580352 is over the limit value of 5.

Looks like the '5' obviously doesn't correspond to a percentage. If its BYTES, how can I find the number of bytes equivalent to 75%?

Also -- is Virtual/Private bytes the only counter I should be monitoring? I want to get an alert that our memory will soon be maxed out and we can proactively recycle the application pool. Any tips would be greatly appreciated. Thanks.

jg

link|improve this question

62% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.