[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] QEMU deleting unix socket after connection closes
From: |
Petr Kotas |
Subject: |
[Qemu-discuss] QEMU deleting unix socket after connection closes |
Date: |
Tue, 2 Apr 2019 17:35:15 +0200 |
Hi,
I probably need help with explaining how QEMU treats the VNC through unix
socket.
I am dealing with the issue where QEMU deletes opened unix socket file
after closing the connection. I would like to understand how it should
behave so I can diagnose where exactly the issue is in my system.
I am solving the issue where VNC connection disappears randomly. I have
pinpoint that the cause is disappearing VNC socket file.
The opened socket is in directory:
/var/run/kubevirt-private/09c05242-5559-11e9-95f4-525500d15501/virt-vnc
When I read from the socket using socat redirecting to stdout and close
with ctrl+c the file virt-vnc goes away. Should the file stay there opened
or should it be deleted?
If the deletion is ok, why it is being deleted?
I am using qemu-kvm v 3.1.0.
Also the websocket is still registered on the system:
address@hidden 09c05242-5559-11e9-95f4-525500d15501]# ss -l
NetidState Recv-Q
Send-Q
Local Address:Port Peer Address:Port
u_strLISTEN 0 1
/var/run/kubevirt-private/09c05242-5559-11e9-95f4-525500d15501/virt-vnc
2861579 * 0
And qemu monitor still sees the socket connection
address@hidden 09c05242-5559-11e9-95f4-525500d15501]# virsh
qemu-monitor-command --hmp default_vmi-fedora 'info vnc'
default:
Server:
:/var/run/kubevirt-private/09c05242-5559-11e9-95f4-525500d15501/virt-vnc
(unix)
Auth: none (Sub: none)
Thank you for clarification and help.
Petr
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-discuss] QEMU deleting unix socket after connection closes,
Petr Kotas <=