June 28, 2018

Some TCP notes and links

Maximum connections

What people really talk about is the maximum rate of making short lived connections. The maximum number of connections is simply limited by the size of the TCB table. The rate is limited by the size of the table and the finwait timing. Each connection stays in FINWAIT for quite a long time (240 seconds if you adhere closely to the standard). Linux waits 30 seconds. I find that a shorter wait is fine, especially on an endpoint machine on a LAN.

Have any comments? Questions? Drop me a line!

Kyu / tom@mmto.org