From e781082dbbd6c48042c50827920940a6e29273ec Mon Sep 17 00:00:00 2001 From: Ycarus Date: Fri, 27 Jul 2018 08:57:10 +0200 Subject: [PATCH] Add again tcp_mem sysctl --- shadowsocks-libev/files/shadowsocks.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks-libev/files/shadowsocks.conf b/shadowsocks-libev/files/shadowsocks.conf index 05a74d6b3..9f705a6f1 100644 --- a/shadowsocks-libev/files/shadowsocks.conf +++ b/shadowsocks-libev/files/shadowsocks.conf @@ -35,9 +35,9 @@ net.ipv4.tcp_fastopen = 3 # TCP receive buffer net.ipv4.tcp_rmem = 4096 87380 134217728 # TCP write buffer -net.ipv4.tcp_wmem = 4096 87380 134217728 +net.ipv4.tcp_wmem = 4096 65536 134217728 # TCP buffer -##net.ipv4.tcp_mem = 25600 87380 102400 +net.ipv4.tcp_mem = 134217728 134277728 134217728 # turn off path MTU discovery net.ipv4.tcp_mtu_probing = 0