Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

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

Open
servimo opened this issue Aug 28, 2021 · 4 comments
Open

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

servimo opened this issue Aug 28, 2021 · 4 comments

Comments

@servimo
Copy link

servimo commented Aug 28, 2021

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
Copy link
Owner

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

@servimo
Copy link
Author

servimo commented Aug 29, 2021

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
Copy link
Author

servimo commented Aug 31, 2021

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
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants