Re: fetch hangs, part 2

From: Matt White <matt+list.sw.freebsd.current_at_publicly.neglect.us>
Date: Sun, 18 Jul 2004 12:08:40 -0700
Conrad:

Thanks, but it looks like those are the default settings, so I'm guessing 
setting that's not going to help me.  It's probably better to figure out 
what's wrong here anyway so we can use whatever settings we want.  If I 
don't hear anything more, I'll try to get a ktrace tonight.


-Matt

--On Sunday, July 18, 2004 1:48 PM -0500 "Conrad J. Sabatier" 
<conrads_at_cox.net> wrote:

>
> 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_at_cox.net> -- "In Unix veritas"
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Sun Jul 18 2004 - 17:09:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:02 UTC