ulimit -n

vim  /etc/security/limits.conf

* soft nproc 1000000

* hard nproc 1000000

* soft nofile 1000000

* hard nofile 1000000

root soft nproc 1000000

root hard nproc 1000000

root soft nofile 1000000

root hard nofile 1000000

你可能感兴趣的:(ulimit -n)