From 54065af1f79f9300f91af0743e6af618984ea50a Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sun, 13 Jul 2014 18:22:59 -0700 Subject: [PATCH] =?UTF-8?q?Updated=20=E4=BC=98=E5=8C=96=20Shadowsocks=20(m?= =?UTF-8?q?arkdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 优化-Shadowsocks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/优化-Shadowsocks.md b/优化-Shadowsocks.md index b9f48db..dc40b88 100644 --- a/优化-Shadowsocks.md +++ b/优化-Shadowsocks.md @@ -1,4 +1,4 @@ -如果您看到很多 `error: too many open files` 在你的日志中,这时你就应该优化你的系统了。 +如果在你的日志中看到很多 `error: too many open files`,这时就应该优化你的系统了。 本教程适用于所有 Shadowsocks 服务端 (Python 版、libev 版、还有其他) 以下教程适用于 Debian7 系统: @@ -36,7 +36,7 @@ net.ipv4.tcp_congestion_control = hybla 注意:**不要开启 `net.ipv4.tcp_tw_recycle`!!!**[看这个文章](http://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html)。 -如果你在使用 [Supervisor](https://github.com/clowwindy/shadowsocks/wiki/Configure-Shadowsocks-with-Supervisor) 的话,请确保您的`/etc/default/supervisor`文件中有下面这一行。您一旦添加了这一行,请重启 Supervisor(`service stop supervisor && service start supervisor`) +如果你在使用 [Supervisor](https://github.com/clowwindy/shadowsocks/wiki/Configure-Shadowsocks-with-Supervisor) 的话,请确保 `/etc/default/supervisor` 文件中有下面这一行。添加这一行之后,请重启 Supervisor(`service stop supervisor && service start supervisor`) ``` ulimit -n 51200