Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-06-2012, 12:34 AM   #1
Registered: May 2008
Distribution: ubuntu debian knoppix centos puppy
Posts: 31
Blog Entries: 2

Rep: Reputation: 1
When testing VPS server with Siege is 50 concurrent users good enough?

This question is not technical, rather about what thumbrules to use and what experiences are common.

Using the siege testing tool, my e-commerce site currently peaks at 45-50 concurrent users, after which performance starts going down, but remains available, although slow.

It is a LAMP application with PHP in CGI mode and the server is a VPS Xeon with 4GB RAM alloted to my site. I know CGI restricts performance, however, I have read a lot of warnings about using PHP as an Apache Module for stability - one thread error taking down the server, it seems.

The application itself is being tuned but I dont see a 100-500% performance boost coming from that tweaking without a major overhaul.

I've tweaked MySQL parameters to get the best possible results, run and taken its suggestions, rewritten some queries and so on.

Is there a comparative listing of what backend can sustain what kind of concurrent users - VPS/Xeon/4G -- 50 users, Dedicated/4G -- 1000 users, and so on.

What basic changes could be done to handle more concurrent users?

Any tools that give more insight into this scaling-up activity?

I do Google around a lot but I also want some anecdotes and experience if possible.

If you could just point me to a site or group where such discussions for beginners are common that too would be great.

Thanks in advance.
Old 03-06-2012, 05:38 AM   #2
Registered: Dec 2004
Posts: 83

Rep: Reputation: 8
When you are testing load on your site are you accurately simulating a user? That's probably the hardest part because unless you are what ever metrics you're using as a basing won't matter if you later find a bottleneck that your load test didn't pickup due to it not simulating traffic correctly.

How are you running apache? prefork or worker? See

In a lot of cases changing apache to use the worker MPM will make the biggest difference, the next thing I'd look at are things such as your database connection pools. Are they enough? Do you need more? Are they being closed in a timely fashion etc.

Hope this helps.
1 members found this post helpful.


concurrent connections, hosting, load, serverhow, virtual

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Concurrent users elfoozo Linux - Server 2 02-11-2011 01:46 PM
How to improve concurrent users in apache.. Dinsceg Linux - Server 5 09-03-2010 05:01 AM
Concurrent Users Sizing gerrard8 Linux - General 1 01-13-2006 08:51 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration