tuning apache

https://rmohan.com/?p=1150

 

The changes will require the following changes in the HTTP.cong (/etc/httpd/conf/httpd.conf)

—-
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 2

<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 20
ServerLimit 1000
MaxClients 1000
MaxRequestsPerChild 4000
</IfModule>

<IfModule worker.c>
StartServers 10
MaxClients 1000
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 1000
</IfModule>