修改 ulimit 参数

sudo vim /etc/security/limits.conf

文件下加:
* hard nofile 999999
* soft nofile 999999
* soft nproc 10240
* hard nproc 10240
* hard stack 102400
* soft stack 102400

  

原文地址:https://www.cnblogs.com/presleyren/p/11390191.html