1.36 IIST-SI-000252

Information

The maximum number of requests an application pool can process for each IIS 10.0 website must be explicitly set.

GROUP ID: V-218772
RULE ID: SV-218772r1022694

IIS application pools can be periodically recycled to avoid unstable states possibly leading to application crashes, hangs, or memory leaks. By default, application pool recycling is overlapped, which means the worker process 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.

Solution

Open the IIS 10.0 Manager.

Click 'Application Pools'.

Highlight an Application Pool and click 'Advanced Settings' in the 'Action' Pane.

Scroll down to the 'Recycling section' and set the value for 'Request Limit' to greater than '0'.

Click 'OK'.

See Also

https://workbench.cisecurity.org/benchmarks/23698