Current time: 03-21-2010, 03:11 PM Hello There, Guest! (LoginRegister)


Post Reply 
Long page load time -vs- little statistics time
10-21-2008, 06:03 PM
Post: #1
Long page load time -vs- little statistics time
hi all, there is something i dont really understand

right at this moment, 10 registered users and 15 guests are browsing my own forum...

at the end of the page i see the stats:
Quote:Generated in 0.1090260 seconds (81.83% PHP / 18.17% MySQL)
SQL Queries: 9 / Global Parsing Time: 0.0598660 / Memory Usage: 3,75 MB
but in reality, the page took about 10seconds to laod until it was really finished...

how is this possible? what can be reasons for this huge delay although the stats pretend that the time was so much lower?
Find all posts by this user
Quote this message in a reply
10-21-2008, 06:14 PM
Post: #2
RE: Long page load time -vs- little statistics time
Helpful to see the site you referring to.

Join MyBB Central for exclusive plugins. Downloads require a paid membership.
Do you need free Mybb Support?
[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-21-2008, 06:16 PM
Post: #3
RE: Long page load time -vs- little statistics time
IIRC if a page loads from the server that quickly but takes ages to load in your browser, it's just your internet connection, it can't load the page fast enough.

Do you know how to do a 'tracert'??

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-21-2008, 07:12 PM (This post was last modified: 10-21-2008 07:15 PM by TStarGermany.)
Post: #4
RE: Long page load time -vs- little statistics time
1 8 ms 8 ms 8 ms dslb-092-073-XXX-XXX.pools.arcor-ip.net [92.73.XXX.X] <- ME AT THE MOMENT..
2 * 8 ms 8 ms 88.79.23.25
3 11 ms 12 ms 10 ms 88.79.22.169
4 14 ms 12 ms 13 ms 88.79.22.41
5 10 ms 10 ms 10 ms esn-145-254-12-61.arcor-ip.net [145.254.12.61]
6 13 ms 14 ms 14 ms dus-145-254-19-178.arcor-ip.net [145.254.19.178]
7 14 ms 15 ms 13 ms dus-145-254-18-154.arcor-ip.net [145.254.18.154]
8 14 ms 14 ms 13 ms Arcor.DUS-1-pos010.de.lambdanet.net [217.71.107.141]
9 19 ms 19 ms 72 ms HAN-7-pos700.de.lambdanet.net [217.71.96.29]
10 34 ms 23 ms 23 ms BER-4-pos300.de.lambdanet.net [217.71.96.34]
11 26 ms 26 ms 26 ms NMM-DRE2.de.lambdanet.net [217.71.108.34]
12 26 ms 26 ms 28 ms dd18724.kasserver.com [85.13.139.49] <- TM-CREATIVE.ORG

only 2 noteworthy things: pos(2) was somehow not connecting :ß, and at (9), the 72ms is a bit larger than the others.

i also made a complete pathping for tm-creative.org, about the same values, 0% loss anywhere
Find all posts by this user
Quote this message in a reply
10-21-2008, 07:14 PM
Post: #5
RE: Long page load time -vs- little statistics time
Hmm, 26 ms is very quick... but I'm pretty sure it is just your connection as opposed to a MyBB problem. Try unplugging your router and plugging it in again - once I had trouble accessing my forum when all other sites were fine, doing that fixed it though.

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
Visit this user's website Find all posts by this user
Quote this message in a reply
10-21-2008, 07:17 PM (This post was last modified: 10-21-2008 07:18 PM by TStarGermany.)
Post: #6
RE: Long page load time -vs- little statistics time
well i just have dsl modem, no router attached :ß

but then again, at the moment it works fine.. i must do a traceroute when the forum takes long to load :ß
Find all posts by this user
Quote this message in a reply
10-24-2008, 03:10 AM (This post was last modified: 10-24-2008 03:56 AM by TStarGermany.)
Post: #7
RE: Long page load time -vs- little statistics time
ok now it happened..
   
i ran the TRACERT while FF was trying to load the page for 20seconds...without success...

it's important to know what the page starts with
PHP Code:
<?php include_once('/www/htdocs/XXX/includes/language_load.php');
$olddirectory getcwd();
define("IN_MYBB"1);
chdir('/www/htdocs/XXX/forum'); // path to MyBB
require_once ("/www/htdocs/XXX/forum/global.php");
chdir ($olddirectory);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
.
.


so the connection to the server was good, but no content loaded :ß ? any ideas ?
Find all posts by this user
Quote this message in a reply
10-24-2008, 08:03 AM
Post: #8
RE: Long page load time -vs- little statistics time
Go through each line of your includes and delete them (essentially debugging as you go along).

My guess is you have a memory leak somewhere - for example take out

PHP Code:
include_once('/www/htdocs/XXX/includes/language_load.php');
$olddirectory getcwd(); 

and then see what the page load is. Do the same with myBB, but with the code above. I know you'll get errors, but hopefully you shouldn't have fatal ones (but I guess it's whatever is on your page). I have the same header setup as you and I found my scripting was causing problems - all I did to fix it was move it after I initiated myBB...

Tomm M
MyBB Developer » Marketing Designer & Systems Developer
Find all posts by this user
Quote this message in a reply
10-24-2008, 08:51 AM
Post: #9
RE: Long page load time -vs- little statistics time
It has nothing to do with MyBB - all MyBB can affect is the page generation time, which you see is very fast for you.

Possible problems:
- Connection (most likely) - if pings are fast, then transfer may be the issue
- The webserver - make sure Apache (or whatever your webserver is) is configured properly
- PHP - make sure it's configured properly
- Does your page load time include images and CSS scripts? Try loading index.php, but download it with a downloader (so it gets no attached files)
Visit this user's website Find all posts by this user
Quote this message in a reply
10-24-2008, 08:54 AM
Post: #10
RE: Long page load time -vs- little statistics time
My guess is, u'r host is crapy.....
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: