[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Fork Bomb breaking the cluster



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 cluster-11 ~]# ulimit -a | grep proc
max user processes              (-u) 512
 
[root 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]