Apache web-server uses all free RAM and becomes unresponsive. The following error message appears in its error logfile:
on CentOS/RHEL-based distributions:
on Debian/Ubuntu-based distributions:
[mpm_prefork:error] [pid 12526] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process
Too high values are set for the Apache
ServerLimit directives, due to which all RAM is being used by Apache and new processes cannot be spawned.
Decrease the values of the
Note: The default value of
ServerLimit is 256.