以root用戶運行 ulimit -a 命令,其中有兩個參數分別為:
open files和max user processes
修改方法:
vi /etc/security/limits.conf
* soft nofile 65535
* soft nofile 65535
* hard nofile 65535
* soft nproc 2047
* hard nproc 16384
* hard nproc 16384