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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot