Bug 60761 - btrfs send sometimes gets out of memory
Summary: btrfs send sometimes gets out of memory
Status: CLOSED UNREPRODUCIBLE
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Josef Bacik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 15:49 UTC by Mathijs Kwik
Modified: 2013-09-27 21:29 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.10.7 and older
Tree: Mainline
Regression: No


Attachments

Description Mathijs Kwik 2013-08-17 15:49:04 UTC
I'm trying to do a btrfs send of my main system volume.
This volume is huge, containing a bunch of full filesystem trees (backups and special chroots).

Everything seems to start out ok, but somewhere halfway, the send side of the transfer dies with:

ERROR: send ioctl failed with -12: Cannot allocate memory

Leading to receive-sided

ERROR: unexpected EOF in stream.

This happens consistently with this volume.
There is plenty of memory available and this is not some OOM-kill situation, so I guess there is some imposed memory limit somewhere.
Comment 1 David Sterba 2013-09-27 09:13:12 UTC
Are there messages in syslog saying something about the failed allocation?
Comment 2 Mathijs Kwik 2013-09-27 21:29:05 UTC
I've changed disks since I filed this report and used rsync to move everything.
I haven't seen this error since then. Probably something got corrupted, I had the previous disk/volume for a long time and with different mount options over time, so I guess something got corrupted.

For now, I will close this issue, will reopen if it pops up again.
Of course with a bit more info than now if I can find it :)

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