Date: Wed, 25 Jun 2003 01:28:31 +0800 From: leafy <leafy@leafy.idv.tw> To: freebsd-hackers@freebsd.org Subject: Re: How to delete unix socket entries Message-ID: <20030624172831.GA24320@chihiro.leafy.idv.tw> 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>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030624172831.GA24320>
