'how to Increase open files limit in Jenkins
I would like to increase the max of opening file in Jenkins job, where I use a username called jenkins.
So from the server where jenkins is installed the limit has been changed as I wanted, please see the picture :
However, from the jenkins job shell I get the following :
/etc/security/limits.conf contains:
jenkins hard nofile 65536 jenkins soft nofile 65536
But that is ignored by jenkins. Executing ulimit -n
in the jenkins build "Execute shell command" section outputs 4096 instead of expected 65536.
as you see in the photo
nofile : 4096
any thoughts or idea ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|