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.
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.
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: http://support.microsoft.com/kb/332088
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...)
A possible solution: