No "memory" cgrup controller supported by the new kernel

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

No "memory" cgrup controller supported by the new kernel

Postby Sbyrr0 » Wed May 13, 2020 10:29 pm

I've been unable to get systemd to return the memory usage value for my services for a week, at first I thought about its latest update, but it doesn't affect my x64 computer.

A developer pointed out that the new 5.4 kernel, is missing the support for the "memory" cgroup controller. Why is it turned off? What can I do to restore this feature?
Last edited by Sbyrr0 on Sat May 23, 2020 4:02 pm, edited 1 time in total.
Sbyrr0
 
Posts: 7
Joined: Wed May 13, 2020 10:05 pm

Re: No "memory" cgrup controller supported by the new kernel

Postby rollenwiese » Fri May 15, 2020 4:23 pm

Interesting, I wonder if this is why since the updated to 5.4 I have had all kinds of issue with the kernel 'oom_killer' being triggered when I start anything memory intensive. Like if I start xorg, then firefox, the kernel oom_killer will be triggered.

This is on a Rpi4 w/4G RAM, and everything runs perfectly fine on 4.19.

Kernel cmdline includes: cgroup_enable=memory cgroup_memory=1
rollenwiese
 
Posts: 4
Joined: Sat Jan 18, 2020 5:24 pm

Re: No "memory" cgrup controller supported by the new kernel

Postby Sbyrr0 » Sat May 23, 2020 4:01 pm

Thank you, adding
Code: Select all
cgroup_enable=memory cgroup_memory=1
to "/boot/cmdline.txt" fixed it.
Sbyrr0
 
Posts: 7
Joined: Wed May 13, 2020 10:05 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 4 guests