ulimit -n

修改 /etc/security/limits.conf,添加如下内容,

*        soft    nofile    65536
*        hard    nofile    65536

重启。

(完)

原文地址:https://www.cnblogs.com/gaowengang/p/14586010.html