kubernetes – How to interpret this kernel message: cgroup out of memory: Kill process 1234 …. score 1974 or sacrifice child?

kubernetes – How to interpret this kernel message: cgroup out of memory: Kill process 1234 …. score 1974 or sacrifice child?

I believe this is actually answered here

If you check the Linux kernel code here. Youll see:

/*
 * If any of ps children has a different mm and is eligible for kill,
 * the one with the highest oom_badness() score is sacrificed for its
 * parent.  This attempts to lose the minimal amount of work done while
 * still freeing memory.
 */

mm means Memory Management.

The only difference here is that this kill is getting triggered by cgroups because you have probably run into memory limits.

kubernetes – How to interpret this kernel message: cgroup out of memory: Kill process 1234 …. score 1974 or sacrifice child?

Leave a Reply

Your email address will not be published.