linux ulimit 永久生效设置方法 修改/etc/security/limits.conf增加如下信息:* soft nofile 32768 --软限制* hard nofile 65536 --硬限制然后重启生效。