Hello, I have OpenVZ VPS with CentOS and DirectAdmin and i host few websites on it, i want to reduce cpu load that apache consume, what would you suggest me to do ?? thanks
Hello You didn't specify your server specs, also you didn't tell us what kind of site you are hosting. If they can support caching then you can install some sort of caching on your server in order to decrease the cpu load. First of all someone should take a look on your server to see how is performing right now . If you have root access can you give us some output from this command ? free -m w ( here I only want to see the load average output )
Or get rid of Apache and install Nginx Or provide us with more information about your environment . In other cases - read tutorials for more information
Optimize apache by adding some below entries in httpd.conf file : Timeout 90 KeepAlive On MaxKeepAliveRequests 200 KeepAliveTimeout 5 StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 1200 MaxClients 1200 Save and exit and restart apache service