Comment 19 for bug 1392176

Revision history for this message
Bharata B Rao (bharata-rao) wrote :

Serge,

What's the recommended way to start cgmanager with -M cpuset ? I added cgmanager_opts="-M cpuset" in /etc/default/cgmanager but it still starts w/o -M option.

root@ubuntu1504:~# ps aux | grep cgm
root 624 0.0 0.1 4096 3264 ? Ss 04:58 0:00 /sbin/cgmanager -m name=systemd

root@ubuntu1504:~# cat /etc/default/cgmanager
cgmanager_opts="-M cpuset"

I stopped the service myself and start it manually

root@ubuntu1504:~# service cgmanager stop
root@ubuntu1504:~# /sbin/cgmanager -m name=systemd -M cpuset &

root@ubuntu1504:~# ps aux | grep cgm
root 863 0.0 0.1 4096 3328 pts/0 S 05:00 0:00 /sbin/cgmanager -m name=systemd -M cpuset

Now if I offline and online a CPU and try to tasket a process to that CPU, it fails. Expected ?

root@ubuntu1504:~# cgmanager --version
cgmanager 0.36