vi /etc/security/limits.d/90-nproc.conf
* - nofile 65536
* - nproc 65536
root soft nproc unlimited
vi /etc/security/limits.conf 注销所有
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4* - nofile 65535
# End of file
~/.bash_profileulimit -c unlimited