Quantcast
Viewing all articles
Browse latest Browse all 6

Answer by Ken Bloom for Does linux have any measures to protect against fork bombs?

Use ulimit -u from the bash shell to set a limit on "max user processes".

From the C shell, you use the limit command.

If you need a system call to do this, use the setrlimit call to set RLIMIT_NPROC.


Viewing all articles
Browse latest Browse all 6

Trending Articles