Migrating from CGroup v1 to CGroup v2 causing OOM in RHOCP 4

Solution Verified - Updated -

Issue

  • Getting below error after migrating from CGroup v1 to CGroup v2 :
Memory cgroup out of memory: Killed process (pid) (process-name) total-vm:9093604kB , anon-rss:2098568kB, file-rss:67854kB, shmem-rss:0kB, UID:1000370000 pgtables: 4372kB oom_score_adj:997

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.16+

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content