Event ID 5117 — 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: | 5117 |
Source: | Microsoft-Windows-WAS |
Version: | 7.5 |
Symbolic Name: | WAS_EVENT_RECYCLE_WP_MEMORY_PRIVATE_BYTES |
Message: | A worker process with process id of '%1' serving application pool '%2' has requested a recycle because it reached its private bytes memory limit. |
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:
- Click Start, click Control Panel, and then click Administrative Tools.
- Right-click Internet Information Services (IIS) Manager and select Run as administrator.
- In the Connections pane on the left, expand the computer, then select the Application Pools folder underneath the computer name.
- In Features View, select the application pool. In the Actions pane, select Advanced Settings.
- 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:
- Click Start, click Control Panel, and then click Administrative Tools.
- Right-click Internet Information Services (IIS) Manager and select Run as administrator.
- In the IIS Manager Connections pane, expand the computer name.
- Click Application Pools. The Application Pools pane appears in Features View.
- Check the list of application pools and find the application pool that you want to verify.
- 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.