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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
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.
For a high-traffic site, you’re better served by Nginx w/caching.
First is IfModule prefork.c <br>Second is IfModule worker.c