WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] zombie domains

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] zombie domains
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Tue, 08 Nov 2005 15:07:59 +0000
Cc: Gerd Knorr <kraxel@xxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Nov 2005 16:00:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: Message from Ewan Mellor <ewan@xxxxxxxxxxxxx> of "Tue, 08 Nov 2005 15:00:19 GMT." <20051108150019.GN842@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> On Mon, Oct 31, 2005 at 03:47:59PM +0100, Gerd Knorr wrote:
> 
> >   Hi,
> > 
> > How can I figure why some domain is still in zombie state, like these ones:
> > 
> >   master-xen root /vm/ttylinux# xm list
> >   Name                              ID Mem(MiB) VCPUs State  Time(s)
> >   Domain-0                           0      574     1 r-----    90.5
> >   Zombie-small-11                   28        0     1 ---s-d     0.9
> >   Zombie-small-17                   34        0     1 ---s-d     0.5
> >   Zombie-small-18                   35        0     1 ---s-d     0.6
> >   Zombie-small-19                   36        0     1 ---s-d     0.5
> > 
> > I've created 16 ttylinux instances with a script, then called "xm 
> > shutdown -a -w", then ended up with these four Zombies ...

They're almost certainly in zombie state since there's an oustanding 
reference to a page of theirs which hasn't been dropped. 


If you have a serial console, hit 'Ctrl-A' three times (switch console
to Xen) and then hit 'q' 

This will dump out various info for each domain including something like 

(XEN) Xen: DOM N, flags=0 refcnt=BLAH nr_pages=FOO xenheap_pages=BAZ

... if 'nr_pages' is > 0 (it is probably a small integer), then this 
is why the domain is not being destroyed. 

The cset Ewan mentioned fixes this. 

Would be keen to see if your problem is something else...


cheers,


S.




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>