Also keep in mind that Ive exchanged some emails about this issue some time ago. And the problem - besides the parsing - is: too much sys time in kernel scheduling after having too many cgroups created.
As far as I'm seeing here you are using one cgroup for each username ? Is that correct ? More than 500 hundreds could give you some performance problems (higher sys times for each processes). Regards Rafael Tinoco On Fri, Aug 20, 2010 at 3:09 AM, Alexey Vlasov <[email protected]> wrote: > Hi. > > I've got about 10k raws in cgrules.conf, for example: > username * virtwww/username/serv > > I use pam_cgroup to move PID process in to needed group, but having too > many raws in cgrules.conf make this process too slow, and makes > cgrules.conf/pam_cgroup > practically unusable. In strace I see that the file /etc/passwd parses > multiple, > eats CPU. Everithing goes wrong. > Can I somehow fix it? > > -- > BRGDS. Alexey Vlasov. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Libcg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libcg-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
