How to delete unix socket entries

Paul Robinson paul at iconoplex.co.uk
Tue Jun 24 10:29:24 PDT 2003


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


More information about the freebsd-hackers mailing list