我已经看到了serverfault.com/questions/436138/ulimit-not-reflected-for-jenkins-slave#new-answer,并没有为我工作的步骤,请帮助。
我使用的是红帽上的jenkins,我也有同样的问题。我把ulimit设置为99999,当我用ulimit命令检查ulimit时,我得到了99999,但是从jenkins的工作中我得到了1024.I“/lib64/security/pam_limits.so “和”/lib/security/pam_limits.so".I can not restart jenkins.I already added
root soft nofile 99999 root hard nofile 99999
到文件/etc/security/limits.config
请帮忙。