Linux kernel info out of date on Software recommendations page #7391
Description
General issue
Description:
Regarding https://devdocs.magento.com/guides/v2.3/performance-best-practices/software.html
Operating System section specifically
The Linux kernel supports a mechanism to “reuse” and “recycle” TCP connections. Be aware that more aggressive recycling than re-use may cause issues on the load balancers. To enable these kernel settings, set the following values in /etc/sysctl.conf:
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
Possible solutions:
Well first and foremost net.ipv4.tcp_tw_recycle doesnt exist past kernel 4.12
see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4396e46187ca5070219b81773c4e65088dac50cc
also https://stackoverflow.com/questions/6426253/tcp-tw-reuse-vs-tcp-tw-recycle-which-to-use-or-both
not even notated anymore in sysctl documention https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
and net.ipv4.tcp_tw_reuse is useless for incoming connections
Enabling net.ipv4.tcp_tw_reuse is useless for incoming connections.
please see https://vincent.bernat.ch/en/blog/2014-tcp-time-wait-state-linux