How to delete unix socket entries

leafy leafy at leafy.idv.tw
Tue Jun 24 10:28:35 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:
> How can I get rid of these extra ones?
you might want to tweak these:

net.inet.tcp.keepidle: 7200000
net.inet.tcp.keepintvl: 75000

so that to-be-killed connections won't stay up so long.
-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming


More information about the freebsd-hackers mailing list