ulimit 参数调整

vim /etc/security/limits.conf

root soft nofile 102400
root hard nofile 102400
root soft nproc 65535
root hard nproc 65535
root soft sigpending 65535
root hard sigpending 65535
* soft sigpending 65535
* hard sigpending 65535
* soft nofile 65535
* hard nofile 65535
* soft nproc 65535
* hard nproc 65535

exec $SHELL
ulimit -a