From owner-freebsd-stable@FreeBSD.ORG Thu May 29 05:16:44 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 548D1106566C for ; Thu, 29 May 2008 05:16:44 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp4.clear.net.nz (smtp4.clear.net.nz [203.97.37.64]) by mx1.freebsd.org (Postfix) with ESMTP id 376618FC1C for ; Thu, 29 May 2008 05:16:44 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from zmori.markir.net (121-73-161-76.dsl.telstraclear.net [121.73.161.76]) by smtp4.clear.net.nz (CLEAR Net Mail) with ESMTP id <0K1M00HI96NSZU40@smtp4.clear.net.nz>; Thu, 29 May 2008 17:16:42 +1200 (NZST) Date: Thu, 29 May 2008 17:16:22 +1200 From: Mark Kirkwood In-reply-to: <483E36CE.3060400@FreeBSD.org> To: Doug Barton Message-id: <483E3C26.3060103@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <1A19ABA2-61CD-4D92-A08D-5D9650D69768@mac.com> <23C02C8B-281A-4ABD-8144-3E25E36EDAB4@inoc.net> <483DE2E0.90003@FreeBSD.org> <483E36CE.3060400@FreeBSD.org> User-Agent: Thunderbird 2.0.0.9 (X11/20080419) Cc: freebsd-stable@freebsd.org, Robert Blayzor 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 05:16:44 -0000 Doug Barton wrote: > Robert Blayzor wrote: >> On May 28, 2008, at 6:55 PM, Doug Barton wrote: >>> That's a known problem with FreeBSD 4, which is now well past EOL. I >>> would suggest moving to FreeBSD 7 ASAP. >> >> >> >> Is it? I searched and searched and never found any hits or PR's >> regarding this. > > Not sure where you looked then, but I not only saw the discussion > multiple times on various lists, I know I posted about our experiences > with it. :) > >> When was it first fixed? 5.x? 6.x? or not until 7? > > The reason I suggested moving to 7 is that it was branched most > recently, has the best new features, etc. If you have to jump FreeBSD > versions, this is the one that will get you the most bang for your > buck. If you aren't using SMP boxes and have a risk-averse > environment, the latest version of 6 will get you where you need to go. > > Please also note that while this problem has been tweaked somewhat in > later versions, it's not always a problem that can be "fixed" in the > OS. I'm guessing that you're using an Apache web server, since this is > the application that most often leads to this problem. There used to > be some helpful hints on Apache's web site for ways you can tune it to > reduce the problem, not sure if they're still there or not. > > > hth, > > Doug > The Apache page: http://httpd.apache.org/docs/2.3/misc/perf-tuning.html It mentions FIN_WAIT_2 not 1, so this might be a different/new problem. Cheers Mark