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

Add tcp_mem setting

This commit is contained in:
Ycarus 2018-06-27 20:02:48 +02:00
parent 1485da1b8c
commit 9598b30c1a

View file

@ -25,7 +25,7 @@ net.ipv4.tcp_fin_timeout = 30
# short keepalive time
#net.ipv4.tcp_keepalive_time = 2400
# outbound port range
net.ipv4.ip_local_port_range = 10000 65000
net.ipv4.ip_local_port_range = 9999 65000
# max SYN backlog
net.ipv4.tcp_max_syn_backlog = 4096
# max timewait sockets held by system simultaneously
@ -36,6 +36,8 @@ net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_rmem = 4096 87380 134217728
# TCP write buffer
net.ipv4.tcp_wmem = 4096 65536 134217728
# TCP buffer
net.ipv4.tcp_mem = 25600 51200 102400
# turn on path MTU discovery
net.ipv4.tcp_mtu_probing = 1