Bug 1291479 - Memory leak on Fuse client
Summary: Memory leak on Fuse client
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: 3.7.6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-14 22:45 UTC by Jack Peterson
Modified: 2019-11-28 08:24 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-03-08 10:57:06 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:
jack.peterson: needinfo-
jack.peterson: needinfo-


Attachments (Terms of Use)
Statedumps for both server and client (686.14 KB, application/zip)
2015-12-14 22:45 UTC, Jack Peterson
no flags Details

Description Jack Peterson 2015-12-14 22:45:30 UTC
Created attachment 1105748 [details]
Statedumps for both server and client

Description of problem: Fuse client appears to be building a large number of threads and the shared pool of ram? appears to be consuming more than is allocated and is failing to release memory. This server's uptime has only been 19 days so the amount of memory leakage appears somewhat substantial.

Version-Release number of selected component (if applicable):

sudo dpkg -l | grep gluster
ii  glusterfs-client                 3.7.6-ubuntu1~trusty1               amd64        clustered file-system (client package)
ii  glusterfs-common                 3.7.6-ubuntu1~trusty1               amd64        GlusterFS common libraries and translator modules



How reproducible: Unsure


Steps to Reproduce:
1. Create a 500GB 3-way replicated with quorum 2 (fixed) enabled.
2. Load it up with lots of small files (1kb - 50 kb) to about 55% full (not all files are this small, but the primary file type are PHP scripts).
3. Run it for an extended period of time doing the typical actions -- replace entire directories, symlink, rsync periodically for backups (READ FROM Gluster).

Actual results:
Memory leaking?

Memory consumption is very high to the point of swapping. Rebooting the client clears the issue.

Expected results:
Not memory leaking?

Additional info:

Ubuntu 14.04

sudo cat gluster-glusterfs-3_7-trusty.list 
deb http://ppa.launchpad.net/gluster/glusterfs-3.7/ubuntu trusty main

Comment 1 Mohammed Rafi KC 2015-12-15 12:24:49 UTC
Thanks Jack for attaching statedump.

Comment 2 Pranith Kumar K 2015-12-17 04:00:01 UTC
Jack,
      I looked at the statedump for the client and didn't find anything out of the ordinary :-(. I just wanted you to confirm that the statedump is taken at the time when you observed huge memory usage by the client process.

Pranith

Comment 3 Joe Julian 2015-12-17 04:02:31 UTC
Yes it was. I walked him through data collection before he restarted.

Comment 4 Kaushal 2017-03-08 10:57:06 UTC
This bug is getting closed because GlusteFS-3.7 has reached its end-of-life.

Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS.
If this bug still exists in newer GlusterFS releases, please reopen this bug against the newer release.


Note You need to log in before you can comment on or make changes to this bug.