HTTP/APACHE Optimization
HTTP/APACHE Optimization / service httpd restart :
BACKUP:
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.backup
Use Pico (pico /usr/local/apache/conf/httpd.conf) or Download via WinSCP for editing,
Change the following settings in your httpd.conf…
Set “Timeout” value to “Timeout 60″
Set “KeepAlive” to “KeepAlive on”
Set “KeepAliveTimeout” to “KeepAliveTimeout 3″
Set “MinSpareServers” to “MinSpareServers 16″
Set “MaxSpareServers” to “MaxSpareServers 32″
Set “MaxRequestsPerChild” to “MaxRequestsPerChild 256″
Set “HostnameLookups” to “HostnameLookups Off”
Note:
These settings will not work under all server environments its recommended that you tweak around with the numbers until your web server is running 100% please read Apache documentation before changing any settings so you know what you are changing http://httpd.apache.org/docs/
To Save: CTRL-X
Restart Service: “service httpd restart” or “/etc/rc.d/init.d/httpd restart”