Date: Tue, 19 Jun 2001 12:50:02 -0700 (PDT) From: "Thomas M. Proett" <proett@pbspro.com> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/27880: select fails to return incoming connect Message-ID: <200106191950.f5JJo2r76926@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/27880; it has been noted by GNATS. From: "Thomas M. Proett" <proett@pbspro.com> To: Assar Westerlund <assar@FreeBSD.org> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/27880: select fails to return incoming connect Date: Tue, 19 Jun 2001 12:30:52 -0700 (PDT) On 16 Jun 2001, Assar Westerlund wrote: > I'm not able to reproduce your problem on either 4.3 RELEASE or > current 4.3-STABLE. On both of these I get: > > $ ./sockin 4711 > ./sockin: 127.0.0.1 > close > > (which I assume is the correct behaviour). > > Could you give me more information to allow me to debug your problem? > Thanks. > > /assar Hi, The problem occurs after some number of calls to sockout. Here is an example done on my machine. The output of uname -a is: FreeBSD mongo.pbspro.com 4.3-STABLE FreeBSD 4.3-STABLE #3: Thu May 10 16:27:47 PDT 2001 proett@mongo.pbspro.com:/usr/src/sys/compile/BONGO i386 --- window 1 --- mongo# ./sockout 4711 got port 1023 mongo# ./sockout 4711 got port 1023 mongo# ./sockout 4711 got port 1023 connect: Operation timed out mongo# --- window 1 --- --- window 2 --- proett 1> ./sockin 4711 timeout ./sockin: 127.0.0.1 close ./sockin: 127.0.0.1 close timeout timeout timeout ... ^C proett 2> --- window 2 --- The third call to sockout was not detected by sockin which continued to periodicaly timeout until I hit ^C. I ran netstat while it was in this state and got: tcp4 0 0 localhost.1023 localhost.4711 SYN_SENT tcp4 0 0 localhost.4711 localhost.1023 TIME_WAIT Tom Proett Veridian Systems PBSPro Development 650-967-4675 x233 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106191950.f5JJo2r76926>