Unable to close open libvirt connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I was getting the following error in syslog:
libvirtd: 21:19:12.116: 10955: error : qemudDispatchServer:1355 : Too many active clients (20), dropping connection from 127.0.0.1;0

I investigated a bit and tried the following in a python console:

import libvirt
~~~~
conn=libvirt.openReadOnly("qemu+ssh://HOST_IP/system")
//now check the no. of connections (by lsof|grep ESTABLISHED in the HOST), the count will increase by 1
conn.close()
//the count will decrease by 1, it returns 0
~~~~
conn=libvirt.openReadOnly("qemu+ssh://HOST_IP/system")
//now check the no. of connections, the count will increase by 1
dom=conn.lookupByName("sowmya")
print dom.info()
conn.close()
//the count will not change, it returns 1

This is creating a lot of trouble to me but the reason is unknown.
If someone could please point me out, if i am missing something.
--
Jatin

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux