vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Microstats (only for admin) - load times, server loads, queries, uncached templates! (https://vborg.vbsupport.ru/showthread.php?t=59700)

Littlebit 07-27-2004 08:50 PM

Quote:

Originally Posted by Erwin
Yes.

thank you Erwin for this, I'm installing :classic:

Ted S 08-01-2004 11:23 PM

For some reason on one of my styles the data line appears twice (identical valeus), other styles load about as quick with the same query count but only show the results once, is this anything to worry about?

lifesourcerec 08-09-2004 01:37 PM

Quote:

Originally Posted by Erwin
It has to be at the bottom because it has to read everything that gets parsed out first to get the correct time and number of queries. You could use a float tag to float it elsewhere I suppose.

Mine list at the top and bottom. How can I get rid of that?

Erwin 08-10-2004 03:30 AM

The data line is based on the </body> tag which should be the last tag before </html> - so if your templates have multiple </body> tags (which is bad coding) then you will get more than 1 occurrence of the info.

BamaTech 11-19-2004 04:08 PM

nice was looking for this

thanks for the effort and the share

dwh 11-22-2004 11:50 PM

I'm fooling around with some hacks on a test server that have lots of queries. Thanks Erwin for helping me determine just how many with this hack (not to mention uncached templates).

I've put them into a HEAP table so that they lessen the load. Do you think a query to a HEAP table is even worth counting? Can it get me in trouble with high load on a production board?

Torqued 12-03-2004 03:29 PM

I installed 1.2 and it gave me the names of the uncached templates, but not server load..

So I installed 1.02 and it gives me server load and the # of uncached templates, but not the names..

should 1.02 be showing me the names as well?

I am on v3.03

Erwin 12-03-2004 11:31 PM

Quote:

Originally Posted by Torqued
I installed 1.2 and it gave me the names of the uncached templates, but not server load..

So I installed 1.02 and it gives me server load and the # of uncached templates, but not the names..

should 1.02 be showing me the names as well?

I am on v3.03

Weird, both should show server loads and uncached template names.

Torqued 12-04-2004 01:23 AM

Quote:

Originally Posted by Erwin
Weird, both should show server loads and uncached template names.

That's what I thought. I just doublechecked and reinstalled the 1.02 code and am not getting the uncached template names. :(

Any ideas?

Torqued 12-04-2004 01:44 AM

Ok. I fixed it... don't know why it works, but it does! LOL

I took the code @ the bottom of 1.2 for evaluating/displaying uncached templates and put that code in the same spot in 1.02 and it works! :)

Now how is it that I fix uncached templates? I'm running vBAdvanced CMPS 1.0.0 and vBLinks 1.0.0. The two uncached templates are related to the links directory.

KW802 12-04-2004 05:38 PM

Any thoughts on if we don't see the server load with either version?

Erwin 12-05-2004 09:53 PM

Quote:

Originally Posted by Torqued
Ok. I fixed it... don't know why it works, but it does! LOL

I took the code @ the bottom of 1.2 for evaluating/displaying uncached templates and put that code in the same spot in 1.02 and it works! :)

Now how is it that I fix uncached templates? I'm running vBAdvanced CMPS 1.0.0 and vBLinks 1.0.0. The two uncached templates are related to the links directory.

Add to the list of cached templates at the top of the PHP file (each uncached templates add 1 unnecessary database query).

Delphiprogrammi 12-17-2004 09:25 PM

nice one i clicked install

MindTrix 12-18-2004 01:37 PM

Dont know if this has been covered, but if you have shoutbox installed it shows up in the bottom of that aswell on the forum homepage. Just thought i would mention, other wise its nice and simple thanks. 23 querys on main page, ouch.

dwh 12-18-2004 03:14 PM

This hack is the bomb if you do any real hacking. Must have.

SaN-DeeP 01-04-2005 09:54 AM

for some reason (i am not sure)
[Server Loads: 0.57 0.64 : 0.51] -> this line is not visible on my new server ?
i am on a VPS solution on this server any idea ?

Help is appreciated.
Page generated in 0.23279 seconds with 8 queries -> only this line appears not the server loads.

I have tried using both the code versions mentioned.

Regards,

Rhoads 01-09-2005 03:51 PM

Oke nice hack, but I wonder myself is this bad or good, and wat can I do if it's bad, I run 15 modules

Page generated in 0,85302 seconds with 26 queries (2 queries for uncached templates)
Uncached templates: adv_portal_ (1)
Uncached templates: board_inactive_warning (1)

dwh 01-09-2005 08:32 PM

You need to add those templates at the beginning of the php page that you saw the message on. It will speed up the page and reduce the number of queries to the database which will be good for all of your vb installation.

Erwin 01-09-2005 08:55 PM

Quote:

Originally Posted by dwh
You need to add those templates at the beginning of the php page that you saw the message on. It will speed up the page and reduce the number of queries to the database which will be good for all of your vb installation.

Except for "board_inactive_warning" template - that's when your board is turned off, and there's no need to globally cache it. :)

Rhoads 01-09-2005 09:02 PM

Quote:

Originally Posted by dwh
You need to add those templates at the beginning of the php page that you saw the message on. It will speed up the page and reduce the number of queries to the database which will be good for all of your vb installation.

Oke Thanks for the answer.

But can you explain a litllebit how it's works.
Thnx

SaN-DeeP 01-17-2005 10:01 AM

Quote:

