• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question Apache Tuning settings - ServerLimit

Sofie76

New Pleskian
Hello,

I use apache with nginx and php-fpm. My apache has gone away a few times and I found in the apache log this error:

server reached MaxRequestWorkers setting

I checked everything from here:

Apache web server goes down: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

and come to the conclusion:

I have to increase the MaxRequestWorkers in:

mpm_prefork.conf

This was the file by default:

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfModule>


No I changed it to:


<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 250
MaxConnectionsPerChild 0
</IfModule>




I read alot about apache tuning and I have two questions:

1, On every plesk tuning page on the web is something about "ServerLimit". Do I have to set "ServerLimit" in my mpm_prefor.conf??? or is there a default value in any other file?

2, MaxConnectionsPerChild = 0 - should I increase this value? I have 16GB RAM and 6 Cores. On the Server are 2 Forums with arround 200.000 PI´s daily.

Thank you very much
 
Back
Top