From a5ddc3289a3398eb1ae460a840143ea3b4fc76ce Mon Sep 17 00:00:00 2001 From: mengskysama Date: Thu, 18 Sep 2014 11:08:43 +0800 Subject: [PATCH] README.md [Errno 24] Too many open files --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 44b5ad7..13179c1 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,17 @@ PHP Eg: socket_sendto($sock, $msg, $len, 0, MANAGE_BIND_IP, MANAGE_PORT); socket_close($sock); +NOTICE +------------------ +If error such like `2014-09-18 09:02:37 ERROR [Errno 24] Too many open files` + +edit /etc/security/limits.conf + +Add: + + * soft nofile 8192 + * hard nofile 65535 + shadowsocks ===========