我的系统是Ubuntu 16.04.2 (cat /etc/issue)
在/etc/security/目录下,文件名为limits.conf
格式为
用户 soft nofile number
用户 hard nofile number
我的为
root soft nofile 10240
root hard nofile 10240
me soft nofile 20480
me soft nofile 20480
修改后重启就ok了
我的系统是Ubuntu 16.04.2 (cat /etc/issue)
在/etc/security/目录下,文件名为limits.conf
格式为
用户 soft nofile number
用户 hard nofile number
我的为
root soft nofile 10240
root hard nofile 10240
me soft nofile 20480
me soft nofile 20480
修改后重启就ok了