[Bugs] [Bug 1509071] New: Many files in a dir causes leaks after quota is enabled

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 2 20:58:18 UTC 2017


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

            Bug ID: 1509071
           Summary: Many files in a dir causes leaks after quota is
                    enabled
           Product: GlusterFS
           Version: 3.12
         Component: quota
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: happe at nbi.dk
                CC: bugs at gluster.org



Created attachment 1347114
  --> https://bugzilla.redhat.com/attachment.cgi?id=1347114&action=edit
Reproduce script

Description of problem:

We have a production system with a dir containing 17mil files. Quota was
enables later. Accessing these files with with 'du' or a rebalance causes OOM
killer to kick in.

I've created a script that will reproduce. See below.

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


How reproducible:

Always.

Steps to Reproduce:

The attched script will show the issue. Creates an in memory distributed volume
and fill it with files (# is first argument). Then enables quota and running
'du'.

Actual results:

OOM or high memory use depending on how many files are created.

Expected results:

No exceptional memory use.

Additional info:

3.7 does not have the issue.
3.8, 3.10 and 3.12 do.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list