What's new

rsync backup crashed on RT-N66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

kha

New Around Here
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 :)
 
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.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top