cgconfig failed
Hi,
During linux booting, getting the below error. Stopping cgconfig service: [ OK ] Starting cgconfig service: Loading configuration file /etc/cgconfig.conf failed Cgroup mounting failed Failed to parse /etc/cgconfig.conf [FAILED] The kernel version I am using is rhel 3.10.11 and below is my /etc/cgconfig.conf file mount { cpuset = /cgroup/cpuset; cpu = /cgroup/cpu; cpuacct = /cgroup/cpuacct; memory = /cgroup/memory; devices = /cgroup/devices; freezer = /cgroup/freezer; net_cls = /cgroup/net_cls; blkio = /cgroup/blkio; } I tried the below option. mkdir /cgroup/blkio mount -t cgroup -o blkio blkio /cgroup/blkio/ With this, I am able to mount cgroups. But I need this service to be started during linux booting. pls, help me how can I resolve this. Need cgroups to be mounted during bootup. |
Hi,
It got resolved for me. I am not sure, what is the dependency, I just modified the order of the mounting cgroups. pls find the updated file below. mount { cpuacct = /cgroup/cpuacct; memory = /cgroup/memory; devices = /cgroup/devices; freezer = /cgroup/freezer; net_cls = /cgroup/net_cls; blkio = /cgroup/blkio; cpuset = /cgroup/cpuset; cpu = /cgroup/cpu; } And then restart of cgconfig service worked. Thank you. |
All times are GMT -5. The time now is 05:32 AM. |