Optimaized settings for Apache.

August 1, 2013 2.3k views
Hello. I have 1 Gb ram VPS and want to optimaize my Apache settings to run XenForo forum with high traffic to the site. In httpd.conf i have this: StartServers 4 MinSpareServers 5 MaxSpareServers 10 ServerLimit 50 MaxClients 25 MaxRequestsPerChild 1000 StartServers 4 MaxClients 25 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 1000 Is it good for 1 Gb or very low settings for high traffic. Thanks!
3 Answers
First is IfModule prefork.c
Second is IfModule worker.c
For a high-traffic site, you're better served by Nginx w/caching.
It really depends on your app (Xenforo) and how many plugins/themes/etc. you have installed. I suggest starting with a 1GB droplet and scaling up as needed. You can use http://blitz.io for benchmarking.
Have another answer? Share your knowledge.