Cgroups checking

#1
Following this KB, I don't have cgroups configured
Code:
# ls /sys/fs/cgroup/cgroup.controllers
ls: cannot access '/sys/fs/cgroup/cgroup.controllers': No such file or directory

# cat /sys/fs/cgroup/cgroup.subtree_control
cat: /sys/fs/cgroup/cgroup.subtree_control: No such file or directory
However, it's enabled in httpd-cgirlimit.conf. I am using CloudLinux already. Do I need to keep cgroups enabled? Or can I disable it?
Thanks.
 
#3
In httpd-cgirlimit.conf, I set cgroups 2 which is disabled. However, in stderr.log, full of this kind of log:
Code:
2024-03-12 21:52:23.806729 Cgroups returning success file: /sys/fs/cgroup/systemd/user.slice/user-1039.slice/litespeed-exec.scope/cgroup.procs, pid: 3307480
2024-03-12 21:53:06.256329 Cgroups returning success file: /sys/fs/cgroup/systemd/user.slice/user-1026.slice/litespeed-exec.scope/cgroup.procs, pid: 3307663
2024-03-12 21:53:20.888879 Cgroups returning success file: /sys/fs/cgroup/systemd/user.slice/user-1027.slice/litespeed-exec.scope/cgroup.procs, pid: 3307685
Why do those log appear in stderr.log file?
 
Top