From owner-freebsd-current@FreeBSD.ORG Fri Jun 25 06:00:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C3316A4CE for ; Fri, 25 Jun 2004 06:00:49 +0000 (GMT) Received: from smtp001.bizmail.yahoo.com (smtp001.bizmail.yahoo.com [216.136.172.125]) by mx1.FreeBSD.org (Postfix) with SMTP id D766343D69 for ; Fri, 25 Jun 2004 06:00:48 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.249.252 with login) by smtp001.bizmail.yahoo.com with SMTP; 25 Jun 2004 05:59:32 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 94BFC623C; Fri, 25 Jun 2004 00:59:31 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71469-03; Fri, 25 Jun 2004 00:59:30 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 4CAC2621F; Fri, 25 Jun 2004 00:59:30 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i5P5xTJO043228; Fri, 25 Jun 2004 00:59:29 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40DBBF41.2000601@alumni.rice.edu> Date: Fri, 25 Jun 2004 00:59:29 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.7 (X11/20040624) X-Accept-Language: en-us, en MIME-Version: 1.0 To: conrads@cox.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-current@freebsd.org Subject: Re: fetch hangs on 6/24/04 current build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 06:00:49 -0000 On 06/24/04 23:09, Conrad J. Sabatier wrote: > I just upgraded both of my machines today, and since then, I'm getting > lots of hangs during port fetches. I don't know if this is just a > local problem, or a problem with my ISP's routing, or what. > > Any recommendations on how to diagnose what's going on here? This happened to me a week or so ago -- the workaround for me was to not set the FTP_PROXY and HTTP_PROXY environment variables. When I tried to use a proxy, it hung; without, everything worked fine. By the way, wget worked fine even with the proxy, so it was just fetch that was misbehaving. Note that I was just starting to define those variables when I noticed the problem; I can't say from experience that fetch ever worked properly with a proxy... If you're not using a proxy, there was a recent commit to fetch that could have broken things for you: http://lists.freebsd.org/pipermail/cvs-src/2004-June/026022.html This just changed the behavior of -S (checking the size); do you see a "size unknown" error message before the hang? In any case, you could try to back out rev. 1.68 and recompile fetch. Speculation: There's a lot going on in networking right now. ipf 3.4.35 landed recently -- this could be related to that. As I don't use ipf I'm not sure of a workaround. Gross speculation at this point: Something else you could try is disabling SACK (it just landed a couple days ago). To do that just 'sysctl net.inet.tcp.sack.enable=0' and try again. However, the SACK implementation came from Yahoo. I would bet it's been tested fairly well and doubt that it is to blame... I'm sure someone else more knowledgeable can provide better answers. These are just my (hopefully not humorously) ignorant guesses. Jon Jon