How to Configure IIS 6.0 to Log CPU Events

Here I want to describe how to configure IIS 6.0 Metabase when certain condition such as CPU reaching 96% for certain W3WP.EXE worker process.

To accomplish this task, I will use 2 (two) of the IIS Metabase properties called CPULimit and CPUAction.

I will set the CPULimit property using IIS 6.0 Manager :

So, the “Enable CPU Monitoring” is checked, with percentage is set to 96%, and action performed is set to No Action. This will cause the W3SVC to log to the event log whenever certain processes in Application Pools (I set it into Application Pools level), reaches 96% of CPU usage.

You can consult this link for more information :

http://technet.microsoft.com/en-us/library/cc779108%28WS.10%29.aspx

So, what kind of message when the percentage of CPU really exceed the specified value above ? Well, it will generate event id 1025 with the message “Application pool ” exceeded its job limit settings.” A rather cryptic message indeed 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: