linux ulimit 永久生效设置方法

修改/etc/security/limits.conf
增加如下信息:
* soft nofile 32768  --软限制
* hard nofile 65536 --硬限制


然后重启生效。

原文地址:https://www.cnblogs.com/lcinx/p/10570760.html