Cgroup OOM bug

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

 



I've found a reproducible case where you can create an infinite loop inside the oom killer if you create a cgroup with a single process that has oom_adj=-17 and trigger an OOM situation inside that cgroup.

It seems that oom_adj should probably be ignored in the case where it makes the OOM situation unsolvable.  Here's an excerpt from the console output when the bug is triggered:

Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child
Memory cgroup out of memory: kill process 25306 (memeater) score 0 or a child

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux