vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vb 4, very slow in query global.php / forum.php (https://vborg.vbsupport.ru/showthread.php?t=290807)

gx123 11-16-2012 10:54 AM

vb 4, very slow in query global.php / forum.php
 
Hello,
the vbulletin forum at http://www.gamexeon.com/forum

is very slow for some user logged in from some location. It will take long time to finish 17 queries, about 5 to 10 secs.

the slowness is on global.php (shown by debug mode) or forum.php (shown by chrome)

here the screenshot:

http://www.gamexeon.com/wp-content/u...vbulldebug.png
http://www.gamexeon.com/wp-content/u...erformance.jpg

surprisingly, if i open the forum in Incognito Window, the query will finish in just under 1 sec. awesomely fast.

some user surprisingly also able to open surprisingly fast even while logged in.

more surprisingly, the frontpage (http://www.gamexeon.com/forum) will randomly goes so fast. Page generation under 1 sec. But the showthred (example http://www.gamexeon.com/forum/gamexe...12-30-wib.html) will always slow.

any info how to fix this issue?

thanks

Lynne 11-16-2012 04:29 PM

Try disabling your modifications/plugins and see if you still have this problem and see how much the page generation goes down.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


gx123 11-21-2012 05:47 AM

the problem its that... thats weird things happend if i disable things.

if i disable all using the config.php method, the forum back to fast.

the same when i disable then re-enable product on admin panel, the forum is run fast. then the next day, the same thing will happend again.

i need to disable and enable whatever plugin. Its a weird solution.
if i did not do that, the forum crawl like a snail :D

Lynne 11-21-2012 04:12 PM

Disable them all and leave the forum like that for a day. See if things stay fast. Then enable ONE product (a non-query intensive one). Leave the forum like that for a day. Keep adding one product a day and start with the non-query intensive ones. Then at the end, add the biggies like Experience, or Galleries, or Chatboxes, or Arcades.


All times are GMT. The time now is 02:31 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.01061 seconds
  • Memory Usage 1,718KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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