[lxc-devel] cgroup isolation

2010-08-27 Thread Denis Rizaev
Hi folks. I tried to mount cgroup fs in container and was surprised that i can see all cgroups tree. Also i can modify limits for my container and others!! In my opinion container should see only it's own level of cgroup, not whole tree. Is it fundamental design flaw, or i missed something? ---

Re: [lxc-devel] Very slow lxc-start

2010-07-25 Thread Denis Rizaev
Thanks Daniel! Just tested Lucid with 2.6.35 kernel on KVM and it works perfectly. Also ContainerKit now starts 10 containers in 5 seconds while on .32 it takes up to 3 minutes. 2010/7/25 Daniel Lezcano > On 07/25/2010 01:57 PM, Denis Rizaev wrote: > >> Hi guys. >> In last v

[lxc-devel] Very slow lxc-start

2010-07-25 Thread Denis Rizaev
Hi guys. In last versions of lxc lxc-start is very slow. On my system with 15 containers it stucks for ~20 seconds before actual container launch begins. With strace i see that it does many umounts in /mnt. Can anyone explain what happens? ---

[lxc-devel] ContainerKit - container management system atop lxc-tools

2010-06-23 Thread Denis Rizaev
Hi folks, I want to show you our project for container management - ContainerKit. Here you can read a short manual - http://www.trueoffice.org/wiki/ContainerKit_en General features: * Proper multithreaded start/stop/restart of containers. * Container creation/destroying. * Container tagging.

[lxc-devel] ContainerKit - container management system atop lxc-tools

2010-06-20 Thread Denis Rizaev
Hi folks, I want to show you our project for container management - ContainerKit. Here you can read a short manual - http://www.trueoffice.org/wiki/ContainerKit_en General features: * Proper multithreaded start/stop/restart of containers. * Container creation/destroying. * Container tagging.

Re: [lxc-devel] halt and restart bugs

2010-05-23 Thread Denis Rizaev
Patch attached. Applies against latest git. 2010/5/20 Daniel Lezcano > On 05/19/2010 11:07 PM, Denis Rizaev wrote: > > I did a little investigation about runlevels and i think we can assume > > runlevels 2-5 as normal. > > So, we can check if system was in runlevel 2-5 an

Re: [lxc-devel] halt and restart bugs

2010-05-19 Thread Denis Rizaev
I did a little investigation about runlevels and i think we can assume runlevels 2-5 as normal. So, we can check if system was in runlevel 2-5 and proc count is 1 and now we are in 0/6. I can prepare patch tomorrow if you agree with my idea. 2010/5/20 Daniel Lezcano > > Fixed 2) with commits : >

[lxc-devel] halt and restart bugs

2010-05-10 Thread Denis Rizaev
Hi folks. I'm using latest lxc git tools on ubuntu host with debian containers. And there are some bugs: 1) In ubuntu, the default runlevel is 2, not 3. That's why reboot and halt aren't handled properly. I've fixed it — patch is attached. But it's a distro-specific patch, so I think we need anothe