Re: [libvirt] LibvirtException: socket closed unexpectedly

2009-05-14 Thread Marcel Michelmann
PM +0200, Marcel Michelmann wrote: >> So you mean the libvirtd on the server side (where XEN runs) doesn't >> like >> to get polled so often from the same process in such a short time? > > No, just that you triggered a bug on the remote side. > What version of

Re: [libvirt] LibvirtException: socket closed unexpectedly

2009-05-13 Thread Marcel Michelmann
So you mean the libvirtd on the server side (where XEN runs) doesn't like to get polled so often from the same process in such a short time? Am Mi, 13.05.2009, 12:03, schrieb Daniel P. Berrange: > On Wed, May 13, 2009 at 09:11:35AM +0200, Marcel Michelmann wrote: >> Hi *, >>

[libvirt] LibvirtException: socket closed unexpectedly

2009-05-13 Thread Marcel Michelmann
Hi *, I wrote a program in Java communicating with libvirt/XEN over SSH, with libvirt-java-0.2.1. I poll the CPU and RAM usage quite often (about 5 times a second). My program runs well about between 5-8 minutes, but then I get LibvirtException: socket closed unexpectedly. Although I try to ca

Re: [libvirt] Libvirt-Java Binding

2009-05-07 Thread Marcel Michelmann
cannot open any more and thus cannot be used anymore. For fixing that I have to restart the machine which runs XEN/libvirt. Thanks, Marcel - Original Message - From: "Daniel Veillard" To: "Marcel Michelmann" Cc: Sent: Thursday, May 07, 2009 4:44 PM Subject: Re: [l

[libvirt] Libvirt-Java Binding

2009-05-07 Thread Marcel Michelmann
Hello, I created a program in Java for communicating with a libvirt/XEN host over SSH. For every update I create a new connection. It just runs about 1 1/2 minutes. I guess it is because I do not close any of these connections. When I tried to close them after having used them (Connect.close()) t