OS: FC17
All updates installed
/etc/cgconfig.conf
/etc/cgrules.conf
config loaded correctly
But in cgred I see error:
Ok, try do this manualy:
what am I doing wrong? :confused:
UPD:
Solution:
All updates installed
/etc/cgconfig.conf
Code:
group users {
cpuset {
cpuset.cpus = 0;
}
}
Code:
*:skype cpuset users/
Code:
$ systemctl status cgconfig
cgconfig.service - Control Group configuration service
Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; enabled)
Active: active (exited) since Fri, 30 Nov 2012 11:26:22 +0400; 19min ago
Process: 1126 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -s 1664 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/cgconfig.service
Code:
$ systemctl status cgconfig
cgconfig.service - Control Group configuration service
Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; enabled)
Active: active (exited) since Fri, 30 Nov 2012 11:26:22 +0400; 19min ago
Process: 1126 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -s 1664 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/cgconfig.service
Nov 30 11:26:00 netbook CGRE[1102]: Started the CGroup Rules Engine Daemon.
Nov 30 11:27:07 netbook CGRE[1102]: Cgroup change for PID: 1349, UID: 1000, GID: 1000, PROCNAME: /usr/bin/skype FAIL...50016)
Code:
$ systemctl stop cgred
$ echo 1349 >/sys/fs/cgroup/cpuset/users/tasks
bash: echo: write error: No space left on device
$ cgclassify -g cpuset:/users 1349
Error changing group of pid 1349: No space left on device
UPD:
Solution:
Code:
group users {
cpuset {
cpuset.cpus = 0;
cpuset.mems = 0;
}
}