How to reset a connection stuck in CLOSE_WAIT state

Jeff Laine wtf.jlaine at
Wed Jun 3 10:43:44 UTC 2009

On Wed, Jun 03, 2009 at 05:38:24PM +0700, Olivier Nicole wrote:
> Hi,
> I am runnig FlexNet license manager on FreeBSD (6.4), this is alinux
> application, but it is running smoothly.
> The problem occurs sometime at stop time, it will not stop cleanly and
> leave a connection in CLOSE_WAIT state. As a result, the ports are not
> freed and the license managerserver cannot restart.
> Is there a simple way to force reset the hanging connection?
> Best regards,
> Olivier

I think tcpdrop(8) can handle that.

Best regards,

| "Nobody wants to say how this works.	|
|  Maybe nobody knows ..."		|
|  			Xorg.conf(5)	|

More information about the freebsd-questions mailing list