Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS 7.0 Application Pool Recycling log files

Tags:

iis-7

recycle

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.

like image 239
Julius A Avatar asked Aug 01 '11 11:08

Julius A


People also ask

How do you check app pool recycle logs?

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.

Where can I find IIS application pool logs?

IIS Logs Location: On a standard Windows Server, IIS log files are found at %SystemDrive%\inetpub\logs\LogFiles by default.

Does IIS automatically recycle application pool?

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).


1 Answers

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.

like image 88
Barry Kaye Avatar answered Sep 17 '22 17:09

Barry Kaye