Quantcast
Channel: Does linux have any measures to protect against fork bombs? - Super User
Viewing all articles
Browse latest Browse all 6

Does linux have any measures to protect against fork bombs?

$
0
0
#include <unistd.h>int main(int argc, char* argv[]) {  while(1)  {    fork();  } }

I run this program on my linux, nothing outputs on the terminal, the OS seems go dead. Does linux have any protection measure to such program which can run out of memory?


Viewing all articles
Browse latest Browse all 6

Trending Articles