Daniel Lezcano <daniel.lezc...@free.fr> 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 will be removed (if empty), when running lxc-start again.

I suspect a transmission error in this sentence, could you please resend it?

> 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.

I guess this mechanism has no chance when lxc-start is killed by SIGKILL...

> So if you still have the processes running inside the container but 
> lxc-start is dead, then:
>   * you are using a 2.6.32 kernel which is buggy (this mechanism is broken).
>  or/and
>   * there are processes in 'T' states within the container

Is this a kernel mechanism to clean up all processes of a container when
the container init exits, or is it a user-space thing implemented in
lxc-start?  If the former, in which versions of 2.6.32 is this feature
broken?
-- 
Thanks,
Feri.

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to