Sockets stuck in FIN_WAIT_1

Mark Kirkwood markir at paradise.net.nz
Thu May 29 05:16:44 UTC 2008


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


More information about the freebsd-stable mailing list