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 10-17-2006, 09:36 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Page generated in 112.40204 seconds with 16 queries

I can't for the life of me figure out why my pages are loading so slow, I have a shared server and have tried to figure this out myself by diabling mods and nothing seems to make any difference, I have even tried reverting templates with the most queries, the amout of queries drops but the load time is almost exactly the same??

Quote:
[page compression: 101.16 k/107.66 k (6.04%)]
Page generated in 112.40204 seconds with 16 queries (1 queries for uncached templates) [Server Loads: 1.52 1.08 : 1.01]
Uncached templates: board_inactive_warning (1)
Would someone be so kind as to give me a hand, I will give them any access they may need.

Thanks in advance

Steve
www.srtcaliber.com
Reply With Quote
  #2  
Old 10-17-2006, 09:45 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh my god!! you have a problem.

First I would disable ALL plugins (add "define('DISABLE_HOOKS', true');" to your config.php file. If that doesn't help, I would contact your host, as they would probably have a better idea if it's not something you did.

Just to help you narrow down the problem, there is 112 seconds of PHP processing between these two queries: [sql]SELECT event.*,
user.username, IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid,
IF(dateline_to = 0, 1, 0) AS singleday

FROM srtcalib_event AS event
LEFT JOIN srtcalib_user AS user ON (user.userid = event.userid)

WHERE calendarid = 1 AND
((dateline_to >= 1159617600 AND dateline_from < 1162382400) OR (dateline_to = 0 AND dateline_from >= 1159617600 AND dateline_from <= 1162382400 )) AND
visible = 1[/sql] and [sql]SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, linkhits

FROM srtcalib_forum AS forum[/sql]
Reply With Quote
  #3  
Old 10-17-2006, 09:50 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Being that bad I'd say it was time to get a new host.

Unless you've seriously screwed up some code, I can't see how anything would make it take THAT long.

If you've space on the server, try installing a clean copy of vB in a different folder (password protected of course) and see if it's still the same. If it is, your host is to blame.
Reply With Quote
  #4  
Old 10-17-2006, 09:52 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit: NM, debug mode is already on.

You have a syntax error in your config.php atm, we can have another look when you fix that.
Reply With Quote
  #5  
Old 10-17-2006, 09:58 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SirAdrian
Oh my god!! you have a problem.

First I would disable ALL plugins (add "define('DISABLE_HOOKS', true');" to your config.php file. If that doesn't help, I would contact your host, as they would probably have a better idea if it's not something you did.

Just to help you narrow down the problem, there is 112 seconds of PHP processing between these two queries: [sql]SELECT event.*,
user.username, IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid,
IF(dateline_to = 0, 1, 0) AS singleday

FROM srtcalib_event AS event
LEFT JOIN srtcalib_user AS user ON (user.userid = event.userid)

WHERE calendarid = 1 AND
((dateline_to >= 1159617600 AND dateline_from < 1162382400) OR (dateline_to = 0 AND dateline_from >= 1159617600 AND dateline_from <= 1162382400 )) AND
visible = 1[/sql] and [sql]SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, linkhits

FROM srtcalib_forum AS forum[/sql]
LOL yea I have a problem, just a small slow loading one!
I tried to add the Disable Hooks and I get this error
Quote:
Parse error: syntax error, unexpected ''' in /home2/srtcalib/public_html/forum/includes/config.php on line 170
I changed this
Code:
"define('DISABLE_HOOKS', true');"
to this and got it to work
Code:
$define['DISABLE_HOOKS'] = true;
and now its loading, but still slow and it didn't seem to make any difference??

I have tried asking my host for help, but as usual every problem is on my end, funny that when it gets resolved its 99.9% them!

Any suggestions on a good host?

Also, My ADMINCP is loding pretty good most of the time, but it was just as slow yesterday, but now seems O.K., still makes me think the Server is goofed up somehow.

Removed error, you can take another look. " Steve waits as pages loads and loads and loads and loads zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz."
Reply With Quote
  #6  
Old 10-17-2006, 10:11 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it's just that one page to be honest (though i only tried two).

Anyway, don't put any quotes around the define line lol that will mess it up for sure! If it's just that one page then don't even disable the hooks. I would get someone to look at the script and find what's bogging it down.
Reply With Quote
  #7  
Old 10-17-2006, 10:12 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it's any help hosting wise, my host is http://www.imagelinkusa.net and they are fantastic.

I have a board that's really a bit too big for shared hosting now, yet they don't mind and the performance is really good, you can see how fast it is HERE.

Currently Page generated in 0.39900 seconds with 23 queries [Server Loads: 0.23 : 0.36 : 0.39]
Reply With Quote
  #8  
Old 10-17-2006, 10:16 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SirAdrian
I think it's just that one page to be honest (though i only tried two).

Anyway, don't put any quotes around the define line lol that will mess it up for sure! If it's just that one page then don't even disable the hooks. I would get someone to look at the script and find what's bogging it down.
I have tried different pages, and they all load sssssllllllllllllooooooowwwwwwww for me. I have even tried different skins, same thing happens.
Reply With Quote
  #9  
Old 10-17-2006, 10:19 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you edited any files ? I'd be surprised if this is a host problem, the delay is too precise, always 112 seconds.

In fact, the delay is always before this query as well ;

Code:
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, linkhits

FROM srtcalib_forum AS forum
Now linkhits is not a standard column in the forum table, which makes me think you have added some hack that requires file edits.
Reply With Quote
  #10  
Old 10-17-2006, 10:25 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Have you edited any files ? I'd be surprised if this is a host problem, the delay is too precise, always 112 seconds.
Well I have removed any recient edits, and disabled receint mods with no change. But let me look some more.

However I just received this e-mail
Quote:
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User srtcalib_admin has already more than 'max_user_connections' active connections
/home2/srtcalib/public_html/forum/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Monday, October 16th 2006 @ 09:41:05 PM
Script : http://srtcaliber.com/forum/vbshout.php
Referrer :
IP Address : 123.000.000.000
Username :
Classname : vb_database
A clue??
Have I been hacked??
I just disabled it in the AdminCP, but its still loading slow, does it take some time for the server to recover?
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 08:00 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.07023 seconds
  • Memory Usage 2,271KB
  • 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_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete