David, Ulimits are set on process startup. I think Jenkins slaves are started via ssh, if PAM is used, pam_limits would set them based on /etc/security/limits.conf. Host reboot is not required. For child process should inherit parent by default.
Looking at sshd_config, UsePAM is no --- ################### # ASF SSHD CONFIG # ################### AuthorizedKeysFile /etc/ssh/ssh_keys/%u.pub PermitRootlogin no PasswordAuthentication no PermitEmptyPasswords no AllowTcpForwarding no StrictModes yes LoginGraceTime 15 MaxAuthTries 5 UsePAM no AllowGroups sshusers ‹ Updated /etc/ssh/sshd_config and restarted sshd. Once jenkins slave process are restarted they should get new limits. Thanks rajive On 10/1/14, 2:10 PM, "David Nalley" <ke4...@apache.org> wrote: >Rajiv: > >Can you take a look at BUILDS-17 - we don't seem to be able to change >ulimit on a number of machines at Yahoo!. Or rather, it's not >preserved past reboot it seems. > >https://issues.apache.org/jira/browse/BUILDS-17 > >Thanks, > >--David