4 ms·
but vars controlling how long a tcp sock is held for or if they are reused is controlled my the kernel.
by nwmcsween 12y ago
but vars controlling how long a tcp sock is held for or if they are reused is controlled my the kernel.
- donavanm 12y agoI think youre talking about timewait states et al. On linux thats dominated by the MSL, which is a compile time constant of 60 seconds. You mentioned sysctls, those are primarily tcp_tw_reuse and tcp_tw_recycle (which is the worlds worst sysctl). Regardless, its a couple KB per connection. How many hundred thousand do you want to support?