[lxc-users] Fork-bomb test

Nishant Agrawal nragrawal at cs.wisc.edu
Thu Nov 20 04:18:19 UTC 2014


Hi Folks,

I am trying to run fork bomb test inside a container to measure the 
extent of isolation containers provide. I am observing that even after 
putting all the available limits my host system becomes unresponsive 
after some time. Can someone throw light what should be the issue? 
Doesn't LXC handles situations like forkbomb?

I am running linux kernel 3.13.0.36generic.
I am setting below limits on the program,

  memory.limit_in_bytes 2G
  memory.soft_limit_in_bytes 1G
  memory.memsw.limit_in_bytes 3G
  memory.kmem.limit_in_bytes - 1G

Any help is appreciated.

Regards,
Nishant


More information about the lxc-users mailing list