Re: compressed TIME-WAIT to be decomissioned

From: Jamie Landeg-Jones <jamie_at_catflap.org>
Date: Thu, 13 Jan 2022 18:25:06 UTC
Gleb Smirnoff <glebius@FreeBSD.org> wrote:

>   modern HTTP server can be lowered 3 times more.  Feel free to lower
>   net.inet.tcp.msl and do your own measurements with
>   'netstat -sp tcp | grep TIME-WAIT'.  I'd be glad to see your results.

Without changing net.inet.tcp.msl I get:

 | 18:18 (46.0°C 1100) (2) "/tmp" jamie@thompson% do-all-hosts 'netstat -sp tcp | grep TIME_WAIT'
 | _______________________________________________________
 | jamie@catflap: netstat -sp tcp | grep TIME_WAIT
 |  catflap:       1506 connections in TIME_WAIT state
 | _______________________________________________________
 | jamie@catnip: netstat -sp tcp | grep TIME_WAIT
 |   catnip:       1666 connections in TIME_WAIT state
 | _______________________________________________________
 | jamie@catseye: netstat -sp tcp | grep TIME_WAIT
 |  catseye:       2334 connections in TIME_WAIT state
 |
 | .
 | .

Not primarily webservers, but running an application with (obviously) lots of
short-lived tcp connections...

Cheers, Jamie