修改linux open files(ulimit -n):
vi /etc/security/limits.conf
在最后加上
* soft nofile 65532
* hard nofile 65532
root soft nofile 65532
root hard nofile 65532
也不必重启机器,断开当前连接,重连就可以生效
vi /etc/security/limits.conf
在最后加上
* soft nofile 65532
* hard nofile 65532
root soft nofile 65532
root hard nofile 65532
也不必重启机器,断开当前连接,重连就可以生效