View Full Version : Limiting number of users
Believe it or not, due to server restraints, I need a hack to limit the number of users who can access vB at any one time.
Let's say I limit it to 30 users. When the 31st member attempts to login, it would say, "sorry, full at this time" or something along those lines. Could still read, but just not post.
Or maybe, if we catch it at the index, then I could really clean up the processor load and just say the very first check would be, how many people, if 30 show sorry message.
Any help????
Chris
hey ya Chris remember me ? Australian Star Wars Prequels guy http://theprequels.net ?
well first off have you done the showthread.php optimisation code hack at http://www.vbulletin.com/forum/showthread.php?threadid=2774 ?
then i'd pop on over to the server config forum
http://www.vbulletin.com/forum/forumdisplay.php?forumid=14
and see if Chris Schreiber can help you... he helped me and other vb owners solve these kind of problems
Hey... yea I remember.
After looking at the code improvement, I think we have already did that portion.
What I'm looking for really is a way to limit the number of people who even login. If I have 60 people on the forum at any one time, depending on how many processes they call, the server just goes crazy. If I could cut that in half and assure that only 30 people are on, maybe that will at least moderate the traffic flow. Maybe it's 25 or 20 ... not sure, but I need a way to specific the number and the rest get put on hold until someone logs off.
Chris
what kind of server specs do you have ? cause 30 simultaneous users shouldn't be a problem ... my server handles that and i only have a AMD K/2 500/128mb ram running the forum and 10 other sites.
you should post this server problem here http://www.vbulletin.com/forum/forumdisplay.php?forumid=14 and the other Chris could help you tweak your server
Well it's not about the server - I know the server as is can handle it.
With all of the traffic that we have now, it just recently has become a problem.
We have tried everything, and nothing is working... our only solution is to get a second server to support the load we are pushing. In the mean time, I was hoping to find a way to tweak the board so that we can maintain the traffic. Right now, with the forum turned off, the server flies - turn the server on, people login, and load goes off the chart.
If moderating the number of users who login is not an option, I'm open to other suggestions and alternatives.
Chris
well this ISN'T (i mean) my area of expertise... nor is anything really :( ... but maybe a dedicated server for the mysql database ?
what about upgrading to php4 and zend optimiser... ? check the forum i mentioned for that kind of stuff cause i don't know much about it...
i see you also have taken on fellow aussie Jai's site insanehardware.com as well :D
[Edited by eva2000 on 09-01-2000 at 02:03 AM]
Originally posted by Chris Hood
What I'm looking for really is a way to limit the number of people who even login...but I need a way to specific the number and the rest get put on hold until someone logs off.
Oh my, this is exect peoblem I have! Well I wasn't sure about the server my webmaster is using. I'm one of the admin there and good in English :p
Because there are so many people registering (over 2000) and log on to the forum (about 150 - 200 users) and the server wasn't able to manage.
~Mac
Wayne Luke
09-10-2001, 03:58 AM
There are load limiting options built into the control panel of vBulletin.
This thread is over a year old and has no further bearing on the product.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.