Event ID 5186 — IIS Application Pool Recycling

Applies To: Windows Server 2008

Internet Information Services (IIS) application pools can be periodically recycled to avoid unstable states that can lead to application crashes, hangs, or memory leaks. By default, application pool recycling is overlapped, which means that the worker process that is to be shut down is kept running until after a new worker process is started. After a new worker process starts, new requests are passed to it. The old worker process shuts down after it finishes processing its existing requests, or after a configured time-out, whichever comes first. This way of recycling ensures uninterrupted service to clients. However, if an application in the application pool cannot run more than one instance of itself at a time, overlapping rotation can be disabled.

Event Details

Product: Internet Information Services
ID: 5186
Source: Microsoft-Windows-WAS
Version: 7.0
Message: A worker process with process id of '%1' serving application pool '%2' was shutdown due to inactivity. Application Pool timeout configuration was set to %3 minutes. A new worker process will be started when needed.


This is a normal condition. No further action is required.

IIS Application Pool Recycling

Internet Information Services (IIS) 7.0