Hi,
I am running a CentOS 7 Sentora installation and I cannot find the StartServers and SpareServers configuration for Apache.
I have looked in /etc/httpd/conf/httpd.conf
Am I looking in the wrong place? It is no where in that file.
Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
On CentOS, the prefork module is loaded in the file /etc/httpd/conf.modules.d/00-mpm.conf By default, there isn’t an specific configuration setup. You can add yours to /etc/httpd/conf/httpd.conf or create an additional config file in /etc/httpd/conf.d/
If you want to use the Ubuntu defaults, it would be:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfModule>
On Ubuntu, those are set in /etc/apache2/mods-available/mpm_prefork.conf
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.