Re: [Lxc-users] unstoppable container

2010-08-30 Thread Serge E. Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): > On 08/31/2010 12:23 AM, Serge E. Hallyn wrote: > >Quoting Daniel Lezcano (daniel.lezc...@free.fr): > >>On 08/30/2010 02:36 PM, Serge E. Hallyn wrote: > >>>Quoting Papp Tamás (tom...@martos.bme.hu): > Daniel Lezcano wrote, On 2010. 08. 30. 13:08

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Daniel Lezcano
On 08/31/2010 12:23 AM, Serge E. Hallyn wrote: > Quoting Daniel Lezcano (daniel.lezc...@free.fr): > >> On 08/30/2010 02:36 PM, Serge E. Hallyn wrote: >> >>> Quoting Papp Tamás (tom...@martos.bme.hu): >>> Daniel Lezcano wrote, On 2010. 08. 30. 13:08: > Usual

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Serge E. Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): > On 08/30/2010 02:36 PM, Serge E. Hallyn wrote: > >Quoting Papp Tamás (tom...@martos.bme.hu): > >>Daniel Lezcano wrote, On 2010. 08. 30. 13:08: > >>>Usually, there is a mechanism used in lxc to kill -9 the process 1 of > >>>the container (which wipe

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Daniel Lezcano
On 08/30/2010 03:01 PM, Ferenc Wagner wrote: > Daniel Lezcano writes: > >> The cgroup is not removed automatically by the cgroup infrastructure >> when all the tasks die, it's how the cgroup is implemented. So it is >> up to lxc-start to remove the cgroup after the pid 1 of the container >> exits.

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Daniel Lezcano
On 08/30/2010 02:20 PM, Papp Tamás wrote: > > Daniel Lezcano wrote, On 2010. 08. 30. 13:08: >> The cgroup is removed by lxc-start, but this is not a problem, >> because it will be removed (if empty), when running lxc-start again. > > If I understand well, this happened to me now. > >> * the

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Ferenc Wagner
Daniel Lezcano writes: > The cgroup is not removed automatically by the cgroup infrastructure > when all the tasks die, it's how the cgroup is implemented. So it is > up to lxc-start to remove the cgroup after the pid 1 of the container > exits. If lxc-start was killed, this directory will not be

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Daniel Lezcano
On 08/30/2010 02:36 PM, Serge E. Hallyn wrote: > Quoting Papp Tamás (tom...@martos.bme.hu): > >> Daniel Lezcano wrote, On 2010. 08. 30. 13:08: >> >>> Usually, there is a mechanism used in lxc to kill -9 the process 1 of >>> the container (which wipes out all the processes of the container

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Ferenc Wagner
Daniel Lezcano writes: > On 08/30/2010 12:40 PM, Papp Tamás wrote: > >> In the tasks file I saw three processes: udevd, init and one more, which >> I don't remember. I killed them all, but the cgroup still exists. > > The cgroup is removed by lxc-start, but this is not a problem, because > it wi

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Daniel Lezcano
On 08/30/2010 02:11 PM, Ferenc Wagner wrote: > Daniel Lezcano writes: > > >> On 08/30/2010 12:40 PM, Papp Tamás wrote: >> >> >>> In the tasks file I saw three processes: udevd, init and one more, which >>> I don't remember. I killed them all, but the cgroup still exists. >>> >> T

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Serge E. Hallyn
Quoting Papp Tamás (tom...@martos.bme.hu): > Daniel Lezcano wrote, On 2010. 08. 30. 13:08: > > Usually, there is a mechanism used in lxc to kill -9 the process 1 of > > the container (which wipes out all the processes of the containers) > > when lxc-start dies. > > It should wipe out them, but i

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Papp Tamás
Daniel Lezcano wrote, On 2010. 08. 30. 13:08: > The cgroup is removed by lxc-start, but this is not a problem, because > it will be removed (if empty), when running lxc-start again. If I understand well, this happened to me now. > >>> * the state of the processes of the containers (stopped or

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Daniel Lezcano
On 08/30/2010 12:40 PM, Papp Tamás wrote: > > Daniel Lezcano wrote, On 2010. 08. 30. 11:26: >> Hmm, too bad :) I was about to ask you some informations about the >> processes of the containers. > > Well, I was happy too early. > >> If that happens again, can you check/report the following : >> >>

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Papp Tamás
Daniel Lezcano wrote, On 2010. 08. 30. 11:26: > Hmm, too bad :) I was about to ask you some informations about the > processes of the containers. Well, I was happy too early. > If that happens again, can you check/report the following : > > * the content of the tasks file in the cgroup direc

Re: [Lxc-users] Cannot start a container with a new MAC address

2010-08-30 Thread Daniel Lezcano
On 08/27/2010 06:11 PM, Sebastien Douche wrote: > On Fri, Aug 27, 2010 at 14:25, Daniel Lezcano wrote: > >> On 08/27/2010 11:27 AM, Sebastien Douche wrote: >> >>> I created a container with an interface. I stop it, I change the MAC >>> address, restart it: >>> >>> lxc-start: ioctl failur

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Daniel Lezcano
On 08/30/2010 11:13 AM, Papp Tamás wrote: > Papp Tamás wrote, On 2010. 08. 30. 10:41: > >> hi! >> >> I cannot stop a container. >> >> I tried everything, as running lxc-stop many times, destroy&create&stop, >> nothing helped. >> >> The directory /cgroup/ is still exist. >> >> How can I destroy

Re: [Lxc-users] unstoppable container

2010-08-30 Thread Papp Tamás
Papp Tamás wrote, On 2010. 08. 30. 10:41: > hi! > > I cannot stop a container. > > I tried everything, as running lxc-stop many times, destroy&create&stop, > nothing helped. > > The directory /cgroup/ is still exist. > > How can I destroy it? I need a way which doesn't affect the other > contain

[Lxc-users] unstoppable container

2010-08-30 Thread Papp Tamás
hi! I cannot stop a container. I tried everything, as running lxc-stop many times, destroy&create&stop, nothing helped. The directory /cgroup/ is still exist. How can I destroy it? I need a way which doesn't affect the other containers. Thank you, tamas ---