解决方法: 1./etc/pam.d/login 添加 /lib/security/pam_limits.so 2. /etc/security/limits.conf 添加 * – nofile 1006154 3.重启机器。