Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2004 20:38:29 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Eli Dart <dart@nersc.gov>
Cc:        Omer Faruk Sen <ofsen@enderunix.org>
Subject:   Re: time 
Message-ID:  <20041011203609.N77693@odysseus.silby.com>
In-Reply-To: <20041011181026.35775F987@gemini.nersc.gov>
References:  <20041011181026.35775F987@gemini.nersc.gov>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 11 Oct 2004, Eli Dart wrote:

>
> In reply to Omer Faruk Sen <ofsen@enderunix.org> :
>
>> According to the very old article stated
>> http://www.totse.com/en/technology/computer_technology/162444.html there is
>> no way to tune time_wait timeout in FreeBSD. But since it is very old
>> article my question is this:
>>
>> Is there a way to change the time_wait timeout value in FreeBSD?
>
> sysctl -w net.inet.tcp.msl=<milliseconds>
>
> The default is 30000 (30 seconds).
>
> 		--eli

That may have other sideeffects, however.

In FreeBSD 5.x, the TIME_WAIT timeout is not configurable, but time_wait 
sockets are stored in a seperate hash table.  Also, they are now 
terminated prematurely when there is a shortage of ephemeral ports.  As a 
result, time_wait sockets are no longer the problem they were in certain 
situations under 4.x.

Mike "Silby" Silbersack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041011203609.N77693>