From owner-freebsd-current@FreeBSD.ORG Sun Jul 18 18:48:58 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 2566F16A4CE for ; Sun, 18 Jul 2004 18:48:58 +0000 (GMT) Received: from lakermmtao07.cox.net (lakermmtao07.cox.net [68.230.240.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF62043D1F for ; Sun, 18 Jul 2004 18:48:57 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao07.cox.net ESMTP <20040718184856.PQRM16724.lakermmtao07.cox.net@dolphin.local.net>; Sun, 18 Jul 2004 14:48:56 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.12.11/8.12.11) with ESMTP id i6IImuIv041588; Sun, 18 Jul 2004 13:48:56 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.12.11/8.12.11/Submit) id i6IImucB041587; Sun, 18 Jul 2004 13:48:56 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <54364243CABEBD11E5088CB5@[192.168.1.3]> Date: Sun, 18 Jul 2004 13:48:56 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: Matt White cc: freebsd-current@freebsd.org Subject: Re: fetch hangs, part 2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 18:48:58 -0000 On 18-Jul-2004 Matt White wrote: > I looked in the archives and saw that a couple of others also had > this > problem. Fetch is getting distributions for ports and it'll just > hang. > Killing the build and restarting it will usually cause it to advance. > Did > any of you guys who saw this problem before come up with a solution? I found that changing my buffer size settings made all the difference. I had been using the following in /etc/sysctl.conf: net.inet.tcp.recvspace=131072 net.inet.tcp.sendspace=65536 Changing them to: net.inet.tcp.recvspace=65536 net.inet.tcp.sendspace=32768 Solved the problem. -- Conrad J. Sabatier -- "In Unix veritas"