The kmem enabled memory cgroup cannot be fully released unless all associated kmem_cache are "destroyed"

Solution Verified - Updated -

Issue

  • The kernel memory-limited memory-controlled cgroup cannot be released unless the root kmem_cache is explicitly destroyed.

  • While attempting to create a cgroup under the memory resource controller the error cannot allocate memory is returned. For example:

    # mkdir /sys/fs/cgroup/memory/kubepods/burstable/podff4b0b02-34fd-49bb-8cfa-98a81316ab3c: cannot allocate memory
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In