[Bugs] [Bug 1426291] possible memory leak in glusterfsd with multiplexing

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 9 19:25:56 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1426291



--- Comment #5 from Jeff Darcy <jdarcy at redhat.com> ---
Looking at the differences between the statedumps, these two stand out:

   protocol/server.vol1-server gf_common_mt_inode_ctx: 4000 -> 54000
   protocol/server.vol1-server gf_common_mt_strdup: 16007 -> 66007

So, exactly 50K of each, both from protocol/server.  This seems consistent with
a memory leak when clients reconnect, if they do so many times, which raises
two questions.

(1) Where *exactly* is the leak (or possibly two leaks)?

(2) Why do clients keep reconnecting?

The answer to the second question, unfortunately, might be that our network
layer simply isn't capable of handling that many connections, creating queue
effects that cause clients to time out.  Can you check for that in the client
logs?  Or maybe for a consistent interval between disconnect/reconnect cycles? 
Also, have you checked whether this happens *without* multiplexing, given the
same rate of reconnections?  I have a strong suspicion that it would, and that
the leak has been latent for a long time until multiplexing made it visible.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=VPoecXMFnG&a=cc_unsubscribe


More information about the Bugs mailing list