[Gluster-users] Memory leak with the libgfapi in 3.12 ?

Jim Kinney jim.kinney at gmail.com
Wed Aug 1 21:35:58 UTC 2018

Hmm. I just had to jump through lots of issues with a gluster 3.12.9
setup under Ovirt. The mounts are stock fuse.glusterfs. The RAM usage
had been climbing and I had to move VMs around, put hosts in
maintenance mode, do updates, restart. When the VMs were moved back the
memory usage dropped back to normal. The new gluster is 3.12.11 and
still using fuse in a replica 3 config. I'm blaming the fuse mount
process for the leak (with no data to back it up yet).
A different gluster install also using fuse mounts does not show the
memory consumption. It does not use virtualization at all so it really
is likely an issue with the kvm/qemu. On those system, the fuse mounts
get dropped by oomkiller when computation use of memory overload
things. Different issue totally. 
On Wed, 2018-08-01 at 19:57 +0100, lemonnierk at ulrar.net wrote:
> Hey,
> Is there by any chance a known bug about a memory leak for the
> libgfapiin the latests 3.12 releases ?I've migrated a lot of virtual
> machines from an old proxmox cluster to anew one, with a newer
> gluster (3.12.10) and ever since the virtualmachines have been eating
> more and more RAM all the time, without everstopping. I have 8 Gb
> machines occupying 40 Gb or ram, which theyweren't doing on the old
> cluster.
> It could be a proxmox problem, maybe a leak in their qemu, but
> sinceno one seems to be reporting that problem I wonder if maybe the
> newergluster might have a leak, I believe libgfapi isn't used much.I
> tried looking at the bug tracker but I don't see anything obvious,
> theonly leak I found seems to be for distributed volumes, but we only
> usereplica mode.
> Is anyone aware of a way to know if libgfapi is responsible or not
> ?Does it have any kind of reporting I could enable ? Worse case I
> couldalways boot a VM through the fuse mount instead of libgfapi, but
> that'snot ideal, it'd take a while to confirm.
> _______________________________________________Gluster-users mailing
> listGluster-users at gluster.orghttps://lists.gluster.org/mailman/listin
> fo/gluster-users
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180801/239ae3eb/attachment.html>

More information about the Gluster-users mailing list