Re: [Lxc-users] Zombie container

2011-02-15 Thread Brian K. White
On 2/14/2011 6:50 PM, Trent W. Buck wrote: > Daniel Lezcano writes: > >> As a quick fix, I suggest you look what application created the new >> namespace. Launch your container and then look at >> /cgroup/blackbird/1234/tasks and look for the command line associated >> with the pid in this file. I

Re: [Lxc-users] Zombie container

2011-02-15 Thread Milan Zamazal
> "DL" == Daniel Lezcano writes: DL> * simply do rm -rf /cgroup/blackbird (don't care about the DL> errors). >> >> This fails with "Operation not permitted" and the problem >> persists. DL> Do you try to remove the directories as root when the container DL> exite

Re: [Lxc-users] Zombie container

2011-02-15 Thread Daniel Lezcano
On 02/15/2011 10:17 AM, Milan Zamazal wrote: >> "DL" == Daniel Lezcano writes: > DL> It is probable you have an application creating new namespaces > DL> in the container. That's triggering a new cgroup creation which > DL> is nested with the container's one. This is a kernel

Re: [Lxc-users] Zombie container

2011-02-15 Thread Milan Zamazal
> "DL" == Daniel Lezcano writes: DL> It is probable you have an application creating new namespaces DL> in the container. That's triggering a new cgroup creation which DL> is nested with the container's one. This is a kernel feature DL> (removed for the next kernel version).

Re: [Lxc-users] Zombie container

2011-02-14 Thread Miroslav Lednicky, AVONET, s.r.o.
Dne 15.2.2011 00:50, Trent W. Buck napsal(a): > Daniel Lezcano writes: > >> As a quick fix, I suggest you look what application created the new >> namespace. Launch your container and then look at >> /cgroup/blackbird/1234/tasks and look for the command line associated >> with the pid in this file

Re: [Lxc-users] Zombie container

2011-02-14 Thread Trent W. Buck
Daniel Lezcano writes: > As a quick fix, I suggest you look what application created the new > namespace. Launch your container and then look at > /cgroup/blackbird/1234/tasks and look for the command line associated > with the pid in this file. I suspect vsftpd could be the culprit. If > this is

Re: [Lxc-users] Zombie container

2011-02-14 Thread Daniel Lezcano
On 02/14/2011 07:33 PM, Milan Zamazal wrote: > On a Debian 6.0 machine, I've got a certain container that can't be > started again once it was stopped: > ># lxc-start -n blackbird >lxc-start: Device or resource busy - failed to remove previous cgroup > '/cgroup/blackbird' >lxc-start: f

[Lxc-users] Zombie container

2011-02-14 Thread Milan Zamazal
On a Debian 6.0 machine, I've got a certain container that can't be started again once it was stopped: # lxc-start -n blackbird lxc-start: Device or resource busy - failed to remove previous cgroup '/cgroup/blackbird' lxc-start: failed to spawn 'blackbird' lxc-start: Device or resource bu