artificial limit, 1024 processes by user

Henrik Nordström henrik at henriknordstrom.net
Sat May 14 19:35:09 UTC 2011


lör 2011-05-14 klockan 19:33 +0200 skrev Xose Vazquez Perez:

> default is 24010, but it was reduced to 1024 by
> user(included root) in: /etc/security/limits.d/90-nproc.conf
> to prevent accidental fork bombs(see rhbz #432903).
> 
> Is it still worth it? The kernel brings oom_kill.

Yes it's needed.

Also it's trivial to tune when needed, even on an per process basis,
just use ulimit -u to set it to whatever you want (within the hard
limits of the box)

Regards
Henrik



More information about the devel mailing list