vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Exempting Mods and higher from server load messages (https://vborg.vbsupport.ru/showthread.php?t=56629)

theartisan 08-30-2003 07:50 PM

Exempting Mods and higher from server load messages
 
Hi there!
I've searched for this one and didn't find anything.
We're on a pretty high-load server, and have set the load limit at 6.75. We have already applied some optimizations in an attempt to avoid this altogether, we're on a shared server so the load isn't entirely our fault :P

Our staff needs to continue to do their staff stuff regardless of server traffic conniptions, but are stuck sitting and waiting for the load to decrease so they can get back to work.

What we could really use is a hack that will recognize logged in mods, supermods and admins and exempt them from getting shut out because of a spike through the set server load limit.

Can anyone help please?
Thanks a ton!

Gary King 08-30-2003 10:55 PM

I'll release this in a moment.

Gary King 08-30-2003 11:03 PM

Here you go ;)

https://vborg.vbsupport.ru/showthrea...threadid=56630

theartisan 09-02-2003 02:23 AM

Wow, that was fast! Thank you so much Gary!
I will install this right away!

theartisan 09-09-2003 02:16 AM

Thanks again Gary - worked like a charm!

theartisan 09-14-2003 04:32 AM

Hey Gary - quick question...
This seems to work sporadically now… Every so often I personally am not exempted from the server load message, and some of our mods are having the same problem?

Caches have all been cleared, and global.php has not been tampered with since the hack was applied.
Any ideas what the problem could be?

Gary King 09-14-2003 12:01 PM

Quote:

Originally Posted by theartisan
Hey Gary - quick question...
This seems to work sporadically now? Every so often I personally am not exempted from the server load message, and some of our mods are having the same problem?
Caches have all been cleared, and global.php has not been tampered with since the hack was applied.
Any ideas what the problem could be?

You should next time reply to this hack by posting in the hack's support thread ;)

But anyways, about your situation: I can't really think of any reason that something like this would happen, because my code covers everywhere where you'd be able to get the server is busy error message.

The only explanation I can think of is that you/your staff isn't logged in when they got those error messages.


All times are GMT. The time now is 05:59 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.02063 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete