ulimit -a
ulimit -n
ulimit -n 65535 会话临时设置,重启后无效
永久设置 vi /etc/security/limits.conf
添加:*右边多输入一个空格
soft nofile 65535
hard nofile 65535
*soft nofile 65535
*hard nofile 65535
ulimit -a
ulimit -n
ulimit -n 65535 会话临时设置,重启后无效
永久设置 vi /etc/security/limits.conf
添加:*右边多输入一个空格
soft nofile 65535
hard nofile 65535
*soft nofile 65535
*hard nofile 65535