zombie domains
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
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.
Quoted 22 lines · Gerd Knorr
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.5I'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
[email protected]
http://lists.xensource.com/xen-devel
Quoted 6 lines · Gerd Knorr
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)
Quoted 8 lines
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.5I'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.
Quoted 15 lines · Gerd Knorr
Quoted 13 lines
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
Quoted 2 lines
Quoted 2 lines
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.
Quoted 1 line
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