From owner-freebsd-stable@FreeBSD.ORG Fri Nov 5 19:59:50 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C396106566B for ; Fri, 5 Nov 2010 19:59:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 812668FC08 for ; Fri, 5 Nov 2010 19:59:50 +0000 (UTC) Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by qmta10.emeryville.ca.mail.comcast.net with comcast id TR031f0080vp7WLAAXzpFE; Fri, 05 Nov 2010 19:59:49 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta05.emeryville.ca.mail.comcast.net with comcast id TXzo1f00R3LrwQ28RXzoqC; Fri, 05 Nov 2010 19:59:49 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 868169B422; Fri, 5 Nov 2010 12:59:48 -0700 (PDT) Date: Fri, 5 Nov 2010 12:59:48 -0700 From: Jeremy Chadwick To: Dominic Fandrey Message-ID: <20101105195948.GA29963@icarus.home.lan> References: <4CD44A23.2030707@bsdforen.de> <4CD46018.8060207@bsdforen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CD46018.8060207@bsdforen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: fetch hangs when trying to http-download from http://ftp5.de.FreeBSD.org/ X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 19:59:50 -0000 On Fri, Nov 05, 2010 at 08:50:48PM +0100, Dominic Fandrey wrote: > On 05/11/2010 19:17, Dominic Fandrey wrote: > > This is an example, I can download the file with firefox, > > but fetch hangs infinitely, even though HTTP_TIMEOUT is set. > > http://ftp5.de.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-8-stable/All/ecore-txt-0.9.9.042.tbz > > The problem has gone away. > > I suppose there's no way of debugging this without being able to > reproduce it. :( There's a lot of ways of debugging this, but "fetch -v" isn't going to provide enough information. :-) Hitting Control-T while the process is hung would help, ditto with (in another window) running procstat -kk on the PID of fetch, and "ps -axl | grep fetch". Running fetch under ktrace (with the flag "-t+") might shed some light on what's going on too. You also eventually might need to familiarise yourself with tcpdump if it's an IP/TCP issue. You're also going to need to state if you're using any sort of firewalling stack on the machine itself (ipfw, ipfilter, pf), or if there's a firewall in front of your machine (including NAT). Finally, it would help if you could narrow down the problem to that single mirror server (ftp5.de.FreeBSD.org) or if it happens to you when using other servers as well. Oh, and uname -a output would help too, since you didn't disclose what FreeBSD build/release you're running. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |