[lxc-users] How to cancel lxc-autostart

CDR venefax at gmail.com
Sat Aug 9 14:32:39 UTC 2014


This is a philosophical divide. I live in the real world, and are
successfully moving  all my business to LXC, or a combination of LXC
and real virtualization, where you have a few virtual machines with
hundreds of GBs of RAM and 36 or more cores, and these super-virtual
machines act solely as container-of-containers. It means that my
virtual machines have so many autostart containers, that it takes 30
minutes to stop them all in a loop. When for some reason I need to
start the machines and do not need all the containers starting, the
only way is to boot in single-user mode. Why? There should be way to
stop the storm in its tracks, like
cat 0 > /proc/lxc/autostart
this way I could quickly stop the few containers that had already started.
I see a world coming where every living corporation will be using a
combination of Virtualization plus LXC.
Philip


On Sat, Aug 9, 2014 at 8:27 AM, brian mullan <bmullan.mail at gmail.com> wrote:
> I've been reading this thread and this is the first and only time I've ever
> heard anyone request such a "kill all" command for LXC to terminate
> auto-start.
>
> Developer time is always in short supply and IMHO asking one of them to
> spend their time on such a "corner-case" issue is not putting their efforts
> to good use.
>
> There have been 2 alternatives proposed that seem would handle this event
> and my opinion is that should be sufficient.
>
> LXC 1.x has a lot of important work going on and I'd rather see people
> focused on the existing roadmap or on addressing critical bugs.
>
> Of course its all Open Source so anyone that can't live without such a
> feature could either contribute the patches themselves or offer a bounty to
> have it done for them.
>
> again just my opinion
>
> Brian
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list