[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] zombie domains



> 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.