[pve-devel] live migration problems
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Mon Sep 3 10:51:42 CEST 2012
Not sure whether this helps at all. But i've seen strange behavior when
using socat without fork option.
Stefan
Am 03.09.2012 10:48, schrieb Alexandre DERUMIER:
>>> # lsof |grep /var/run/qemu-server/103.qmp
>>> kvm 110639 root 3u unix 0xffff88006735af00 0t0 422078 /var/run/qemu-server/103.qmp
>>> kvm 110639 root 56u unix 0xffff880061d1c580 0t0 424078 /var/run/qemu-server/103.qmp
>>>
>>> No idea why there are two open FDs, both owned by process 110639?
>>>
>>> I tried to connect with socat
>>>
>>> # socat - /var/run/qemu-server/103.qmp
>>>
>>> and that simply blocks.
>>>
>>> Any ideas?
>
> I have done some tests with qmp and qemu-ga socket,
>
> It seem that we can do multiple connections and send query, but response occur only on one connection at time.
> lsof show 2 open FD, when first connection is open.
>
>
>
> example (with qemu-ga):
>
> #lsof
> -----
> kvm 63541 root 4u unix 0xffff8804237dcf80 0t0 3953934 /var/run/qemu-server/115.qga
>
>
> established first connection
>
> #socat unix-connect:/var/run/qemu-server/115.qga readline
>
> #lsof
> -----
> kvm 63541 root 4u unix 0xffff8804237dcf80 0t0 3953934 /var/run/qemu-server/115.qga
> kvm 63541 root 37u unix 0xffff88042a556b00 0t0 3959438 /var/run/qemu-server/115.qga
>
>
>
> established second connection
>
> #socat unix-connect:/var/run/qemu-server/115.qga readline
> #lsof
> -----
> kvm 63541 root 4u unix 0xffff8804237dcf80 0t0 3953934 /var/run/qemu-server/115.qga
> kvm 63541 root 37u unix 0xffff88042a556b00 0t0 3959438 /var/run/qemu-server/115.qga
>
>
> #send command to second connection
> ----------------------------------
> {"execute":"guest-ping"}
> --> waiting response
>
>
>
> #send command to first connection
> ----------------------------------
> {"execute":"guest-ping"}
> {"return": {}} --> response
>
>
> #close first connection
> ------------------------
> second connection receive response : {"return": {}} -
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
More information about the pve-devel
mailing list