Report this

What is the reason for this report?

Optimaized settings for Apache.

Posted on August 1, 2013

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: <IfModule prefork.c> StartServers 4 MinSpareServers 5 MaxSpareServers 10 ServerLimit 50 MaxClients 25 MaxRequestsPerChild 1000 </IfModule>

<IfModule worker.c> StartServers 4 MaxClients 25 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 1000 </IfModule>

Is it good for 1 Gb or very low settings for high traffic. Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

For a high-traffic site, you’re better served by Nginx w/caching.

First is IfModule prefork.c <br>Second is IfModule worker.c

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.