Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Apr 14, 2011 1:42 am 
Offline
Senior Newbie

Joined: Fri Apr 08, 2011 4:46 pm
Posts: 12
I'm planning on starting a forum using vbulletin and hosting it on my linode, which is presently a 512.

Right now it has exactly one user: me :-)

But of course I hope it will grow.

Unfortunately, vbulletin requires apache and does not support nginx.

I'm assuming that with a few users, a 512 is enough. But does anyone have any info on what to expect for future growth?

i.e.,

a forum with X concurrent users on a linode of size X...
a forum with Y concurrent users on a linode of size Y...

I'd be curious to hear people's experiences.


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 6:29 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
I don't use vbulletin but I doubt it "requires" apache. I imagine it has rewrite rules that can be translated to nginx.

If you do use apache set your maxclients to around 10, use the mysql small my.cnf, if you're using some form of fcgi php handler set the max children to around 4.

You'll be able to handle a lot of "concurrent" users with that.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 10:20 am 
Offline
Senior Member

Joined: Wed Jul 21, 2010 8:04 pm
Posts: 119
Quote:
use the mysql small my.cnf

Anybody know where these files are stored on a Ubuntu 10.04 box?


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 10:59 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
/usr/share/doc/mysql-server-5.1/examples/my-small.cnf

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 11:30 am 
Offline
Senior Member

Joined: Wed Jul 21, 2010 8:04 pm
Posts: 119
And it's perfectly safe to replace the contents of my.cnf with what's inside my-small.cnf?


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 11:38 am 
Offline
Senior Newbie

Joined: Fri Apr 08, 2011 4:46 pm
Posts: 12
jzimmerlin wrote:
And it's perfectly safe to replace the contents of my.cnf with what's inside my-small.cnf?


BTW, it depends on what OS you're using. In debian-land, it's more normal to drop whataver .cnf you want to use into /etc/mysql/conf.d


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 11:40 am 
Offline
Senior Newbie

Joined: Fri Apr 08, 2011 4:46 pm
Posts: 12
obs wrote:
I don't use vbulletin but I doubt it "requires" apache. I imagine it has rewrite rules that can be translated to nginx.


They state they require apache. Which leaves you in the classic situation of "I have a problem" - "well, we won't help you because you're not running a supported config".

I'm also looking at IP.Boards :-)

Quote:
If you do use apache set your maxclients to around 10, use the mysql small my.cnf, if you're using some form of fcgi php handler set the max children to around 4.


Thanks, that's very useful.


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 11:51 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Forums are ebil! :twisted:

Anyway if you're destined to use apache, one thing to consider is using fcgi for php and switching to mpm_worker, it'll save you ram.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 12:55 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
I run phpBB3 using Apache. I used mpm_prefork for a while just fine. You should be able to handle in the 25 range for MaxClients. I switched to mpm_worker/fcgi last year and that's worked great. I've had as many as 300 logged in users according to it (think that means activity in last 5 mins).

How big is the current board or is this something new?


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 1:00 pm 
Offline
Senior Newbie

Joined: Fri Apr 08, 2011 4:46 pm
Posts: 12
glg wrote:
I run phpBB3 using Apache. I used mpm_prefork for a while just fine. You should be able to handle in the 25 range for MaxClients. I switched to mpm_worker/fcgi last year and that's worked great. I've had as many as 300 logged in users according to it (think that means activity in last 5 mins).

How big is the current board or is this something new?


Brand new.

I know how to run Apache. I have run nginx successfully. I haven't run litespeed, though it seems to have a very good reputation. I haven't looked at lighttp.


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 1:48 pm 
Offline
Senior Newbie

Joined: Tue Oct 27, 2009 9:26 pm
Posts: 15
Currently running vBulletin 3.x on Litespeed. I have a 4GB node for database, 1GB for web app server.

~2000 concurrent users during the day.
~3.5 million posts.

It works quite nicely... for now using Apache would be no problem for you, but unless you have mountains of RAM to use, I find Apache just doesn't scale as well as some other options (Litespeed included).

The difficulty with vB, I think, is that it just keeps growing and growing... it was in December that I upped the DB from 2GB to 4GB after tweaking things to the max.


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 1:50 pm 
Offline
Senior Newbie

Joined: Fri Apr 08, 2011 4:46 pm
Posts: 12
dataiv wrote:
Currently running vBulletin 3.x on Litespeed. I have a 4GB node for database, 1GB for web app server.

~2000 concurrent users during the day.
~3.5 million posts.

It works quite nicely... for now using Apache would be no problem for you, but unless you have mountains of RAM to use, I find Apache just doesn't scale as well as some other options (Litespeed included).

The difficulty with vB, I think, is that it just keeps growing and growing... it was in December that I upped the DB from 2GB to 4GB after tweaking things to the max.


Thanks very much for this info! That is very helpful. I haven't decided vb vs IP.Boards yet but that's very helpful for sizing.

If you don't mind me asking, how much bandwidth a month do you serve with that?


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 1:56 pm 
Offline
Senior Newbie

Joined: Tue Oct 27, 2009 9:26 pm
Posts: 15
Around one terabyte. Note that I am also very close to the breaking point of needing to have more than one web app server, but I've been trying to avoid that as long as possible.


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 2:14 pm 
Offline
Senior Newbie

Joined: Tue Oct 27, 2009 9:26 pm
Posts: 15
Here are some samples of 60 second graphs (this is from around the peak daily load).

PHP processing requests (these are litespeed fcgi):

Image

Traffic output:

Image

Total requests into the server:

Image

The first and last one, if you compare, give you an idea of the Requests per Second that require PHP processing vs the ones that don't. So this is why in my experience, vBulletin with Apache where every handler is running PHP is a huge use of resources and likely unnecessary.


Top
   
 Post subject:
PostPosted: Fri Apr 15, 2011 11:03 am 
Offline
Senior Member

Joined: Sun Sep 05, 2010 8:55 pm
Posts: 97
I run a vBulletin 3.7.x forum with about 300+ simultaneous users.

It's currently on a Linode 2048.

I'd been having some trouble recently, but, I was a retard:

a) didn't have mod_expires running (I thought it was, but, no....)
b) I let some vBulletin threads (discussions) get out of hand, if you have a thread with over 2000+ posts, it can hurt the server.

I run prefork (not sure if vBulletin plays well with the mpm-worker implementation of PHP).

We're going to migrate to 4.1 soon, after I do that, I'm going to investigate either using nginx for everything, or (for sure) at least for the front end to serve up the static content.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group