Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Close Search during high server load Details »»
Close Search during high server load
Version: 1.0.1, by Brad Brad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 2 Rating:
Released: 06-06-2005 Last Update: 07-22-2005 Installs: 57
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

With this plug-in installed you can disable your search engine when the server load gets to high. This plug-in add's a new vBoption in the Sever Settings page where you can define your server load.

This plug-in acts exactly like the regular server load limiter but only works on search.php.

Version History

Current Version: 1.0.1

Added installer, no other changes between this and 1.0.0. If you already have 1.0.0 installed there is no reason to upgrade!

Past Versions:

1.0.0:

Released Code to public

Show Your Support

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

Comments
  #42  
Old 12-18-2006, 03:46 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, many people asked the question but I never saw any answer yet.

What value do you put in the server load settings? Let say I just want to test if it's working, what would be the value for that and what would be the regular value to use in overload charge?
Reply With Quote
  #43  
Old 12-18-2006, 04:47 PM
Indy Indy is offline
 
Join Date: Jun 2002
Location: Indianapolis, IN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I did was to enter a value less than the actual server load at the time in my dev forum. My server was running about .8 so I typed in .2 Then I tried to do a search in my test forum and was given the error message. Since I had the admin screen opened in another window, I would type in a setting higher than actual load and I was able to search. Once I determined everything was working properly, I installed it in my live forums.

In my live forums I have high NIX load set at 5 and disable searches set at 2.0
Reply With Quote
  #44  
Old 12-18-2006, 06:08 PM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the tip. Just one more question, where can you see the actual server load? You said you saw yours at .8, how do you see that, do you mean the value in our cpanel, plesk or whatever...?
Reply With Quote
  #45  
Old 12-18-2006, 07:28 PM
Indy Indy is offline
 
Join Date: Jun 2002
Location: Indianapolis, IN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just Telnet in and do a "top" command. If you can't do this because of being on a shared server, etc. then I suppose the only way would be to see what a snapshot of the current load is when you first load your admincp.
Reply With Quote
  #46  
Old 02-24-2007, 08:16 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made the changes Indy suggested and it did work with 3.6.4 (with some minor server tweaks).

WARNING: At first I thought this wasn't working but it turns out you need to allow access to the /proc directory with php. If you have" php open_basedir Security" enabled, you will need to disable it for your forum/domain in order to get this to work. It will probably only work if you own your own server as hosts may not allow this. Disabling this security protection for your domain is a slight security risk if your domain gets hacked or is vulnerable. There should be another way to have a mod like this that doesn't need access to /proc.

-vissa
Reply With Quote
  #47  
Old 07-23-2007, 04:41 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is a shame this is not supported/default/extended apart from that, it is very nice. thanks.
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:24 AM.


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.07502 seconds
  • Memory Usage 2,254KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete