On Thu, Jul 28, 2011 at 3:31 PM, Simone Neugierig <commerci...@gmx.net> wrote: > hi, > > i know that this is a devel list but its the only active one i found. > theres a lack of documentation for this wonderful software :( >
Don't worry, this is the right place. I think there is some documentation in the manpages, but we can certainly do much better. > please write some more documentation, with google you find bits and pieces > but it could be better. > for example, i dont know why this does not work: > > target: get all processes from user testuser into group cpuhungry and only > allow them to use cpu core 1. > > > /etc/cgrules.conf > testuser * cpuhungry/; > > > /etc/cgconfig.conf > mount { > cpuset = /mnt/cgroups/cpuset; > } > > group cpuhungry { > cpuset { > cpuset.cpus = 1 > } > } > > unmounting everything in /mnt/cgroups and restarting the daemon did not work, > the daemon exited immediately. What do you mean by unmounting? Did you move all the tasks to the root cgroup? Also, did you remount cgroups before starting cgrules? > Error: libcgroup initialization failed, 50001 > > running: > sudo cgconfigparser -l /etc/cgconfig.conf > > and then restarting the daemon didnt work either. > /mnt/cgroups/cpuset is mounted with cpuset, but: > cat /mnt/cgroups/cpuset/cpuset.cpus > shows: 0-1 What's the problem with that? You should check cpuhungry group. What's the situation there? Thanks! Dhaval ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel