Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2003 18:29:36 +0100
From:      Paul Robinson <paul@iconoplex.co.uk>
To:        Varshavchick Alexander <alex@metrocom.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: How to delete unix socket entries
Message-ID:  <20030624172936.GX34365@iconoplex.co.uk>
In-Reply-To: <Pine.GSO.4.33.0306242117540.9816-100000@apache.metrocom.ru>
References:  <20030624171426.GU34365@iconoplex.co.uk> <Pine.GSO.4.33.0306242117540.9816-100000@apache.metrocom.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 24, 2003 at 09:23:01PM +0400, Varshavchick Alexander wrote:

> Surely, but sockstat shows only the correct number of entries, I mean that
> it doesn't show anything that is due to be killed. Yet netstat shows a
> whole lot (about 2000!) of entries like these:

Oh dear.
 
> b6eccf80 stream     17      0        0        0        0        0 /var/run/daemon.sock
> b647a600 stream     17      0        0        0        0        0 /var/run/daemon.sock
> b6a3c080 stream     17      0        0        0        0        0 /var/run/daemon.sock
> b6a3c100 stream     17      0        0        0        0        0 /var/run/daemon.sock
> 
> Only two of them seems to be usefull:
> b61103c0 stream      0      0        0 b631a440        0        0 /var/run/daemon.sock
> b5ec0440 stream      0      0 b5bfb2c0        0        0        0 /var/run/daemon.sock
> 
> How can I get rid of these extra ones?

Your process isn't running? Nothing else touching /var/run/daemon.sock? rm 
it. 

-- 
Paul Robinson



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