Ananicy icon indicating copy to clipboard operation
Ananicy copied to clipboard

I see this error when starting "ananicy dump proc"

Open servimo opened this issue 2 years ago • 4 comments

I see this error when starting "ananicy dump proc"

File: /etc/ananicy.d/00-cgroups.cgroups, Line: 6, Error: cgroup fs: cpu missing File: /etc/ananicy.d/00-cgroups.cgroups, Line: 7, Error: cgroup fs: cpu missing

I am getting high CPU when compiling with C++

servimo avatar Aug 28 '21 23:08 servimo

You missing cpu cgroup in machine by some way, I think you use custom kernel which not support cpu cgroup

nefelim4ag avatar Aug 29 '21 01:08 nefelim4ag

No, not using custom kernel, maybe some configuration I did. I am using the kernel 5.14 or 5.10 from Manjaro, both happens this. This "Error: cgroup fs: cpu missing" means ananicy is not working?

servimo avatar Aug 29 '21 03:08 servimo

Adding this to /etc/default/grub line GRUB_CMDLINE_LINUX_DEFAULT "systemd.unified_cgroup_hierarchy=0" and then doing a "sudo update-grub" brings back the cgroup. https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues/19

servimo avatar Aug 31 '21 21:08 servimo

Hm... maybe I will take a look at cgroup2 when I have free time because currently I just don't use Ananicy at all

nefelim4ag avatar Sep 02 '21 15:09 nefelim4ag