Results 1 to 8 of 8
-
08-28-2011, 06:26 PM #1Web Hosting Guru
- Join Date
- Jun 2011
- Posts
- 278
Av. Ram usage (Apache / MySQL / PHP / virtualmin )
Hello,
I want to know how much traffic can a server handle
Let's say i have a VPS openvz
And its ram is "x" MB
Running multiple websites on virtualmin/php/mysql
How much traffic can RAM handle ?? if pages usually have 3 small mysql queries and are around 150KB maximum
Just tell me your own experience or tell me X Ram can handle Y Traffic
----
Thanks in advance
-
08-28-2011, 06:55 PM #2Aspiring Evangelist
- Join Date
- Apr 2010
- Location
- North Carolina
- Posts
- 442
My forum gets over 130,000 pageviews a month and runs on a 128mb VPS, but I don't use apache.
-
08-28-2011, 09:00 PM #3Web Hosting Guru
- Join Date
- Jun 2011
- Posts
- 278
Thank you =)
Please if anyone is running apache can answer
-
08-28-2011, 09:45 PM #4Web Hosting Master
- Join Date
- Jan 2011
- Location
- Canada
- Posts
- 938
Use Siege from another machine to test it out because it'll vary for everybody depending on their application and PHP load. Think of it this way, as long as a PHP request is active, that blocks one of Apache's request handler. The only way it can deal with it is to spawn another child process, which takes memory. At some point, your concurrent users will push the memory usage beyond the OpenVZ safe region, and things will start to fail. That's why it's app dependent.
-
08-28-2011, 10:13 PM #5Aspiring Evangelist
- Join Date
- Mar 2011
- Posts
- 394
I think the answer to this question can only be found in a real life scenario. Go in for a scalable solution so you can start small and increase as per your needs.
Good luck
-
08-28-2011, 10:17 PM #6Web Hosting Guru
- Join Date
- Jun 2011
- Posts
- 278
-
08-28-2011, 10:32 PM #7Aspiring Evangelist
- Join Date
- Mar 2011
- Posts
- 394
Well I have about 20 clients on the virtualmin + apache + centos setup & I love it.
Virtualmin, fresh & updated takes about 300mb. You can tune httpd & my.cnf + disable processes you don't want to bring this down to about 200-220. A 512 mb ram vps can handle well over 1000s of visitors a day.
Point to consider is concurrent connections to httpd & mysql which IMO, depending on your code, could range from 100-200.
Hope this helps
-
08-29-2011, 02:56 AM #8Disabled
- Join Date
- Aug 2011
- Location
- London
- Posts
- 172
hello,
a typical prefork apache process will take between 5 to 15MB per process. For low mem VPS there are better alternatives, though, like nginx, for example.
cheers -
oz.
Similar Threads
-
Wordpress + PHP + MySQL + Apache VPS Configuration, 512MB RAM
By aaronsold in forum VPS TutorialsReplies: 14Last Post: 12-13-2012, 07:11 PM -
Apache + PHP-fcgi RAM usage increasing
By Dregond Rahl in forum Hosting Security and TechnologyReplies: 16Last Post: 11-30-2011, 07:29 AM -
Is this normal? Apache and Mysql high memory usage
By carlatf in forum Hosting Security and TechnologyReplies: 14Last Post: 06-29-2010, 10:28 PM -
webmin / Virtualmin memory usage
By juga in forum Hosting Security and TechnologyReplies: 13Last Post: 09-22-2009, 05:29 PM -
Lighttpd - 95% Cpu Usage. Apache - All Ram Used, Swap Comes In
By Greedisgood in forum Hosting Security and TechnologyReplies: 18Last Post: 10-14-2007, 12:34 PM