Доброго времени.
Разбираюсь тут с cgroups и не могу понять, почему не работает cgred?
cgconfig.conf
group user {
perm {
task {
uid = user;
gid = user;
}
admin {
uid = user;
gid = user;
}
}
cpuset {
cpuset.cpus = 1;
}
cpu {
cpu.shares = 1000;
}
memory {
memory.limit_in_bytes = 2000000000;
}
}
mount {
cpu = /mnt/cgroups/cpu;
cpuset = /mnt/cgroups/cpuset;
memory = /mnt/cgroups/memory;
}
cgrules.conf
user:/usr/bin/urxvt cpu,cpuset,memory user/
При запуске cgred в message падает такое:
CGRE[5942]: Cgroup change for PID: 6060, UID: 1000, GID: 1000, PROCNAME: /usr/bin/urxvtc FAILED! (Error Code: 50004)
CGRE[8137]: Cgroup change for PID: 8364, UID: 1000, GID: 1000, PROCNAME: /usr/bin/urxvt FAILED! (Error Code: 50016)