The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Editing Server Load "Triggers"
I'm trying to figure out how to edit the server load triggers in Vbulletin 3.6.3. I've got the server load bar hack installed and when my server load hits approx 65%, servertoobusy kicks in and displays the overloaded server msg allowing only registered users to use the site along with staff members. What I would like to do is have servertoobusy kick in at around 45%-50% of server load and I am not finding how to do this.
In global.php, i have this: Code:
// start server too busy $servertoobusy = false; if ($vbulletin->options['loadlimit'] > 0 AND PHP_OS == 'Linux' AND @file_exists('/proc/loadavg') AND $filestuff = @file_get_contents('/proc/loadavg')) { $loadavg = explode(' ', $filestuff); if (trim($loadavg[0]) > $vbulletin->options['loadlimit']) { $servertoobusy = true; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|