Help Center/ Huawei Cloud EulerOS/ FAQs/ What Do I Do If IMA Uses Too Much Memory?
Updated on 2025-12-08 GMT+08:00

What Do I Do If IMA Uses Too Much Memory?

Symptom

The slab memory usage keeps increasing. As a result, some services cannot be started. The slabtop command shows that kmalloc has taken up a lot of memory, and memory usage is still increasing.

Possible Cause

Integrity Measurement Architecture (IMA) measurement may use excessive kernel memory depending on policy settings. IMA, as part of the Linux open-source kernel, always stores measurement records in the kernel memory to ensure the reliability of measurement results.

Solution

Modify the cmdline to remove integrity=1 and ima_policy=tcb.