Event ID 5076 — IIS Application Pool Recycling

Applies To: Windows Server 2008 R2

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: 5076
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_EVENT_RECYCLE_WP_SCHEDULED
Message: A worker process with process id of '%1' serving application pool '%2' has requested a recycle because it reached its scheduled recycle time.

Resolve

Check or configure application pool limits

A worker process requests a recycle when it reaches its configured limits for time, number of requests, or memory usage. An underlying issue may have caused the configured limit to be reached. You can check or configure the application pool limits by using IIS Manager.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To check or configure application pool limit settings by using IIS Manager:

  1. Click Start, click Control Panel, and then click Administrative Tools.
  2. Right-click Internet Information Services (IIS) Manager and select Run as administrator.
  3. In the Connections pane on the left, expand the computer, then select the Application Pools folder underneath the computer name.
  4. In Features View, select the application pool. In the Actions pane, select Advanced Settings.
  5. Check or configure the settings for application pool limits under the appropriate section(s).

Verify

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify that an application pool has recycled correctly, follow these steps:

  1. Click Start, click Control Panel, and then click Administrative Tools.
  2. Right-click Internet Information Services (IIS) Manager and select Run as administrator.
  3. In the IIS Manager Connections pane, expand the computer name.
  4. Click Application Pools. The Application Pools pane appears in Features View.
  5. Check the list of application pools and find the application pool that you want to verify.
  6. The word Started should appear under Status column for the application pool. If the word Stopped appears, right-click the application pool and click Start.

IIS Application Pool Recycling

Internet Information Services (IIS) 7.5