[libvirt-users] virsh hangs when backup jobs run on the kvm host
by Zhan Adlun
Hi,
Has anyone met the same problem that virsh hangs when there are some backup jobs running on the kvm host? I use dirty bitmap supported by qemu to do backups every 6 minitues. About a few hours later, I ran 'virsh list', It hung. Then I stopped the backup jobs ,nothing was getting better. I had checked the libvirt logs ,but found nothing useful .
Maybe the high I/O caused the problem? or there are connection number limits when using virsh, because I use virsh to check the backup jobs are still running every 10 seconds?
My os version is ' Ubuntu 12.04 LTS Release: 12.04 Codename: precise,Linux version 4.1.0-generic (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP Wed Nov 9 02:04:23 CST 2016'. KVM version is 'QEMU emulator version 2.7.1(Debian 1:2.7+dfsg-3)'. Hoping for you reply. Thanks!
5 years, 9 months
[libvirt-users] How do I close a console connection?
by Lars Kellogg-Stedman
I'm working on (re-) implementing serial console support in virtualbmc
[1], and one of the issues I'm hitting right now is that after
establishing a console connection via...
self._stream = self._conn.newStream(libvirt.VIR_STREAM_NONBLOCK)
self._domain.openConsole(None, self._stream, 0)
...I can't figure out how to close the console. Subsequent calls to
openConsole fail because "a console connection is already open". I
thought maybe I should close the stream, but that doesn't appear to be
possible (there is a finish method, but it just tells me that "this
function is not supported by the connection driver").
[1]: https://github.com/openstack/virtualbmc
Cheers,
--
Lars Kellogg-Stedman <lars(a)redhat.com> | larsks @ {irc,twitter,github}
http://blog.oddbit.com/ |
5 years, 9 months