[Linux-cluster] Fork Bomb breaking the cluster

Tiago Cruz tiagocruz at forumgdh.net
Fri Jan 23 17:18:10 UTC 2009


Hello Guys,

One simple shell fork bomb was breaking all the cluster (11 virtual
machines).

This not solve:
http://www.cyberciti.biz/tips/linux-limiting-user-process.html

(If I run as root, the virtual machine goes down, the I/O on GFS stop
and the cluster does not fence the virtual machine automatic).

The I/O return only if I fence_node manually.

PS: IF the fork bomb as write in C, does not break the cluster. Only the
Shell one...

[root at cluster-11 ~]# ulimit -a | grep proc
max user processes              (-u) 512
 
[root at cluster-11 ~]# cat fork.c 
#include <unistd.h>
 
int main(int argc, char* argv[])
{
  while(1)
    fork();
  return 0;
}

Fork Shell: # :(){ :|:& };:

Thanks a lot!

-- 
Tiago Cruz
http://everlinux.com
Linux User #282636





More information about the Linux-cluster mailing list