[lxc-users] zombie process blocks stopping of container

Stéphane Graber stgraber at ubuntu.com
Tue Jun 3 14:35:47 UTC 2014


On Tue, Jun 03, 2014 at 04:23:14PM +0200, Tamas Papp wrote:
> 
> hi All,
> 
>  4489 ?        Ss     0:00 lxc-start -n fisheye1
>  4576 ?        Ss     0:01  \_ [init]
> 25055 ?        Zl   2451:47      \_ [java] <defunct>
> 
> 
> The container cannot be stopped.
> ii  lxc 1.0.3-0ubuntu3                      amd64        Linux
> Containers userspace tools
> 
> Linux v306 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014
> x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> What can I do to it?
> 
> 10x
> tamas

lxc-stop -n fisheye1 -k

Unless you have a kernel bug, this should still work. The fact that java
is marked as zombie usually means that init didn't process the SIGCHLD
but that shouldn't prevent you from killing init itself which will
cleanup any child in the process.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140603/80a2db67/attachment.sig>


More information about the lxc-users mailing list