连接linux服务器,人数连至700多人时,报出"too many open files"错误
问题同上,看了网上关于too many open files的解决方法,都试过了,可是还是不行,ulimit -a结果:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 15355
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
不知道是何原因?
------解决方案--------------------是不是要重启机器才有效?
这就搞不懂了.