Re: [libvirt] Found mem leak in livirt, need help to debug

2015-12-04 Thread Piotr Rybicki
W dniu 2015-11-20 o 09:13, Peter Krempa pisze: On Thu, Nov 19, 2015 at 21:13:56 +0100, Piotr Rybicki wrote: W dniu 2015-11-19 o 17:31, Michal Privoznik pisze: ... ==2650== 7,692,288 bytes in 2 blocks are still reachable in loss record 1,444 of 1,452 ==2650==at 0x4C2BFC8: calloc

Re: [libvirt] Found mem leak in livirt, need help to debug

2015-11-20 Thread Piotr Rybicki
I've seen some of theese already. The bug is actually not in libvirt but in gluster's libgfapi library, so any change in libvirt won't help. This was tracked in gluster as: https://bugzilla.redhat.com/show_bug.cgi?id=1093594 I suggest you update the gluster library to resolve this issue.

Re: [libvirt] Found mem leak in livirt, need help to debug

2015-11-20 Thread Peter Krempa
On Thu, Nov 19, 2015 at 21:13:56 +0100, Piotr Rybicki wrote: > W dniu 2015-11-19 o 17:31, Michal Privoznik pisze: ... > > > > ==2650== 7,692,288 bytes in 2 blocks are still reachable in loss record > > 1,444 of 1,452 > > ==2650==at 0x4C2BFC8: calloc (vg_replace_malloc.c:711) > > ==2650==

Re: [libvirt] Found mem leak in livirt, need help to debug

2015-11-19 Thread Michal Privoznik
On 18.11.2015 15:33, Piotr Rybicki wrote: > Hi. > > There is a mem leak in libvirt, when doing external snapshot (for backup > purposes). My KVM domain uses raw storage images via libgfapi. I'm using > latest 1.2.21 libvirt (although previous versions act the same). > > My bash script for

Re: [libvirt] Found mem leak in livirt, need help to debug

2015-11-19 Thread Piotr Rybicki
W dniu 2015-11-19 o 17:31, Michal Privoznik pisze: procedure is: start libvirtd start kvm run backup script (with external snapshot) stop kvm stop libvirtd Valgrind output: Sorry, better valgrind output - showing problem: valgrind --leak-check=full --show-reachable=yes

Re: [libvirt] Found mem leak in livirt, need help to debug

2015-11-19 Thread Michal Privoznik
On 19.11.2015 15:00, Piotr Rybicki wrote: > > > W dniu 2015-11-19 o 14:36, Piotr Rybicki pisze: >> >> >> W dniu 2015-11-19 o 11:07, Michal Privoznik pisze: >>> On 18.11.2015 15:33, Piotr Rybicki wrote: Hi. There is a mem leak in libvirt, when doing external snapshot (for

Re: [libvirt] Found mem leak in livirt, need help to debug

2015-11-19 Thread Piotr Rybicki
W dniu 2015-11-19 o 14:36, Piotr Rybicki pisze: W dniu 2015-11-19 o 11:07, Michal Privoznik pisze: On 18.11.2015 15:33, Piotr Rybicki wrote: Hi. There is a mem leak in libvirt, when doing external snapshot (for backup purposes). My KVM domain uses raw storage images via libgfapi. I'm

Re: [libvirt] Found mem leak in livirt, need help to debug

2015-11-19 Thread Piotr Rybicki
W dniu 2015-11-19 o 11:07, Michal Privoznik pisze: On 18.11.2015 15:33, Piotr Rybicki wrote: Hi. There is a mem leak in libvirt, when doing external snapshot (for backup purposes). My KVM domain uses raw storage images via libgfapi. I'm using latest 1.2.21 libvirt (although previous versions

[libvirt] Found mem leak in livirt, need help to debug

2015-11-18 Thread Piotr Rybicki
Hi. There is a mem leak in libvirt, when doing external snapshot (for backup purposes). My KVM domain uses raw storage images via libgfapi. I'm using latest 1.2.21 libvirt (although previous versions act the same). My bash script for snapshot backup uses series of shell commands (virsh