too many open files

查看句柄设置
ulimit -a

open files                      (-n) 1024

永久修改设置
vim /etc/security/limits.conf

* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535

重新登录生效

参考
https://www.cnblogs.com/zphqq/p/9267722.html

posted @ 2021-10-27 15:04  vaen  阅读(35)  评论(0)    收藏  举报