On Fri, Mar 12, 2010 at 12:10 PM, Rafael Tinoco <[email protected]> wrote: > Hello, > > I'm using cgroups for lots and lots of users per server (2.000 or more). > The problem is, I'm using one cgroup per user (for memory reasons). > > With that in mind I was able to see that: > > cgconfigparser is not able to handle more than 1031 groups inside one > /etc/cgconfig.conf. > > Unfortunately I'm not good using yacc or lex, so, is there a place > where I could make this "limit" higher ? >
If you are building from the source, you should be able to modify MAX_CGROUPS in src/config.c to 2048 or more depending on your need and see if that works. When you say memory reasons, do you mean for memory cgroup isolation? I'd be interested in any feedback you have about libcgroup or the controllers in general Balbir Singh. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
