Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5381

Troubleshooting • cgroup memory not functioning on RPI 5

$
0
0
On my PI 4 I had added
cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1
to /boot/cmdline.txt

and
[Service]
Delegate=cpu cpuset io memory pids
to /etc/systemd/system/user@.service.d/delegate.conf

And this worked well for docker stats etc.
But with the same setup on PI 5, memory does not show properly. Checking below seems to indicate memory is not active? How to flip it to active on RPI 5 ?
$ cat /proc/cgroups
#subsys_namehierarchynum_cgroupsenabled
cpuset0571
cpu0571
cpuacct0571
blkio0571
memory0570
devices0571
freezer0571
net_cls0571
perf_event0571
net_prio0571
pids0571

Statistics: Posted by memag — Mon Dec 11, 2023 4:15 am



Viewing all articles
Browse latest Browse all 5381

Trending Articles