Missing memory stats in Systemd Services table on Raspberry Pi #1433
davidemyers
started this conversation in
General
Replies: 3 comments 1 reply
|
Thanks very much, I updated the docs to mention this and link to your comment 👍 |
0 replies
|
Thank you so much! I spent way too much time figuring out where to enable this on a new Ubuntu (25.10 as you mentioned) system. This was so helpful. Knowing to search for |
0 replies
|
It appears that this is no longer an issue as of Ubuntu 26.04. The "cgroups memory controller" is no longer disabled by default. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
If you're missing the memory stats for running services in the new Systemd Services table, and you're using a Raspberry Pi, it might be because your OS provider has deliberately disabled the "cgroups memory controller". There are three ways to confirm if this is causing your issue:
systemctl statusfor a service does not show memory information.memoryin the output ofcat /sys/fs/cgroup/cgroup.controllerscgroup_disable=memoryin the output ofcat /proc/cmdlineTo enable the "cgroups memory controller" you need to add
cgroup_enable=memoryto yourcmdline.txtfile, which is usually in/boot/firmware, but might be in/boot/firmware/currentif you're running Ubuntu 25.10 or later. Then you will need to reboot.See this commit and the commit it references for why this feature is disabled by default.
All reactions