首先切换到root
先执行ulimt -SHn 65534
然后编辑 vim /etc/security/limits.conf
#在最后加入
* soft nofile 65534 * hard nofile 65534 root soft nofile 65534 root hard nofile 65534

首先切换到root
先执行ulimt -SHn 65534
然后编辑 vim /etc/security/limits.conf
#在最后加入
* soft nofile 65534 * hard nofile 65534 root soft nofile 65534 root hard nofile 65534