keeshah
Posts: 2
Joined: Tue Apr 02, 2019 1:20 pm

Problems with cgroups-memory in the kernel

Tue Apr 02, 2019 1:28 pm

Hiya,

I try to run a kubernetes cluster on raspberry and ran into the cgroups mem problem, that seem to be around since a while. I found a doku about adding a parameter in cmdline.txt:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=memory cgroup_memory=1 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

what seems to have no effect. I am running the latest firmware and kernel 4.19:

root@akira:~# uname -a
Linux akira 4.19.30-v7+ #1209 SMP Tue Mar 26 13:14:20 GMT 2019 armv7l GNU/Linux
root@akira:~# rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Your firmware is already up to date

Does anybody else have another idea? I skip the Systemtest for kubernetes right now, which will force the clusterjoin, but this isn't a very good solution.

Cheers,
Dirk.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6275
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Problems with cgroups-memory in the kernel

Tue Apr 02, 2019 3:50 pm

cgroups is disabled in the rpi-update kernel right now. It causes a memory leak which eventually locks the pi up. The change will be reverted once the problem is fixed upstream.

keeshah
Posts: 2
Joined: Tue Apr 02, 2019 1:20 pm

Re: Problems with cgroups-memory in the kernel

Wed Apr 03, 2019 9:22 am

Thanks a ton!!

This explains it.

I will wait for an update.

Cheers,
Dirk.

JessicaMulein
Posts: 2
Joined: Mon Dec 16, 2019 2:08 pm

Re: Problems with cgroups-memory in the kernel

Sun Mar 29, 2020 8:28 am

For the sake of those finding this from Google- has this been resolved upstream as of March 29, 2020?

User avatar
clicky
Posts: 511
Joined: Thu Oct 25, 2012 7:34 am

Re: Problems with cgroups-memory in the kernel

Sat Jul 25, 2020 2:35 pm

Bump? Any chance getting some indication has it been resolved or not, yet?

Return to “Troubleshooting”