![]() |
But it shouldn't be going into negative numbers should it? And I also notice when they get really high, the page takes forever to load.
|
Quote:
i seen that too i think its vbulletin itself.... cause mine is doing the same thing every so many pages loads too it never really reads the same... |
Quote:
Once we have that specific value, we deduct from it the script start time, in order to obtain the the PHP execution time. Let's don't count the DB connection time, first. In init.php, find this line: Code:
$db->mstimer_stop(); Code:
$db->mstimer_stop(false); One more time, vBMicroStats reads ONLY what is happening behind the script, it does not affect in anyway the vBulletin functionment. Make me a favor. Disable vBMicroStats (code, etc.), enable the debug mode and look at the explained pages, while refreshing the page several times, the same way you do now with vBMicroStats enabled. Post the results here. On my forums, they are almost identical in both cases. However, we need to find out why we get SQL spikes once in a while. With SQL is simple, you cannot have SOMETIMES certain results. Is either NEVER or ALL THE TIME. |
Great mod!
But, how come the server avarages aren't showing up? I have it setup correctly in the adminCP. Also, on vb3.0.x it always did show. (to clearify, all other functions seem to be working allright) |
You used my vBMicroStats for VB 3.0? It should show, it's the same code.
Let me know... maybe you changed the server software since then? I will post a fix once I have more info from you. |
Quote:
using 3.5.4 - didnt use any previous hacks |
In vBMicroStats Global Hook, find:
Code:
if ($vbulletin->options['vb_mstats_server'] AND $stats = @exec('uptime 2>&1') AND trim($stats) != '' AND preg_match("#: ([\d.,]+),?\s+([\d.,]+),?\s+([\d.,]+)$#", $stats, $regs)) Code:
if ($vbulletin->options['vb_mstats_server']) |
not for me
here is what my output is with ALL options set to yes Page generated in 0.44428802 seconds (91.86% PHP - 8.14% MySQL) with 7 queries 3,737.15KB Used | DEBUG Mode OFF | GZIP ON (level 1) | NO Uncached Templates |
Raptor, if I understand correctly, you see the server loads into your Admin CP, but not into every page?
It just doesn't make sense. It was working perfectly for everyone, all of the sudden we have 2 members letting me know the server loads are not showing. The original version should work perfectly, no code mod needed. It's working perfectly on my server. Anyone else have the server loads showing with the latest version? |
Possibly not ticked in the admincp to show?
|
All times are GMT. The time now is 02:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|