IIS 7 Tip # 4 Application Pool Recycling Events has an UI

IIS 7 Tip # 4 Application Pool Recycling Events has an UI

  • Comments 2

Tucked away in the IIS manager is an UI screen to configure the Events that get logged when an application pool is recycled.

When you right click on the application pool and choose Recycling you get to the screen where you configure the Recycling Conditions. When you click ‘Next’ you will get a screen where you can configure the events that are logged when recycling happens.

vijayskRecyclingEvents

You can also set these settings from the Advanced Settings of an application pool

vijayskRecyclingEventsAdv

On IIS 6.0 you had to configure this using the adsutil.vbs script (or directly edit the metabase.xml)  ref: http://support.microsoft.com/kb/332088

Also the Event Viewer on Windows 2008 has been improved and you can now configure it to send emails whenever an event is triggered.

vijayskEventViewer

As a web administrator you might want to keep a tab on the Runtime recycling events. For example the Unhealthy ISAPI recycling usually indicates a web application ‘hang’ because of which it is being recycled. From the IIS Manager you can turn on the Runtime recycling so that those events are logged in the event viewer. Then from the Event Viewer you can attach a task to those events and configure it to send out an email. So every time there is an application pool recycle you get automatically notified via email.


Bookmark and Share

Leave a Comment
  • Please add 7 and 8 and type the answer here:
  • Post
Page 1 of 1 (2 items)