Hello, I have read on this thread showthread.php?t=23044 (sorry, I cannot post links) on forums.digitalpoint.com, that the following setting would be good enough to optimize the Apache server: Timeout 50 KeepAlive On MaxKeepAliveRequests 120 KeepAliveTimeout 10 MinSpareServers 10 MaxSpareServers 20 StartServers 16 MaxClients 125 MaxRequestsPerChild 5000 My concern is that the post is from 2005. Are this settings still good enough or you have a better suggestion? Traffic for the webpages sustained by my Apache is in normal limits, I would say in average up to 6000 views / day (page views, not unique visitors). Thank you!
The settings entirely depends on the traffic your websites receive and does not relate to how old the thread is... With 6000 views per day, I would say increase MaxClients to around 500 or may be 800 and leave the other values as it is. It should do the needful. Post here with the Apache error logs if you run into problems.
Thank you! I will try your settings and return here with questions in case that something is going wrong! BTW, at which memory consumption (aprox.) I should expect with 500 clients? Cheers!
Apache optimization varies with respect to the usage and fine tuning needs to be done. what website you are hosting?
Choosing the right settings also depends on your server hardware. For example, if you allow too many concurrent Apache processes, you might run out of memory in case of a traffic spike. So in order to give you recommendations, you should let us know about your server.
MaxRequestsPerChild 400 You can try lowing this value a bit more to test if it helps to reclaim needed memory. But you will be rolling the bulder uphill with apache. The best advise would be to move away from using Plesk - Apache is very bloated for file serving. There is quite a few better systems that can do serving of files very much with lower overheads.