nefelim4ag / Ananicy

Ananicy - is Another auto nice daemon, with community rules support (Use pull request please)
GNU General Public License v3.0
567 stars 79 forks source link

I see this error when starting "ananicy dump proc" #418

Open servimo opened 3 years ago

servimo commented 3 years ago

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++

nefelim4ag commented 3 years ago

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

servimo commented 3 years ago

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 commented 2 years ago

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

nefelim4ag commented 2 years ago

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