• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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