Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2009, 12:41 PM
kimof911 kimof911 is offline
 
Join Date: Sep 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 135 queries in forum home !!

hi all

i have a serious problem...

my forum home has 135 queries...which lead into problems with my host and asking me to optimize my site...

i dont know what is the problem...i did all optimization solutions...Vb optimize 1.3.2....disabled most of my plug ins and hacks...

so how to know where is the problem...

where is these queries and for what !!??
Reply With Quote
  #2  
Old 12-15-2009, 01:26 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have only heard of these sorts of queries happening under vBulletin 4 (which is known to generate hundreds of queries on a view request); not vBulletin 3. If you are using stock vBulletin 3 without any mods (turn-off your plug-in system completely from the vB Options panel), you should be getting around a dozen queries a page or less.
Reply With Quote
  #3  
Old 12-15-2009, 01:31 PM
kimof911 kimof911 is offline
 
Join Date: Sep 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

u r right Kaelon...

i have disabled all plug-ins and got 8 queries in forumhome...

there must be a bad-programmed plugin that leads into these crazy queries....

i am trying now to check for every plugin to discover which is the problem-maker
Reply With Quote
  #4  
Old 12-15-2009, 02:21 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tell us what mods you have installed
Reply With Quote
  #5  
Old 12-15-2009, 02:24 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

enable the mods one by one until you find the one(s) that produce the most queries
Reply With Quote
  #6  
Old 12-15-2009, 03:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaelon View Post
I have only heard of these sorts of queries happening under vBulletin 4 (which is known to generate hundreds of queries on a view request)
Not on forumhome, which is what we are talking about here (read the thread title).


If you have a test site setup that is a duplicate of your live site, you can turn on debug mode and see what those queries are and then track them down. However, on a live site it is probably best to turn off the plugins, see how many queries are run, and then turn them on one-by-one to see which is adding all the queries.
Reply With Quote
  #7  
Old 12-15-2009, 03:21 PM
Carnage Carnage is offline
 
Join Date: Jan 2005
Location: uk
Posts: 760
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
However, on a live site it is probably best to turn off the plugins, see how many queries are run, and then turn them on one-by-one to see which is adding all the queries.
I'd be tempted just to put the site behind a .htaccess file for 10 mins while using debug mode to find the problem. Either that or look into one of the mods that enables debug mode for specific users only.
Reply With Quote
  #8  
Old 12-15-2009, 08:11 PM
kimof911 kimof911 is offline
 
Join Date: Sep 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have found a plugin which cause about 80 query ...that was an old plugin from a previous 3.6.5 upgrade...i am now now using 3.8.3 for 6 months...

now my forumhome has 17 query with a very good performance and that is very good with the server resources and server cpu loading time

thanks guys...really thanks
Reply With Quote
  #9  
Old 12-16-2009, 06:12 PM
jboyd jboyd is offline
 
Join Date: Nov 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=196422&highlight=kxdesign" target="_blank">https://vborg.vbsupport.ru/showt...light=kxdesign</a>
is a great mod for trying to debug your forum and track down queries
Reply With Quote
  #10  
Old 12-16-2009, 07:40 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kimof911 View Post
i have found a plugin which cause about 80 query ...that was an old plugin from a previous 3.6.5 upgrade...i am now now using 3.8.3 for 6 months...

now my forumhome has 17 query with a very good performance and that is very good with the server resources and server cpu loading time


thanks guys...really thanks
care to share the mod you updated?
glad you got it figured out :up:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:28 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
  • Page Generation 0.07301 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete