Hello
I install cgconfig but not start if I select Enable limit for CPU
if I select memory and disk limit works.
When Memory and Disk limits are enable
systemctl status cgconfig.service
Redirecting to /bin/systemctl status cgconfig.service
* cgconfig.service - Control Group configuration service
Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; enabled; vendor preset: disabled)
Active: active (exited) since Thu 2019-06-20 10:16:54 UTC; 29s ago
Process: 29573 ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf -L /etc/cgconfig.d -e (code=exited, status=4)
Process: 32237 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 (code=exited, status=0/SUCCESS)
Main PID: 32237 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/cgconfig.service
journalctl -xe
Error: failed to send netlink message (mcast ctl op): Connection refused
if I select memory and disk limit works.
When CPU limits is enable
systemctl status cgconfig.service
Redirecting to /bin/systemctl status cgconfig.service
* cgconfig.service - Control Group configuration service
Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; enabled; vendor preset: disabled)
Active: active (exited) since Thu 2019-06-20 10:16:54 UTC; 29s ago
Process: 29573 ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf -L /etc/cgconfig.d -e (code=exited, status=4)
Process: 32237 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 (code=exited, status=0/SUCCESS)
Main PID: 32237 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/cgconfig.service
journalctl -xe
Redirecting to /bin/systemctl status cgconfig.service
* cgconfig.service - Control Group configuration service
Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-06-20 10:21:46 UTC; 11s ago
Process: 32745 ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf -L /etc/cgconfig.d -e (code=exited, status=4)
Process: 32748 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 (code=exited, status=101)
Main PID: 32748 (code=exited, status=101)
Jun 20 10:21:46 server systemd[1]: Unit cgconfig.service entered failed state.
Jun 20 10:21:46 server cgconfigparser[32748]: /usr/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mount...ailed
Jun 20 10:21:46 server cgconfigparser[32748]: /usr/sbin/cgconfigparser; error loading /etc/cgconfig.d/user-fabric16.co...unted
Jun 20 10:21:46 server cgconfigparser[32748]: Error: cannot mount cpu to /cgroup/cpu: Invalid argument
Jun 20 10:21:46 server systemd[1]: cgconfig.service failed.
Jun 20 10:21:46 server systemd[1]: Starting Control Group configuration service...
Jun 20 10:21:46 server systemd[1]: cgconfig.service: main process exited, code=exited, status=101/n/a
Jun 20 10:21:46 server systemd[1]: Failed to start Control Group configuration service.
Jun 20 10:21:46 server systemd[1]: Unit cgconfig.service entered failed state.
Jun 20 10:21:46 server systemd[1]: cgconfig.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
Also I notice if uninstall cgconfig uninstall bind too !
Regards,