WA000-WWA030 A22 - The httpd.conf MaxSpareServers directive must be set properly.

Information

These requirements are set to mitigate the effects of several types of denial of service attacks. Although there is some latitude concerning the settings themselves, the requirements attempt to provide reasonable limits for the protection of the web server. If necessary, these limits can be adjusted to accommodate the operational requirement of a given system.

From Apache.org:The MaxSpareServers directive sets the desired maximum number of idle child server processes. An idle process is one which is not handling a request. If there are more than MaxSpareServers idle, then the parent process will kill off the excess processes.

Tuning of this parameter should only be necessary on very busy sites. Setting this parameter to a large number is almost always a bad idea. If you are trying to set the value equal to or lower than MinSpareServers, Apache will automatically adjust it to MinSpareServers + 1.

Solution

Open the httpd.conf file with an editor and search for the following directive:

MaxSpareServers

Set the directive to a value of 10 or less, add the directive if it does not exist.

It is recommended that the directive be explicitly set to prevent unexpected results if the defaults change with updated software.

See Also

https://iasecontent.disa.mil/stigs/zip/U_Apache_2-2_UNIX_V1R11_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-5(2), CAT|III, Rule-ID|SV-36648r2_rule, STIG-ID|WA000-WWA030_A22, Vuln-ID|V-13729

Plugin: Unix

Control ID: 678d5f3dd0777054503052fd3a3eafa832969ed6ac9274039435f484daf6b897