- Plesk 12.5 for Linux
- Plesk Onyx for Linux
After execution of Plesk daily maintenance task, Apache is restarted and then stops responding. The following error can be found in
[mpm_prefork:error] [pid 14998] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
MaxRequestWorkers limit has been reached.
- As a first step make sure that the workarounds from the following articles has been applied:
If the issue still persists continue with tuning of Apache web server as below
ServerLimitlimits in the corresponding file which depends on Multi-Processing Module. For example:
For Debian-based OS:
# grep Worker /etc/apache2/mods-enabled/mpm_prefork.conf
For RHEL-based OS:
# cat /etc/httpd/conf.modules.d/01-cgi.conf
LoadModule cgi_module modules/mod_cgi.so
Note: for each Multi-Processing Module, values will be different.
- Restart Apache service.
Note: Be careful, too high values of
ServerLimitdirectives may cause Apache to become unresponsive.