Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2004 13:48:56 -0500 (CDT)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Matt White <matt+list.sw.freebsd.current@publicly.neglect.us>
Cc:        freebsd-current@freebsd.org
Subject:   Re: fetch hangs, part 2
Message-ID:  <XFMail.20040718134856.conrads@cox.net>
In-Reply-To: <54364243CABEBD11E5088CB5@[192.168.1.3]>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <conrads@cox.net> -- "In Unix veritas"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20040718134856.conrads>