From owner-freebsd-stable@FreeBSD.ORG Thu May 29 19:41:04 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F712106564A for ; Thu, 29 May 2008 19:41:04 +0000 (UTC) (envelope-from rblayzor.bulk@inoc.net) Received: from mx1-b.inoc.net (mx1-b.inoc.net [64.246.131.28]) by mx1.freebsd.org (Postfix) with ESMTP id D11938FC19 for ; Thu, 29 May 2008 19:41:03 +0000 (UTC) (envelope-from rblayzor.bulk@inoc.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=inoc.net; h=Received:From:To:Subject:Date; b=FHw3ER3/d/ko4feX/fmzcQbpVGepX7IhI8zbQjBFtLjzUJgB2mWRYqh2h13r+dYfvKpcstnmEIzQv2VerkgHCrHHBpmibXiz8DS8mIHF0LoNIy10VwZ2hTw74YBvkNJXAML5HEOoEcv8GW00bQwy2UtHvcZvhgxb2naUO1h8uz8=; Received: from void.ops.inoc.net (vanguard.noc.albyny.inoc.net [64.246.135.8]) by mx1-b.inoc.net (build v8.3.29) with ESMTP id 149673562-1941382 for multiple; Thu, 29 May 2008 19:41:00 +0000 (UTC) Message-Id: <66F73A31-847D-483D-B2C1-CC7E52484C7B@inoc.net> From: Robert Blayzor To: Matthew Dillon In-Reply-To: <200805291930.m4TJUeGX025815@apollo.backplane.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Thu, 29 May 2008 15:41:00 -0400 References: <1A19ABA2-61CD-4D92-A08D-5D9650D69768@mac.com> <23C02C8B-281A-4ABD-8144-3E25E36EDAB4@inoc.net> <483DE2E0.90003@FreeBSD.org> <483E36CE.3060400@FreeBSD.org> <483E3C26.3060103@paradise.net.nz> <483E4657.9060906@FreeBSD.org> <483EA513.4070409@earthlink.net> <96AFE8D3-7EAC-4A4A-8EFF-35A5DCEC6426@inoc.net> <483EAED1.2050404@FreeBSD.org> <200805291912.m4TJCG56025525@apollo.backplane.com> <14DA211A-A9C5-483A-8CB9-886E5B19A840@inoc.net> <200805291930.m4TJUeGX025815@apollo.backplane.com> X-Mailer: Apple Mail (2.924) Cc: freebsd-stable@freebsd.org Subject: Re: Sockets stuck in FIN_WAIT_1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 19:41:04 -0000 On May 29, 2008, at 3:30 PM, Matthew Dillon wrote: > It is quite possible that the other ends of the connection are > still > live and that the issue could very well be a timeout setting in the > server config file instead of something in the TCP stack. Good point, I didn't think about this, but once i started getting over 1000 of these and it just kept growing, I started to rule it out, but I won't this time. I've moved the server over to 7.0 now which is taking load. I'm already thinking this problem is NOT fixed and is the same behavior as in 4.x because I'm seeing quite a few FIN_WAIT_1's collect now. [mirror0:~] netstat -an | grep FIN_WAIT_1 | wc -l I set the keepalive lower as I've mentioned, 15 mins and 30 sec intervals... I'll see if I have any specifically that stick around for a while and I'll try dumping one of those sessions and see.... -- Robert Blayzor, BOFH INOC, LLC rblayzor@inoc.net http://www.inoc.net/~rblayzor/