On 06/24/2011 07:54 PM, Serge Hallyn wrote: > I.e. with systemd or libcgroup. > > To do this, instead of looking for one cgroup called 'lxc' or > otherwise taking the first cgroup we find, we actually create a > container in every mounted cgroup fs. Right now it's done under the > root of each fs. We may want to put that under lxc, or, better yet, > make that configurable. > > Note the use of clone_children seems not quite right, but that's > not for this patch to fix. In particular, if clone_children is > not in the mntopts, we reject it. Yet later we try to set it > ourselves. I believe we should simply, if ns cgroup is not > composed, always try to set clone_children to 1. As it stands, > with libcgroup installed, I had to do > > cd /sys/fs/cgroup > for d in `/bin/ls`; do > echo 1 > $d/cgroup.clone_children > done > > But after that, 'lxc-start -n l1' worked like a charm. It also > continues to work with a single mount of cgroups under /cgroup. > > Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com> > ---
Ok, I installed f15 on a kvm machine. But WTF are all these daemons !! 1 root 20 0 48232 15m 1772 R 66.1 1.5 4:53.82 systemd 19247 dlezcano 20 0 790m 40m 11m R 62.2 4.0 0:46.93 gnome-settings- 19255 root 20 0 104m 27m 3252 R 35.9 2.8 0:44.83 packagekitd 1173 root 20 0 196m 65m 2416 R 30.6 6.5 2:43.70 udisks-daemon ... eating all the cpu and making impossible to use the fedora ? systemd is looking all the time at /proc/1/mountinfo and reading the content, nice for an init process ! And tomorrow the init process will be firefox ... ------------------------------------------------------------------------------ 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. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users