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

Re: [Xen-devel] Trying out vixen: qemu processes left behind



Hi Anthony,

On Thu, Jan 11, 2018 at 03:47:25PM -0800, Anthony Liguori wrote:
> On Thu, Jan 11, 2018 at 3:00 PM, Andy Smith <andy@xxxxxxxxxxxxxx> wrote:
> > $ sudo xl list
> > Name                                        ID   Mem VCPUs      State   
> > Time(s)
> > Domain-0                                     0  2048     2     r-----  
> > 104114.0
> > (null)                                      17     1     2     --ps-d      
> > 14.2
> > $ ps awux | grep qemu
> > root      3310  1.2  1.2 430648 24676 ?        SLl  22:48   0:06 
> > /usr/local/lib/xen/bin/qemu-system-i386 -xen-domid 17 -chardev 
> > socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-17,server,nowait 
> > -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev 
> > socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-17,server,nowait 
> > -mon chardev=libxenstat-cmd,mode=control -nodefaults -no-user-config -name 
> > debtest1 -display none -serial pty -boot order=c -smp 2,maxcpus=2 -netdev 
> > type=tap,id=net0,ifname=vif17.0-emu,script=no,downscript=no -machine xenfv 
> > -cdrom /var/lib/xen/pvshim-sidecars/debtest1.iso -m 2552
> >
> > If I kill the qemu process then the domain does away.
> >
> > Is this expected? It doesn't seem workable if so.
> 
> Usually this means there is a dangling backend that wasn't properly
> terminated.  It would be useful to xenstore-ls the domain and see
> which backend is not in a disconnected state.

After halting that:

$ sudo xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2048     2     r-----  104246.6
(null)                                      19     1     2     --ps-d      86.6
$ sudo xenstore-ls
tool = ""
 xenstored = ""
local = ""
 domain = ""
  0 = ""
   control = ""
    feature-poweroff = "1"
    feature-reboot = "1"
    feature-suspend = "1"
   domid = "0"
   name = "Domain-0"
   device-model = ""
vm = ""
libxl = ""
$ sudo xenstore-ls /local/domain/19
xenstore-ls: xs_directory (/local/domain/19): No such file or directory

Cheers,
Andy

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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