rsync backup crashed on RT-N66U

Discussion in 'Asuswrt-Merlin' started by kha, Feb 21, 2013.

  1. kha

    kha New Around Here

    Joined:
    Feb 21, 2013
    Messages:
    5
    Hello,

    I have 2 external drives connected to my RT-N66U router with latest Merlin firm.

    I run:

    Code:
    rsync -avhPn --delete --modify-window=1 --log-file=/opt/var/log/rsync.log /mnt/nas/ /mnt/backup/BACKUP/nas/
    and after a few seconds, rsync crashed with this error:

    Code:
    ERROR: out of memory in flist_expand [sender]
    rsync error: error allocating core memory buffers (code 22) at util.c(117) [sender=3.0.9]
    rsync: writefd_unbuffered failed to write 78 bytes to socket [generator]: Broken pipe (32)
    I installed rsync with

    Code:
    ipkg install rsync
    I searched on Internet without finding any clear answer... But my guess is that the file list to backup is so important that rsync runs out of memory ? Could it be that or there is something I could do to make it works ?

    Thank you :)
     
  2. Log in / Register to remove this ad

  3. RogerSC

    RogerSC Very Senior Member

    Joined:
    Oct 18, 2009
    Messages:
    1,647
    I expect that if you broke the backup into pieces rather than doing it all in one operation, you could decrease the length of the file list that rsync needs to the point where the buffer space needed to contain it is small enough that the space could be allocated for each piece.

    Just a thought.
     
  4. huotg01

    huotg01 Senior Member

    Joined:
    Feb 3, 2013
    Messages:
    421
    Location:
    Montreal

Share This Page