[Bug 1227223] podman stats doesn't show the MEM USAGE in rootless containers
https://bugzilla.suse.com/show_bug.cgi?id=1227223 https://bugzilla.suse.com/show_bug.cgi?id=1227223#c9 --- Comment #9 from Walddys Emmanuel Dorrejo Céspedes <dev.dorrejo@gmail.com> --- (In reply to Alexandre Vicenzi from comment #8)
(In reply to Walddys Emmanuel Dorrejo Céspedes from comment #4)
Hello, Have the same issue, and looks like nobody of openSUSE team is following this.
`memory.stat: no such file or directory`
in the folder: /sys/fs/cgroup/ appear all cgroups
but in folder: /sys/fs/cgroup/user.slice: it would not be added io and memory.
Have you tried enabling delegation as described in https://rootlesscontaine.rs/getting-started/common/cgroup2/?
This step should add the missing controllers and fix the errors.
The solution I found is this: systemctl edit user@.service (this will create automatically the override.conf file) Add: [Service] Delegate=cpu memory pids io then: systemctl daemon-reload systemctl restart systemd-logind user@.service -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com