PREETHI RAMESH
2011-Oct-04 07:44 UTC
[libvirt-users] libvir: Remote error : cannot recv data: : Connection reset by peer
I'm using Libvirt's Java API and connecting to the hypervisor using the same. My program is such that periodic discovery of active VMs is done using Libvirt's functions. However, when I try to perform any VM related operations while the Java code connecting to Qemu is running such as shutdown, start VM using virsh, I end up with : 'libvir: Remote error : cannot recv data: : Connection reset by peer' on my Java IDE and 'error: cannot recv data: : Connection reset by peer error: failed to connect to the hypervisor' on the terminal running virsh. I'm using QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) and Libvirt version 0.4.7 on Ubuntu 11.04. Please help me out! Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111004/5e55aeb1/attachment.htm>
Sharad Mishra
2011-Oct-04 15:30 UTC
[libvirt-users] libvir: Remote error : cannot recv data: : Connection reset by peer
Check the 'max_clients' value in /etc/libvirt/libvirtd.conf. Experiment with increasing that value to see if your problem goes away. Regards, Sharad Mishra PREETHI RAMESH <iampreethiramesh @gmail.com> To Sent by: libvirt-users at redhat.com libvirt-users-bou cc nces at redhat.com Subject [libvirt-users] libvir: Remote 10/04/11 12:44 AM error : cannot recv data: : Connection reset by peer I'm using Libvirt's Java API and connecting to the hypervisor using the same. My program is such that periodic discovery of active VMs is done using Libvirt's functions. However, when I try to perform any VM related operations while the Java code connecting to Qemu is running such as shutdown, start VM using virsh, I end up with : 'libvir: Remote error : cannot recv data: : Connection reset by peer' on my Java IDE and 'error: cannot recv data: : Connection reset by peer error: failed to connect to the hypervisor' on the terminal running virsh. I'm using QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) and Libvirt version 0.4.7 on Ubuntu 11.04. Please help me out! Thanks._______________________________________________ libvirt-users mailing list libvirt-users at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111004/a620a9dc/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111004/a620a9dc/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: pic15363.gif Type: image/gif Size: 1255 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111004/a620a9dc/attachment-0001.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111004/a620a9dc/attachment-0002.gif>