Date: Fri, 5 Nov 2010 12:59:48 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Dominic Fandrey <kamikaze@bsdforen.de> Cc: freebsd-stable@freebsd.org Subject: Re: fetch hangs when trying to http-download from http://ftp5.de.FreeBSD.org/ Message-ID: <20101105195948.GA29963@icarus.home.lan> In-Reply-To: <4CD46018.8060207@bsdforen.de> References: <4CD44A23.2030707@bsdforen.de> <4CD46018.8060207@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101105195948.GA29963>