From owner-freebsd-bugs Tue Jun 19 12:50: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BB2C937B403 for ; Tue, 19 Jun 2001 12:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5JJo2r76926; Tue, 19 Jun 2001 12:50:02 -0700 (PDT) (envelope-from gnats) Date: Tue, 19 Jun 2001 12:50:02 -0700 (PDT) Message-Id: <200106191950.f5JJo2r76926@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Thomas M. Proett" Subject: Re: misc/27880: select fails to return incoming connect Reply-To: "Thomas M. Proett" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/27880; it has been noted by GNATS. From: "Thomas M. Proett" To: Assar Westerlund 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