too many open files

查看进程文件句柄设置

cat /proc/<pid>/limits

找到open files这一项,查看设置值是否过小

修改值大小:

在/etc/secutiry/limits.conf末尾添加:

root hard nofile 655360

root soft nofile 655360

修改完成后关闭客户端,如xshell,然后用命令查看是否生效:

ulimit -a 

 

posted @ 2022-12-30 14:54  鼠标的博客  阅读(41)  评论(0编辑  收藏  举报