Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 08-09-2005, 03:30 AM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Strange Problem

I seem to have a strange problem that has pop-up on my site from nowhere. For some strange reason now when I visit my portal page on my site it taking a while to load up, like a delayed effect as though it's hanging for a while then it loads fast. I've not added any extra queries or done anything that could have caused this that I'm aware off. But before the changing from forum page to portal page was really fast and no delay at all. Apart from just waiting for images to load.

Now it seems the forum loading is fast as just the same, but the portal page is really slow. Anybody got any ideas why this might have suddenly started happening. You can test what I mean by click my banner below and then visit the portal first and forum page to test what I mean by going back and forth to each page using the links in the nav bar.

I'm just looking for ideas from you guys here as to what you think may have caused this, because I really don't have a clue. :surprised:
Reply With Quote
  #2  
Old 08-09-2005, 09:26 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gary Bolton
I seem to have a strange problem that has pop-up on my site from nowhere. For some strange reason now when I visit my portal page on my site it taking a while to load up, like a delayed effect as though it's hanging for a while then it loads fast. I've not added any extra queries or done anything that could have caused this that I'm aware off. But before the changing from forum page to portal page was really fast and no delay at all. Apart from just waiting for images to load.

Now it seems the forum loading is fast as just the same, but the portal page is really slow. Anybody got any ideas why this might have suddenly started happening. You can test what I mean by click my banner below and then visit the portal first and forum page to test what I mean by going back and forth to each page using the links in the nav bar.

I'm just looking for ideas from you guys here as to what you think may have caused this, because I really don't have a clue. :surprised:
What is the current query load for your portal?

And I like that clock? Care to share?
Reply With Quote
  #3  
Old 08-09-2005, 01:07 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
What is the current query load for your portal?

And I like that clock? Care to share?

How do you check the query load?



Here is the clock code below.

Code:
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%">
	<tr>
		<td>
			<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
				<thead>
				<tr>
					<td class="tcat" style="text-align: center">
						<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vbindex_customblock$box')"><img id="collapseimg_vbindex_customblock$box" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_vbindex_customblock.gif" alt="" border="0" /></a>
						<strong>Clock</strong>
					</td>
				</tr>
				</thead>
				<tbody id="collapseobj_vbindex_customblock$box" style="$collapseobj_vbindex_customblock">
				<tr>
					<td class="alt1">
						<div class="smallfont"><html>
<head>
	<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
	<!-- Hide script from old browsers

	function showMilitaryTime() {
		if (document.theForm.showMilitary[0].checked) {
			return true
		}
		return false
	}

	function showTheHours(theHour) {
		if (showMilitaryTime() || (theHour > 0 && theHour < 13)) {
			return (theHour)
		}
		if (theHour == 0) {
			return (12)
		}
		return (theHour-12)
	}

	function showZeroFilled(inValue) {
		if (inValue > 9) {
			return ":" + inValue
		}
		return ":0" + inValue
	}

	function showAmPm() {
		if (showMilitaryTime()) {
			return ("")
		}
		if (now.getHours() < 12) {
			return (" am")
		}
		return (" pm")
	}

	function showTheTime() {
		now = new Date

		document.theForm.showTime.value = showTheHours(now.getHours()) +  showZeroFilled(now.getMinutes()) + showZeroFilled(now.getSeconds()) + showAmPm()
		setTimeout("showTheTime()",1000)
	}

	// End hiding script from old browsers -->
	</SCRIPT>	
</HEAD>
<BODY BGCOLOR="WHITE" onLoad="showTheTime()">
<DIV ALIGN="CENTER">
	<FORM NAME="theForm">
		<INPUT TYPE="TEXT" NAME="showTime" SIZE="15"><BR><BR>
		Display Military Time
		<INPUT TYPE="RADIO" NAME="showMilitary" CHECKED>Yes &nbsp;&nbsp;
		<input type="radio" name="showMilitary">No
	</form>
</div>
</body>
</html></div>
					</td>
				</tr>
				</tbody>
			</table>
		</td>
	</tr>
</table>
<br />
Reply With Quote
  #4  
Old 08-09-2005, 01:45 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install the Microstats hack. And thanks for the clock code.
Reply With Quote
  #5  
Old 08-09-2005, 02:01 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I just removed a few blocks and just put some short text in them to test queries. I removed the Clock Block, The Image Block, and Add to Fav block. Mainly becuase two of them used Java to see if the page loaded OK. Same thing though!

The only thing I can think that I did before this started to happen was give the header on the portal page it's own banner logo different from the forums header. But I've already tried reverting that back again. Same problem though.

Can I just ask, are you getting the same delayed effect on my portal page because I'm on 56k dial -up here. But even on that my portal page was loading fast before once cached.
Reply With Quote
  #6  
Old 08-09-2005, 02:42 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea, your site is taking forever to load.

~Curt
Reply With Quote
  #7  
Old 08-09-2005, 02:52 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I have installed the Microstats Hack and here are the results from both the Portal page and the Forum Page after visiting both.

Forum:
Page generated in 0.08181095 seconds (94.18% PHP - 5.82% MySQL) with 15 queries


Portal:
Page generated in 14.01297808 seconds (99.77% PHP - 0.23% MySQL) with 12 queries


It seems my Portal page is always very near 100% all the time in the 99% range for PHP usage compared to my forum which stays around 90-94% all the time. I'm not sure what that means, but it could be the reason for the slow load times because the portal page is using less queries and MySQL usage than the forum. It just seems to be a PHP usage thing with the portal which is always extremly high.

Any ideas anybody?

What I can't understand is everything was perfectly fine and fast before. This problem with the portal page loading slow has just come from no-where yesterday.

--------------------------

EDIT:

I've sorted it now, found what the problem was!

The problem was in the vBindex admin settings I had added an extra board ID to be displayed in the News center section on the portal, that I'd deleted yesterday but not removed the entry to grab posts from that board to the portal in the admin settings for the portal.

Phew!!!
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08120 seconds
  • Memory Usage 2,222KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete