From owner-freebsd-questions@FreeBSD.ORG Wed Jun 3 10:43:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE1BA1065674 for ; Wed, 3 Jun 2009 10:43:43 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 501078FC14 for ; Wed, 3 Jun 2009 10:43:43 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by ewy8 with SMTP id 8so6065383ewy.43 for ; Wed, 03 Jun 2009 03:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-operating-system; bh=3mShMksR7ZzJlL5Lp7vk0JQ5GADEGSbD2efUs5di/0Y=; b=JZ4CTkj9dqHks0Jy5O281qtEC+saKrMOtPp73EKmloK6D5lVHzKqjKOqu3jVBOFdqI xXdsp4yHE5pUTU/P6OrsiHMPCFjzTs2AHv/ECo2fwL+r1RUHgbDoEt2zDM1QHTxRX/pX m0dbMiWTwNu+pq572oM7i2W4bZL0LBuhOoh18= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=cVRcLuSpvYlsoZ/5i2vGqlAjnIOKzBZoeqJ1Ms0qf1HLss5i0lK6BgpNaJ+MX2T+pQ uHt8fKecZHfgJJCW35R3Y7c9jL/7nLDwbPB7dXUzedfiOm+TQwQjoMGXehKHUuQc33a3 0mvRVWFpqsR2Znawy654eNb1nTHSRo/K9g2FI= Received: by 10.210.30.1 with SMTP id d1mr656582ebd.14.1244025822453; Wed, 03 Jun 2009 03:43:42 -0700 (PDT) Received: from blackmesa ([77.66.153.29]) by mx.google.com with ESMTPS id 11sm12638949ewy.98.2009.06.03.03.43.40 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 03:43:41 -0700 (PDT) Received: by blackmesa (sSMTP sendmail emulation); Wed, 3 Jun 2009 14:43:37 +0400 Date: Wed, 3 Jun 2009 14:43:37 +0400 From: Jeff Laine To: Olivier Nicole Message-ID: <20090603104337.GB40064@free.bsd.loc> Mail-Followup-To: Jeff Laine , Olivier Nicole , freebsd-questions@freebsd.org References: <200906031038.n53AcO36073173@banyan.cs.ait.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906031038.n53AcO36073173@banyan.cs.ait.ac.th> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 Cc: freebsd-questions@freebsd.org Subject: Re: How to reset a connection stuck in CLOSE_WAIT state X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 10:43:44 -0000 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) |