Bug 1607156

Summary: Btrfs-cleaner memory leak?
Product: [Fedora] Fedora Reporter: Andrea V. <vezza>
Component: btrfs-progsAssignee: Josef Bacik <josef>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 28CC: esandeen, josef, mmahut
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-23 20:58:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrea V. 2018-07-22 16:33:06 UTC
Description of problem:
btrfs-cleaner fills up ram and system hangs up 

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


How reproducible:
Always as soon as I mount btrfs partition where I removed some snapshots

Steps to Reproduce:
1. Changed snapper config reducing the number of snapshots to keep;
2. Start btrfs-cleaner;
3. Whatch ram filling up with top (in my case 8G);
4. force reboot when the system hangs;
5. After reboot remount btrfs partition;
6. Watch again the ram filling up with top and the system hangs again.

Actual results:
Unusable btrfs partition

Expected results:
Usable btrfs partition

Additional info:

Comment 1 Eric Sandeen 2018-07-23 17:39:46 UTC
This is something you'll need to report upstream, I think.

Comment 2 Andrea V. 2018-07-23 20:58:01 UTC
ok, anyway I found it is a known problem caused by quota's. I solved disabling quota's.

Closing this bug report.