From owner-freebsd-questions@FreeBSD.ORG Wed Mar 26 19:55:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3677106569F for ; Wed, 26 Mar 2008 19:55:58 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from hermes.wbtsystems.com (hermes.wbtsystems.com [193.120.231.28]) by mx1.freebsd.org (Postfix) with ESMTP id A45818FC1D for ; Wed, 26 Mar 2008 19:55:58 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from SUNYA (unknown [79.97.38.105]) by hermes.wbtsystems.com (Postfix) with ESMTPA id CAB97F7413; Wed, 26 Mar 2008 19:55:56 +0000 (GMT) From: "Barry Byrne" To: "'RW'" , References: <00fe01c88f59$729cf750$c5010c0a@wbt.wbtsystems.com> <20080326183502.2180be97@gumby.homeunix.com.> Date: Wed, 26 Mar 2008 19:55:55 -0000 Message-ID: <005301c88f7b$67512660$0201a8c0@wbt.wbtsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20080326183502.2180be97@gumby.homeunix.com.> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 thread-index: AciPcrQPhGOL68O2Q0++EbzabrlQMwAB4HSQ Cc: Subject: RE: portsnap fetch errors 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: Wed, 26 Mar 2008 19:55:59 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of RW > Sent: 26 March 2008 18:35 > To: freebsd-questions@freebsd.org > Subject: Re: portsnap fetch errors > > On Wed, 26 Mar 2008 15:52:51 -0000 > "Barry Byrne" wrote: > > > > By any chance is your portsnap using a proxy server, possibly squid? > > > > If so this may get around the problem prior to running your > portsnap. > > > > # sysctl net.inet.ip.portrange.randomized=0 > > Why would that make a difference? I think some versions of squid may be a bit broken with respect to correctly handling HTTP/1.1 and in the case of portsnap downloading many files, squid starts closing some of the open connections, which portsnap then attempts to reuse. There was a thread on one of the FreeBSD lists in late 2006. Google a bit and you'll probably find it. Don't know for certain this is your problem, but it did fix it when I came across the problem. - barry