-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't create shadowsocks connection for xxx : too many open files #53
Comments
重启 cow 应该可以解决问题。 你部署的 cow 有很多人使用么?如果是 Linux/OS X 的话,命令 昨天刚刚做了尽快关闭 idle server connection 的修改,这个改动可以减少同时打开的 socket 数,减小这个问题出现的可能性。 |
恩 所以连接数有点多 在 2013-7-1,15:43,"Chen Yufei" notifications@github.com 写道:
|
发了个新版本。如果还遇到这个问题就把打开文件数上限调大一些吧。 |
OK 谢啦 :D 在 2013-7-1,19:24,"Chen Yufei" notifications@github.com 写道:
|
Yufei, 怎么调整打开文件数?我用网上的找到的办法,但很快文件数自动又恢复成1024了。1024对于共享服务器还是太小了。 |
看我的这个笔记吧,页面内搜索 open fd。 |
找到症结所在了。 vi /etc/pam.d/su uncomment the following line #session required pam_limits.so 然后重启即可。 |
can't create shadowsocks connection for: www.facebook.com:443 dial udp 8.8.8.8:53: too many open files
运行了半个月 出现了这个问题,然后无法继续代理
The text was updated successfully, but these errors were encountered: