vi /etc/security/limits.conf 在文件最后添加 * soft nofile 102400 * hard nofile 102400 修改后需要重启机器生效 reboot