Best way to override 1024 process ulimit

Posted by CamelBlues on Server Fault See other posts from Server Fault or by CamelBlues
Published on 2012-08-29T15:21:39Z Indexed on 2012/08/29 15:40 UTC
Read the original article Hit count: 446

Filed under:
|
|

On CentOS distros, there is an /etc/security/limits.d/90-noproc.conf that sets a process limit for all users:

# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     1024

I'd like to keep this limit in there, but allow one user to have more than 1024 processes. Because of how the server is puppetized, I'm unable to use the built-in bash ulimit command.

© Server Fault or respective owner

Related posts about puppet

Related posts about best-practices