*BSD News Article 95461


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news
From: eric@pancreas.erols.com (eric)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: TCP hangs talking to Solaris 2.5.1
Date: 16 May 1997 00:58:53 -0400
Organization: A Red Hat Linux Site
Lines: 25
Message-ID: <5lgpid$abk@pancreas.erols.com>
References: <5lejjh$32p@pancreas.erols.com> <5lfe17$sj@netaxs.com>
NNTP-Posting-Host: pancreas.erols.com
X-Received-On: 16 May 1997 00:57:59 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41001

>
>: Has anyone seen a problem where TCP connections between FreeBSD and Solaris
>: machines hang?  I'm running FreeBSD 2.2.1, and under circumstances which I
>: haven't entirely identified, connections between the two systems will hang
>: until the process owning it on either end is killed. In this case it's a
>: POP proxy server on freebsd talking to an actual POP server on Solaris. 
>
>  I may be wrong, but what TCP connections in general?  FTP and telnet? Do
>you get a connection or does it hang when trying to connect?
>
>You can try killing the nscd program on Solaris if its running.  I know
>from experience that ncsd can be very nice or very horrible.  
>

No, i was speaking on a more general level. In this case the application is
a transparent proxying of POP sessions. 

What it looks like is happening is the solaris machine will send a sequence of
packets which will all be acked properly, and then there is a duplicate ack
advertising two different window sizes, and after that neither side sends any
more packets at all for a couple of minutes, when the whole thing times out
and one end or the other gives up. Netstat thinks the connection is 
"established" on both ends even after the packets have stopped flowing.