Quantcast
Viewing latest article 6
Browse Latest Browse All 6

Does linux have any measures to protect against fork bombs?

#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 latest article 6
Browse Latest Browse All 6

Trending Articles