Re: [Lxc-users] sched_setscheduler fails in a container (was: Re: Lxc-users Digest, Vol 29, Issue 7)

2012-05-16 Thread Jianbin Ma
The output of my program is as below: hp180:/tmp # ./syl Max priority is 99, min priority is 1 process 15952 policy is : 2 priority is : 33 which indicates the priority is not out of range.And I've also add cap_sys_nice permission via setcap cmd. But it still not work. The output of getcap cmd

[Lxc-users] sched_setscheduler fails in a container (was: Re: Lxc-users Digest, Vol 29, Issue 7)

2012-05-16 Thread Daniel Lezcano
On 05/16/2012 08:58 AM, Jianbin Ma wrote: > In the container,the system call sched_scheduler can't work,I enable the > file capabilities.And the system call still can't work. What is your RLIMIT_RTPRIO value in the container ? Do you have CAP_SYS_NICE ? What policy are trying to set ? Thanks