IIS 5 & IIS 6
Application Pool Event Logging
Last post Jun 03, 2009 07:18 PM by Paul Lynch
Jun 03, 2009 08:13 AM|edmund|LINK
Jun 03, 2009 11:09 AM|Paul Lynch|LINK
This is a common misconception about application pool recycle event logging. If the application has been unloaded from memory (perhaps due to an idle timeout value setting) then the recycle event isn't logged. Refer to this thread :
It is also possible that event logging hasn't been properly configured. You can check this by running adsutil.vbs enum w3svc/apppools
Jun 03, 2009 01:02 PM|edmund|LINK
Jun 03, 2009 02:21 PM|Paul Lynch|LINK
I'm afraid that, as with the previous thread, I just can't reproduce this scenario.
Try this - set the idle timeout value for the app pool to 60 minutes and then configure the application pool to recycle every 2 minutes (just for the purposes of this test - you can re-set it to a different value later). Then recycle the application pool
and make a request to the web application it serves. Then wait for 2 minutes and then check the event log to see if the recycle which you scheduled has been logged.
What service pack is your server at ?
Jun 03, 2009 02:23 PM|murtaza_t|LINK
We had similar problem on one of our dedicated servers and a reboot had fixed it.
Jun 03, 2009 06:55 PM|edmund|LINK
Jun 03, 2009 07:18 PM|Paul Lynch|LINK
Yes, the events are written to the system event log. Glad you got it sorted in the end.