informatique:system_admin:tcp
Ceci est une ancienne révision du document !
TCP
Les machines sont puissantes, le réseau est rapide, et pourtant à partir d'un certain nombre de connexions TCP des erreurs apparaissent, comme too many open files
.
$ cat /etc/sysctl.d/local.conf # Increase number of incoming connections net.core.somaxconn = 1024 # Increase number of incoming connections backlog net.core.netdev_max_backlog = 4096 # Decrease the time default value for tcp_fin_timeout connection net.ipv4.tcp_fin_timeout = 15
À avoir :
- tcp_keepalive_time
- /proc/sys/net/ipv4/tcp_tw_recycle
- /proc/sys/net/ipv4/tcp_tw_reuse
informatique/system_admin/tcp.1594099752.txt.gz · Dernière modification : 07/07/2020 07:29 de cyrille