My Oracle Support Banner

Oracle Linux: Output of /sys/fs/cgroup/memory/memory.stat Showing Inconsistent Values (Doc ID 3073920.1)

Last updated on MARCH 17, 2025

Applies to:

Linux OS - Version Oracle Linux 8.10 with Unbreakable Enterprise Kernel [5.15.0] and later
Linux x86-64

Symptoms

In cgroup v1, some values in memory.stat (e.g., cache, rss, mapped_file) occasionally exceed both the configured memory limit (memory.limit_in_bytes) and the total physical memory of the host. This behavior has been observed starting with kernel version 5.15.0-300.163.18. The issue was not present in kernel version 5.15.0-209.161.7.2.

The behavior affects not only the cache parameter but also other non-total_* parameters in memory.stat, raising concerns about the reliability of memory accounting.

This issue is observed for all of the following:

 

Changes

Upgraded to 5.15.0-302.167.6.el8uek.x86_64 UEK kernel version.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.