編輯/etc/security/limits.conf
添加:
* soft nofile 65535* hard nofile 131072* soft nproc 2048* hard nproc 4096