<html><body>
<p>Check the 'max_clients' value in /etc/libvirt/libvirtd.conf. Experiment with increasing that value to see if your problem goes away.<br>
<br>
Regards,<br>
Sharad Mishra<br>
<br>
<br>
<img width="16" height="16" src="cid:1__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for PREETHI RAMESH ---10/04/2011 12:48:20 AM---I'm using Libvirt's Java API and connecting to the hypervi"><font color="#424282">PREETHI RAMESH ---10/04/2011 12:48:20 AM---I'm using Libvirt's Java API and connecting to the hypervisor using the same. My program is such that periodic discovery of act</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">PREETHI RAMESH <iampreethiramesh@gmail.com></font></b><font size="2"> </font><br>
<font size="2">Sent by: libvirt-users-bounces@redhat.com</font>
<p><font size="2">10/04/11 12:44 AM</font></ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">libvirt-users@redhat.com</font></td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">[libvirt-users] libvir: Remote error : cannot recv data: :       Connection reset by peer</font></td></tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=08BBF38CDFC77CD68f9e8a93df938@us.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<font size="4">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. <br>
<br>
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 :<br>
'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.<br>
<br>
I'm using QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) and Libvirt version 0.4.7 on Ubuntu 11.04. <br>
<br>
Please help me out! Thanks.</font><tt>_______________________________________________<br>
libvirt-users mailing list<br>
libvirt-users@redhat.com<br>
</tt><tt><a href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a></tt><br>
</body></html>