On Tue, Feb 10, 2009 at 12:58:42PM +0530, Balbir Singh wrote: > * Dhaval Giani <[email protected]> [2009-02-10 12:36:32]: > > > On Mon, Feb 09, 2009 at 03:48:18PM +0100, Jan Safranek wrote: > > > Hello, > > > > > > for Fedora 11 it would be nice to have possibility to start service > > > daemons (httpd, mysqld, ...) inside specific control groups. Of course, > > > by default there would be no control groups preconfigured, the whole > > > feature must be purely optional. > > > > > > The services run under various users and some of them run as root - IMHO > > > current cgrulesengd daemon is not useful for this purpose as it's based > > > purely on UID and GID. > > > > > > > The main reason we took this approach was because we had no sane way of > > doing task classification on task names. Those can be changed to bypass > > all these settings. > > > > > For Fedora 11, I would add some logic to /etc/init.d/functions to start > > > daemons in group specified in e.g. CGROUP_DAEMON environment variable. > > > The admin would then add something like this to /etc/sysconfig/httpd: > > > CGROUP_DAEMON="-g cpuacct:daemons -g cpu:daemons/http" > > > > > > > Makes sense. > > I like the idea! But the limitation I see is that all daemons need to > start in the same group. >
Why so? <snip> > > I don't think installing libcgroup by default is a bad idea. If a > feature is enabled in the kernel, you need the user space components > to help. > :), but what do the others say :-) -- regards, Dhaval ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