Originally Posted by SaN-DeeP
for some reason (i am not sure)
[Server Loads: 0.57 0.64 : 0.51] -> this line is not visible on my new server ?
i am on a VPS solution on this server any idea ?

Help is appreciated.
Page generated in 0.23279 seconds with 8 queries -> only this line appears not the server loads.

I have tried using both the code versions mentioned.

Regards,

bumping back :) i am still facing this problem.

Regards,

Erwin 01-17-2005 10:39 AM

Quote:

Originally Posted by SaN-DeeP
bumping back :) i am still facing this problem.

Regards,

Talk to your host. It may have been disabled.

SaN-DeeP 01-17-2005 01:28 PM

Quote:

Originally Posted by Erwin
Talk to your host. It may have been disabled.

Another forum running on different VPS is not facing this problems..
Server loads etc., is perfectly visible on there end.

Regards,

Erwin 01-17-2005 09:18 PM

Quote:

Originally Posted by SaN-DeeP
Another forum running on different VPS is not facing this problems..
Server loads etc., is perfectly visible on there end.

Regards,

Then I don't know why it doesn't show up for you to be honest. Do server loads show up in your Admin CP?

smsmasters 01-21-2005 01:05 PM

For instance, in the vbchat room hack, and some other custom pages on my forum, I get double instances of this...

nautiqeman 01-21-2005 05:48 PM

Page generated in 0.31904 seconds with 69 queries (8 queries for uncached templates) [Server Loads: 0.29 » 0.48 : 0.52]

how do I get the Names of the uncached templates to show up?

Erwin 01-21-2005 10:58 PM

Quote:

Originally Posted by nautiqeman
Page generated in 0.31904 seconds with 69 queries (8 queries for uncached templates) [Server Loads: 0.29 ? 0.48 : 0.52]

how do I get the Names of the uncached templates to show up?

If you use the latest version of the hack the names should show up.

nautiqeman 01-21-2005 11:10 PM

I've added in the 1.02 but it's not still not showing up -- any ideas why it might not?

Erwin 01-22-2005 10:53 AM

Use 1.2. 1.02 is not optimized and is to be used only for certain servers.

trackpads 01-22-2005 02:07 PM

Excellent! Thanks and installed!

nautiqeman 01-23-2005 02:29 PM

Quote:

Originally Posted by Erwin
Use 1.2. 1.02 is not optimized and is to be used only for certain servers.

but don't you need proc installed? how do I know if it's installed and if it's not, then how do I get it to install it? thanks

yoyoyoyo 01-23-2005 03:18 PM

I think that every one of erwin's hacks should be part of the next VBulletin official release :)

BamaStangGuy 01-25-2005 04:57 AM

I have red hat enterprise 3 and version 1.2 of this hack doesnt show load averages yet there is a /proc when I type it in via ssh

What should I look for?

Jolten 02-20-2005 11:00 PM

I've got several pages powered by vb that aren't standard vb pages. I've called global.php and the header and footer display properly but the ministats don't show on the non-vb pages. Any clue what I need to include to get them to work out side the forums?

Thanks

SaN-DeeP 02-25-2005 07:46 AM

Quote:

Originally Posted by Erwin
Then I don't know why it doesn't show up for you to be honest. Do server loads show up in your Admin CP?

I upgraded our forums to 3.0.7 from 3.0.3 and version 1.02 displays server loads properly now.. although there is a small problem.

The uncached template name, does not displays in version 1.02

I can get something like this on forums/index.php

Code:

Page generated in 0.43167 seconds with 9 queries (1 queries for uncached templates) [Server Loads: 0.01 ? 0.15 : 0.25]
Note: It does not displays which uncached template :)
Thanks for your time Erwin for this great hack.

Regards,

Guest190829 02-26-2005 03:17 AM

Need this for my test board, good job as always Erwin!

djjeffa 02-26-2005 10:41 PM

great hack I just installed it eazy but the one problem is it messes up my footer on my style.
also is this good or bad for my index? Page generated in 0.20314 seconds with 14 queries [Server Loads: 0.55 » 0.50 : 0.61]
i do have a few hacks

djjeffa 02-28-2005 01:56 AM

Quote:

Originally Posted by djjeffa
great hack I just installed it eazy but the one problem is it messes up my footer on my style.
also is this good or bad for my index? Page generated in 0.20314 seconds with 14 queries [Server Loads: 0.55 ? 0.50 : 0.61]
i do have a few hacks

bump?
is ther a way maybe i could add another bar at the botom or somthing to make this work?

neocorteqz 02-28-2005 08:49 AM

Quote:

Originally Posted by djjeffa
great hack I just installed it eazy but the one problem is it messes up my footer on my style.
also is this good or bad for my index? Page generated in 0.20314 seconds with 14 queries [Server Loads: 0.55 ? 0.50 : 0.61]
i do have a few hacks

That is fine. At least to me that is fine, there are some who are able to cut queries and have below 10 queries on forum home.


Quote:

bump?
is ther a way maybe i could add another bar at the botom or somthing to make this work?
You can maybe just put it under the copyright info? instead of the footer?

djjeffa 02-28-2005 11:06 AM

Quote:

Originally Posted by neocorteqz
You can maybe just put it under the copyright info? instead of the footer?

yea i tried and it didnt work right so i just removed the images


All times are GMT. The time now is 05:24 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
  • Page Generation 0.01550 seconds
  • Memory Usage 1,824KB
  • 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_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete