[libvirt] LibvirtException: socket closed unexpectedly
michelma at cip.ifi.lmu.de
Wed May 13 07:11:35 UTC 2009
I wrote a program in Java communicating with libvirt/XEN over SSH, with
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 catch the LibvirtExceptions with special
System.out.println messages I have no idea where this is coming from.
Now my question: what leads to this exception?
exception caught: org.libvirt.LibvirtException: socket closed unexpectedly
message:socket closed unexpectedly
str2:socket closed unexpectedly
After that I can start my program again, and it is the same again (runs some
minutes and then throws the exception).
Perhaps someone knows? I would be very thankful for any help!
More information about the libvir-list