vi /etc/security/limits.conf
增加以下面的内容
* soft nofile 65535* hard nofile 65535* soft nproc 65535* hard nproc 65535