1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Change sysctl settings

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-03-12 20:09:57 +01:00
parent 0de6d0aaa2
commit ec22b7e248

View file

@ -22,9 +22,9 @@ net.ipv4.tcp_tw_reuse = 1
# turn off fast timewait sockets recycling
#net.ipv4.tcp_tw_recycle = 0
# short FIN timeout
#net.ipv4.tcp_fin_timeout = 60
#net.ipv4.tcp_fin_timeout = 40
# increase max orphans
net.ipv4.tcp_max_orphans = 16384
net.ipv4.tcp_max_orphans = 32768
# short keepalive time
#net.ipv4.tcp_keepalive_time = 2400
# outbound port range
@ -32,7 +32,7 @@ net.ipv4.ip_local_port_range = 9999 65000
# max SYN backlog
net.ipv4.tcp_max_syn_backlog = 10240
# max timewait sockets held by system simultaneously
net.ipv4.tcp_max_tw_buckets = 10000
net.ipv4.tcp_max_tw_buckets = 6000
# turn on TCP Fast Open on both client and server side
#net.ipv4.tcp_fastopen = 3
# TCP receive buffer
@ -60,4 +60,4 @@ net.ipv4.tcp_ecn = 2
#net.ipv4.tcp_dsack = 0
#net.ipv4.tcp_fack = 0
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.route.gc_timeout = 150
net.ipv4.route.gc_timeout = 150