README.md [Errno 24] Too many open files
This commit is contained in:
parent
1f05b378ac
commit
a5ddc3289a
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -75,6 +75,17 @@ PHP Eg:
|
||||||
socket_sendto($sock, $msg, $len, 0, MANAGE_BIND_IP, MANAGE_PORT);
|
socket_sendto($sock, $msg, $len, 0, MANAGE_BIND_IP, MANAGE_PORT);
|
||||||
socket_close($sock);
|
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
|
shadowsocks
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue