Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2009 14:43:37 +0400
From:      Jeff Laine <wtf.jlaine@gmail.com>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to reset a connection stuck in CLOSE_WAIT state
Message-ID:  <20090603104337.GB40064@free.bsd.loc>
In-Reply-To: <200906031038.n53AcO36073173@banyan.cs.ait.ac.th>
References:  <200906031038.n53AcO36073173@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
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,
Jeff

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090603104337.GB40064>