fetch hangs, part 2

Andre Oppermann andre at freebsd.org
Wed Jul 21 08:34:36 PDT 2004


Darren Pilgrim wrote:
>>From: Robert Watson [mailto:rwatson at freebsd.org] 
>>
>>On Tue, 20 Jul 2004, Darren Pilgrim wrote:
>>
>>>I've been having the same (or a similar problem).  Fetching the distfile
>>>for a port will hang.  I poked some more at this and found that all the
>>>sites fetch is hanging on successfully negotiate the TCP connection then
>>>go dead without closing the connection.  My workaround has been to edit
>>>the Makefile and remove the offending site from MASTER_SITES or manually
>>>fetch from ftp.freebsd.org. 
>>
>>Could you try disabling TCP SACK
> 
> Set net.inet.tcp.delayed_ack=0?
> 
>>and see if things "get better"?  It's one
>>of the things that has changed in the TCP code recently.  This could well
>>be a user space fetch issue, but it would be worth trying it to see, if
>>only to rule it out.
> 
> It didn't change.  The connections still hung.

Darren sent me a list with sites where he experiences the problem and I
have tested them with FreeBSD 5-CURRENT (yesterday's), 4.10-STABLE and
Windows 2kSP4.  None worked.  For FreeBSD fetch waited for the connection
timeout and went to the second site to fetch the tarball (successfully).

Maybe he was just not patient enough to wait for fetch to move on.

-- 
Andre



More information about the freebsd-current mailing list