Question

Optimaized settings for Apache.

Posted August 1, 2013 3.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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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.
Submit an Answer