From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 26 Jun 2010 13:14:20 -0400 To: lucio@proxima.alt.za, 9fans@9fans.net Message-ID: <5f0faf0671d7d4270b5666c6ef62f66b@kw.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Cleaning up the IP tables Topicbox-Message-UUID: 374bb070-ead6-11e9-9d60-3106f5b1d025 On Sat Jun 26 12:24:30 EDT 2010, lucio@proxima.alt.za wrote: > I'm not sure how long it's been building up, but there are more than > 4000 "Closed" TCP connections on a web accessible Plan 9 server, > according to netstat. Is there a simple way to clean up and delete > all these entries or does one have to do something dramatic? I can't > drop the network, the server is a long way from here :-) > > I don't like rebooting, but I don't like 4000-odd netstat entries > either. > > Hm, many are local "ticket" connections, you'd think they'd go away > once dealt with. The kernel is a little less than two years old, I'll > have to consider an upgrade. closed connections are not garbage collected. they wait for a fresh open. since they take very little memory, it's an elegant design that eliminates a number of potential locking problems. - erik