Subject: Re: [vserver] Problem killing a guest ....
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Sun, 13 Dec 2009 17:56:30 +0100

On Sun, Dec 13, 2009 at 12:51:04AM -0600, dragan@saraginov.com wrote:
> Hi all
> 
> I need some help in stopping a guest vserver. I tried 'vserver guest stop'
> I do not know how many times, and I am keep getting the following error:

> Vserver '/etc/vservers/guest' still running unexpectedly; please
> investigate it manually...

> I tried to kill this guest by using the following commands:

> chcontext --ctx 101 killall5 -15 and

> vkill --xid 101 -s 15; sleep 2; vkill --xid 101 -s 9

> But nothing happened. The guest is still running. To be more specific two
> processes are still running.

> www-data 23296  0.0  0.0     0    0 ?        D    Oct21   0:00 [0x82]
> www-data 24055  0.0  0.0     0    0 ?        D    Oct21   0:03 [0x82]

'D' means that the processes are stuck in kernel space
waiting for some I/O operation to finish, most likely,
your kernel had some problems (see dmesg for details)
and those are stuck forever ....

> The version of kernel and linux-vserver patch that I am currently
> using on the physical server is kernel-2.6.17.13-v.s-2.0.2.1 . The
> version of util-vserver is 0.30.214 . 

an update to recent kernel/utils would be advised for
many reasons, including security and stability

> The guest is Debian 3.1 (Sarge).

best,
Herbert

> TIA,
> Dragan Saragin
>