Skip to main content

Posts

Apache Optimization

Apache Optimization Apache optimization  Apache Optimization Technique The default Apache settings that cPanel sets upon install are definitely something that can be improved on. With a few small tweaks, the efficiency with which Apache runs with can be greatly improved. To start with, lets go ahead and open the Apache configuration file: #vi /usr/local/apache/conf/httpd.conf This list is a composite of the settings we will be reviewing from fresh install on a cPanel server: Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 Timeout 300  Usually this value doesn’t require editing and a default of 300  is sufficient. Lowering the ‘Timeout’ value will cause a long running script to terminate earlier than expected. KeepAlive KeepAlive On This setting should be “On” unless the server is getting requests from hundre...