From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 11:06:53 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EAE637B401 for ; Tue, 24 Jun 2003 11:06:53 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DCC643FA3 for ; Tue, 24 Jun 2003 11:06:52 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 24 Jun 2003 19:06:51 +0100 (BST) Date: Tue, 24 Jun 2003 19:06:49 +0100 From: David Malone To: Varshavchick Alexander Message-ID: <20030624180649.GA30182@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to delete unix socket entries X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 18:06:53 -0000 On Tue, Jun 24, 2003 at 08:59:49PM +0400, Varshavchick Alexander wrote: > I had a wrong-behaved server application which opened a unix socket to > respond to incoming connections, so that after the socket was opened, the > application core dumped each time it was launched. As a result, 'netstat > -f unix' now shows a lot of not-needed active entries. Is there any way to > delete them, or will they eventually die by themselves? I suspect this is a bug in the Unix domain code somewhere. I think there is a PR assigned to me regarding it, but I've never got around to fixing it. I don't think there is any easy way to clean them up. David.