![]() |
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; |
All times are GMT. The time now is 10:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|