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 ... Gerd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I saved a domain and ended up with a Zombie-migrating domain: x235:~ # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 250 1 r----- 5518.8 vm1 1 127 1 ------ 2564.9 Zombie-migrating-vm2 2 0 1 ---s-d 1292.4 vm3 3 127 1 ------ 1683.5 vm4 4 127 1 ------ 1783.8 vm5 5 127 1 r----- 1615.0 vm2 6 126 1 ------ 10.9 At first I thought it was a temporary state, but after an hour or so, it is still there. I later restored it (vm2) successfully, but the zombie is still there. 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 ... > > Gerd > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I met this problem too and this zombie domain could not be destroyed. I have opened a bug on this. http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=323 -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David F Barrera Sent: 2005年11月1日 4:59 To: Gerd Knorr Cc: xen-devel Subject: Re: [Xen-devel] zombie domains I saved a domain and ended up with a Zombie-migrating domain: x235:~ # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 250 1 r----- 5518.8 vm1 1 127 1 ------ 2564.9 Zombie-migrating-vm2 2 0 1 ---s-d 1292.4 vm3 3 127 1 ------ 1683.5 vm4 4 127 1 ------ 1783.8 vm5 5 127 1 r----- 1615.0 vm2 6 126 1 ------ 10.9 At first I thought it was a temporary state, but after an hour or so, it is still there. I later restored it (vm2) successfully, but the zombie is still there. 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 ... > > Gerd > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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 ...It''s not easy, Gerd, hence the delay in replying to you! Steven Hand found a bug related to Zombies (changeset 7618:a45408260abb) which may well have fixed this problem, so could you retest and let us know how you got on? Thanks, Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> 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@lists.xensource.com http://lists.xensource.com/xen-devel
> It''s not easy, Gerd, hence the delay in replying to you!Seems to be gone now, at least I can''t reproduce it that easily any more. cheers, Gerd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel