Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've enabled memory recycling upon maximum used memory in IIS for an application pool. I'd like to receive a notification when a recycle happens. How can I do this? We're on Win2k3 using IIS V6.

share|improve this question
up vote 1 down vote accepted

The only way that I'm aware of to do this would be to use a tool to monitor the event log on the server computer and fire off an email when the recycle event occurs.

You'll need to be sure that recycle logging is turned on. The procedure to turn that on, and the various event ids associated with application pool recylces are described in this article:

Such a script could actually run as a Windows service, and wouldn't be too bad to code up in VBscript. If you've already got some kind of "enterprise" event log monitoring solution, use that. If not, consider scripting it. (Maybe if I have some free time this afternoon I'll code something up... we'll see...)

share|improve this answer
Thanks - found that it was enabled and just need to set up the alert. Thanks – Sam Jul 13 '09 at 18:33
Ended up using Splunk for the alerting. Splunk is great. – Sam Jul 16 '09 at 22:00

A possible solution:

  1. Configure IIS that the application pool recycle is logged to the Windows event log
  2. Send emails depending on event log entries (see here for an example - .NET implementation)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.