You are not logged in.
Pages: 1
I need to run an app which requires /sys/fs/cgroup/memory/
But there is no /sys/fs/cgroup/memory/ in my system. This exists in ubuntu by default. I have tried to add "cgroup_enable=memory cgroup_memory=1" to my grub cmdline, tried to use other kernels (linux-lts, linux-zen) but none of them worked. ![]()
Last edited by jarif-rahman (2021-08-18 08:02:58)
Offline
If you literally really actually need that you probably need to switch to cgroup v1: https://wiki.archlinux.org/title/Cgroup … _cgroup_v1
But maybe read the rest of that page, are sure this isn't doable via a normal cgroup adjustment/adding relevant limits to a systemd service file.
Offline
That worked
But can any bad thing happen if I use cgroup v1 instead of v2 (like any other thing not working)?
Offline
I haven't looked into it too deep, I'm assuming systemd has old style fallbacks for enforcing the limits it knows about in service files still. But I haven't looked into cgroups too closely so might be off base
Offline
Pages: 1