Event ID 5093 — 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: 5093
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_EVENT_FAILED_TO_OVERLAP_RECYCLE
Message: The Windows Process Activation Service failed to overlap recycle for application pool '%1' worker process '%2'. The data field contains the error number.

Resolve

Stop and start WAS

If WAS fails to recycle an application pool, the problem may self-correct. If the problem persists, a possible resolution is to stop and restart WAS. Stopping the WAS service will also stop the World Wide Web Publishing Service (W3SVC) and any other services that depend on WAS. Thus, you may also have to start these other services.

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

To stop and start WAS:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. At the command prompt, type net stop was /y.
  3. At the command prompt, type net start was.
  4. To restart W3SVC, from the command prompt, type net start w3svc. Also, start any other services that were stopped when WAS was shut down.

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