centos系统error: too many open files问题的处理

1. 打开编辑limits.conf文件

vi /etc/security/limits.conf

2. 插入以下内容
* hard nofile 999999
* soft nofile 999999
* soft nproc 65535
* hard nproc 65535
* hard stack 102400
* soft stack 102400

3. 查看确认是否修改成功
ulimit -a

posted @ 2020-03-05 11:28  卡卡西村长  阅读(967)  评论(0编辑  收藏  举报