Do you think 2GB dedi server can handle 100 users online?

Status
Not open for further replies.

VIP

Active Member
1,081
2010
543
0
Few reading from members interest me:
I highly doubt 3600 people are online, or your stat counter goes back a day or two, just 500 users online would eat through 4-8gb of ram alone, and your saying 6x that amount.

Depends what queries they are running.
I have seen 450 users online on an IPB board and using less than 1GB RAM

I have a kimsufi dedi with 2GB RAM but sometimes I feel site loading is slow especially when user online >80 users.

does it depends on CPU spec too (dual/quad core)?:-?
 
14 comments
Certainly it can handle 100 users, you will have to spend some time researching and optimising your configs for the best performance.

If you are using apache try looking at nginx or lighttpd!
 
I'm using Centos 5 with Kloxo. I can switch web server to apache or lighttpd but don't know about nginx. I'll research more about it later.

Offtopic: @nano.: don't you want to take back your BoxSlots and manage it again? as you might already know ServerBoost take it over.
 
i had a vps with 512 mb ram, it was able to handle nearly 200 online users (wordpress site) with caching, apc ...

About the loading time: something is not right in your setup. First, i would drop apache or use nginx as reverse proxy (lighttpd is good alternative too). You should cache your site as much as possible and use gzip. Serving static files can be really fast. Also you should use memcache, because you have plenty memory to serve cache from memory, which speeds up things as well, lowering disk I/O also CPU... There are just plenty of things that can couse trouble, you have to debug your site. If it slows down after a number of concurrent connections (80 users) then it can be: too much mysql query, too big files (images, fonts) on site which hosted on server, badly written code...
On a 2gb server i can't even say you need caching with 100 user online. That should not be a problem (although still a good thing to use)

PS:
Just read that you have kloxo, so few kloxo-specific thing:
- switch to lighttpd (although be aware that you have to add rewrite rules for your lighttpd config file - kloxo creates one config file in lighttpd folder with something like "your site name.conf" - you can find tutorials with google to add rewrite rules)
- enable Xcache (you can enable it from kloxo)

google: how to optimize lighttpd. how to set up xcache centos.
 
Last edited:
Dude if your site is a forum and having a big database, then the issue is with disk I/O. Most people just look on RAM and CPU. Then don't even consider about disk speeds
 
i agree with the person saying about 384mb..if you know your stuff,a 512mb ram server can handle upwards of 500people online and active.i had my guy do it for me on the old kimsufi range.
 
Dude if your site is a forum and having a big database, then the issue is with disk I/O. Most people just look on RAM and CPU. Then don't even consider about disk speeds

And if you know how to cache your database that would help speed it up cause ram is faster than disk.
 
If we are talking a large streaming or video content yes. But most browsers cache pages in advance and if it is text and small icons like in warez linking sites or most normal applications the problem would be the mysql load as members love to do huge searches over and over again. So tuning applications to return smaller amounts of data and stop delivering over a hundred records will ease that along with some fine tuning of indices and selects.
 
Status
Not open for further replies.
Back
Top