Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Daniel P. Berrange
On Thu, Jan 12, 2012 at 04:58:03PM +0530, Jatin Kumar wrote: > Thanks, setting dom=None solved the problem. But that needs to make alot of > changes in the code. Do we have any other alternative ? Well python should garbage collect them when the variables go out of scope. When all 'dom' are garbag

Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Jatin Kumar
Thanks, setting dom=None solved the problem. But that needs to make alot of changes in the code. Do we have any other alternative ? -- Jatin On Thu, Jan 12, 2012 at 3:46 PM, Daniel P. Berrange wrote: > On Thu, Jan 12, 2012 at 10:10:47AM +0100, Michal Privoznik wrote: > > On 11.01.2012 19:14, Jat

Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Daniel P. Berrange
On Thu, Jan 12, 2012 at 10:10:47AM +0100, Michal Privoznik wrote: > On 11.01.2012 19:14, Jatin Kumar wrote: > > 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 12

Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Michal Privoznik
On 11.01.2012 19:14, Jatin Kumar wrote: > 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 cons

[libvirt-users] Unable to close open libvirt connections

2012-01-11 Thread Jatin Kumar
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(