Updated 优化 Shadowsocks (markdown)
parent
2fe5336c91
commit
54065af1f7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue