Date: Thu, 11 Feb 1999 09:10:01 -0800 (PST) From: David Greenman <dg@root.com> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/10028: TCP problem binding port - address already in use Message-ID: <199902111710.JAA85414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/10028; it has been noted by GNATS. From: David Greenman <dg@root.com> To: david@inty.net Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/10028: TCP problem binding port - address already in use Date: Thu, 11 Feb 1999 09:04:05 -0800 >>Description: >I am developing a server program which listens on a port (8080 in this case) >Often when the program exits (usually on a signal), the kernel does not >'unbind' the port (i.e. netstat -na shows the port still in LISTEN state). I >can still make connections to the port, even though there is no process >listening on it. Trying to run the server program again reports 'address >already in use'. There is no way to clear this problem other than rebooting, >which is unacceptable. > >The problem occurs with kernel versions 2.2.x and 3.0 Hmmm. I've never seen this before. Are you absolutely sure that there isn't another process with the socket open? -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project 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?199902111710.JAA85414>