[Bug 992480] Re: fsck.btrfs of a 1TB volume triggers OOM kill on a 1GB RAM machine. (32-bit)

Arie Skliarouk skliarie at gmail.com
Thu Jun 7 13:33:46 UTC 2012


It got better, printing bunch of output:

Backref 3770329751552 root 260 not referenced back 0x541da560
Incorrect global backref count on 3770329751552 found 1 wanted 0
backpointer mismatch on [3770329751552 4096]
owner ref check failed [3770329751552 4096]
ref mismatch on [3770329800704 4096] extent item 1, found 0
Backref 3770329800704 root 260 not referenced back 0x4db0d110
Incorrect global backref count on 3770329800704 found 1 wanted 0
backpointer mismatch on [3770329800704 4096]
owner ref check failed [3770329800704 4096]
Errors found in extent allocation tree
checking fs roots
Killed

Eventually it also ate the 4GB of memory and got killed by OOM. Note
that I intentionally disabled swap here to avoid thrashing.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/992480

Title:
  fsck.btrfs of a 1TB volume triggers OOM kill on a 1GB RAM machine.
  (32-bit)

Status in “btrfs-tools” package in Ubuntu:
  Confirmed

Bug description:
  fsck.btrfs of a 1TB volume triggers OOM kill on a 1GB RAM machine.
  (32-bit)

  Thats about all there is to say:

  sudo fsck -v /dev/sdd1
  fsck from util-linux 2.20.1
  fsck: Warning... fsck.btrfs for device /dev/sdd1 exited with signal 9.

  May  1 17:49:10 lifelesswks kernel: [639863.533203] Out of memory: Kill process 32192 (fsck.btrfs) score 846 or sacrifice child
  May  1 17:49:10 lifelesswks kernel: [639863.533210] Killed process 32192 (fsck.btrfs) total-vm:2555884kB, anon-rss:772228kB, file-rss:0kB

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/992480/+subscriptions




More information about the foundations-bugs mailing list