From owner-freebsd-questions@FreeBSD.ORG Mon Jul 25 17:53:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2BCD16A41F for ; Mon, 25 Jul 2005 17:53:15 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3363043D46 for ; Mon, 25 Jul 2005 17:53:15 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from bsdbox.farid-hajji.net (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id 4E49B4B4D4; Mon, 25 Jul 2005 19:51:58 +0200 (CEST) Date: Mon, 25 Jul 2005 19:58:21 +0200 From: cpghost To: "Galdes, Andrew (ERHS)" Message-ID: <20050725175821.GA73763@bsdbox.farid-hajji.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD is Very slow to load some sites X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 17:53:16 -0000 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/