Hi Philby, On Wed, Nov 30, 2011 at 10:34 PM, Philby John <pj...@mvista.com> wrote: > Greetings, > > We have decided to try out libcgroup for a major project rather than > lxc etc. At present I find that with just the below in cgconfig.conf > and on running /etc/init.d/cgconfig start, a *few* processes are being > added into /cgroup/cgroup0/tasks even though I haven't echo'ed any > pids into it. > > mount { > cpu = /cgroup/cgroup0; > cpuset = /cgroup/cgroup0; > blkio = /cgroup/cgroup0; > memory = /cgroup/cgroup0; > } > > This is not the desired behaviour I would expect. All tasks should be > part of the root cgroup in this case /cgroup/cgroup0/sysdefault/tasks, > until I move it into /cgroup/cgroup0/tasks (correct me if my > understanding is wrong). >
Right, but just run chrt -p `cat /cgroup/cgroup0/tasks` and you will see these are all realtime tasks and there is no rt_runtime assigned to the sysdefault group. Just define that group in cgconfig.conf and add some rt_runtime to it, and you should get the desired behavior. Thanks! Dhaval ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel