Subject: shutdown zombie after incomplete stop of guest
From: Oliver Welter <mail@oliwel.de>
Date: Fri, 19 Sep 2008 00:43:52 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I am still experimenting with vserver and aufs.
After the misleading tries with mounting aufs inside the guests, I now
tried the setup as proposed by the aufs developer
http://aufs.sourceforge.net/linux-vserver.txt

In short - I have a rootfs and an overlay, mount them together in the
root context and than fire up the guest. Things that might be of
interest: the rootfs is shared among multiple guests and the overlay
resides on a drbd on top of an lvm - but I dont assume that this is
relevant...

It seems that the timeout of the shutdown is sometimes not sufficient to
terminate all processes, I get an info that some processes where
terminated but that some cant - the only process left looks like this:

 2188 ?        Ds     0:00 /sbin/shutdown -r 0 w

I can still see the guest in the vserver-stats list and enter the guest,
whre I see just this single provess and the two process of the login bash.
I am unable to kill this Zombie, neither with kill from inside, nor with
vkill from outside and vserver-stop also fails.

Kernel log is empty, so there seem to be no oopses.
I am running 2.6.22-vs2.2.0.7 with 0.3.215 tools, the host is debian,
the guets are gentoo with a 2008 profile and baselayout2/openrc

Any ideas on this?

Oliver
- --
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI0tmoyrew3TmFFyERAuVOAJ9LFjeUvBkqXqFZ46kpDz0RhzjNHgCfZf9D
+QcZHWB5AC0Ro9EpMxCJM8s=
=Mi86
-----END PGP SIGNATURE-----