Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 19:58:21 +0200
From:      cpghost <cpghost@cordula.ws>
To:        "Galdes, Andrew (ERHS)" <galdes.andrew@saugov.sa.gov.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD is Very slow to load some sites
Message-ID:  <20050725175821.GA73763@bsdbox.farid-hajji.net>
In-Reply-To: <C9A3316E261F6E45B9ED5F4C3487C101034DB4FF@sagemsg0010.sagemsmrd01.sa.gov.au>
References:  <C9A3316E261F6E45B9ED5F4C3487C101034DB4FF@sagemsg0010.sagemsmrd01.sa.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 25, 2005 at 08:27:37AM +0930, Galdes, Andrew (ERHS) wrote:
> Freebsd seems to take a long time (up to ten minutes) to load some web
> sites. When i use Linux or Windows it seems to load at normal speed. I have
> installed Freebsd (same version) on another computer and it has the same
> trouble. I have tried both firefox and konqueror. 
> 
> The website is www.anz.com.au. I suspect the security of the site is the
> problem but cannot be sure.

A bit sluggish here with Firefox 1.0.5 (from ports). Page loads in
approx 30 seconds. Once the page is loaded, other pages are served
almost instantly. Stopping firefox and restarting it, results in the
same initial delay.

With w3m, every page access results in that approx 30 secs delay;
perhaps because w3m doesn't keep the connection open?

> Another thread on this list "[kde-freebsd] Konqueror very slow displaying
> some sites" puts it down to DNS. Any ideas?

It could be DNS related. I've run
$ truss w3m http://www.anz.com.au/

after mounting /proc, and most of the waiting time is spent querying
the local DNS server. After getting a reply from the DNS server,
everything starts running smoothing and fast again:

[... here, things start slowing down considerably ...]
socket(0x2,0x2,0x0)                              = 5 (0x5)
connect(0x5,{ AF_INET 192.168.254.1:53 },16)     = 0 (0x0)
sendto(0x5,0x8148000,0,0x0,NULL,0x0)             = 32 (0x20)
gettimeofday({1122313919 295525},0x0)            = 0 (0x0)
kevent(0x4,0xbfbfd4b0,0x1,0xbfbfd4b0,0x1,0xbfbfd490) = 0 (0x0)
close(5)                                         = 0 (0x0)
socket(0x2,0x2,0x0)                              = 5 (0x5)
connect(0x5,{ AF_INET 192.168.254.1:53 },16)     = 0 (0x0)
sendto(0x5,0x8148000,0,0x0,NULL,0x0)             = 32 (0x20)
gettimeofday({1122313924 303323},0x0)            = 0 (0x0)
kevent(0x4,0xbfbfd4b0,0x1,0xbfbfd4b0,0x1,0xbfbfd490) = 0 (0x0)
close(5)                                         = 0 (0x0)
socket(0x2,0x2,0x0)                              = 5 (0x5)
connect(0x5,{ AF_INET 192.168.254.1:53 },16)     = 0 (0x0)
sendto(0x5,0x8148000,0,0x0,NULL,0x0)             = 32 (0x20)
gettimeofday({1122313934 313571},0x0)            = 0 (0x0)
kevent(0x4,0xbfbfd4b0,0x1,0xbfbfd4b0,0x1,0xbfbfd490) = 1 (0x1)
recvfrom(0x5,0x8138000,0,0x0,{ AF_INET 192.168.254.1:53 },0xbfbfd484) = 32 (0x20
)
close(5)                                         = 0 (0x0)
close(4)                                         = 0 (0x0)
[... from here, everything runs very fast again ...]

> -Andrew

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050725175821.GA73763>