Re: btrfs send runs out of memory and file handles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 10, 2014 at 01:28:38PM +0000, Frank Kingswood wrote:
> Hi,
> 
> I'm attempting to back up a btrfs subvolume with
> 
>   $ btrfs send /path/to/subvol | nc
> 
> and the receiving end does
> 
>   $ nc -l | btrfs receive /path/to/volume
> 
> This subvolume holds ~250 GB of data, about half full, and uses RAID1.
> 
> Doing so runs out of file descriptors on the sending machine (having
> over 100k files open) and eventually runs out of memory and gets
> killed by the OOM killer.

   This sounds like a known bug, and I think it was fixed in 3.13.
What kernel version are you using?

   Hugo.

> What are the memory requirements of btrfs send?
> This is the initial send so the entire volume must be transferred.
> Are later send operations equally memory-intensive?
> 
> Is it possible to do an incremental send, or send partial snapshots
> and combine them later on?

   

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
         --- Everything simple is false. Everything which is ---         
                          complex is unusable.                           

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux