Which event log files does the IIS 7.0 Application Pool Recycling log to?
I want to check out at what time the default app pool automatically recylces.
The event id is 5079 and can be found in the System log. You may need first to enable logging of such even for a specific Application Pool. To enable it using the IIS Manager go to: Application Pools > Select Application Pool > Advanced Settings and you should find: Generate Recycle Event Log Entry.
IIS Logs Location: On a standard Windows Server, IIS log files are found at %SystemDrive%\inetpub\logs\LogFiles by default.
By default, an IIS application pool (or “AppPool”) recycles on a regular time interval of 1740 minutes, or 29 hours. One reason for this time interval is that application pools don't recycle at the same moment every day (every day at 07.00 for example).
They are logged in the Windows Event Viewer. On Win7 they are in Windows Logs > System - filter for Source = WAS
A typical message may read:
A worker process with process id of '5916' serving application pool 'DefaultAppPool' was shutdown due to inactivity. Application Pool timeout configuration was set to 20 minutes. A new worker process will be started when needed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With