Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-01-2000 Last Update: Never Installs: 0
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-01-2000, 04:03 AM
Guest
 
Posts: n/a
Default

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/showt...?threadid=2774 ?

then i'd pop on over to the server config forum
http://www.vbulletin.com/forum/forum...php?forumid=14
and see if Chris Schreiber can help you... he helped me and other vb owners solve these kind of problems
Reply With Quote
  #3  
Old 09-01-2000, 04:28 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #4  
Old 09-01-2000, 04:44 AM
Guest
 
Posts: n/a
Default

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/forum...php?forumid=14 and the other Chris could help you tweak your server
Reply With Quote
  #5  
Old 09-01-2000, 04:50 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #6  
Old 09-01-2000, 04:56 AM
Guest
 
Posts: n/a
Default

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

[Edited by eva2000 on 09-01-2000 at 02:03 AM]
Reply With Quote
  #7  
Old 09-08-2001, 01:35 PM
Mac
Guest
 
Posts: n/a
Default

Quote:
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

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
Reply With Quote
  #8  
Old 09-10-2001, 03:58 AM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04577 seconds
  • Memory Usage 2,252KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete