• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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