SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > Asuswrt-Merlin

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-21-2013, 05:40 PM
kha kha is offline
New Member
 
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
kha is just starting out
Default rsync backup crashed on RT-N66U

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 :-)
Reply With Quote
  #2  
Old 02-22-2013, 08:55 PM
RogerSC RogerSC is offline
Very Senior Member
 
Join Date: Oct 2009
Posts: 1,416
Thanks: 21
Thanked 202 Times in 179 Posts
RogerSC is just starting out
Default

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.
Reply With Quote
  #3  
Old 02-23-2013, 08:03 AM
huotg01's Avatar
huotg01 huotg01 is offline
Senior Member
 
Join Date: Feb 2013
Posts: 149
Thanks: 67
Thanked 11 Times in 10 Posts
huotg01 is just starting out
Default

RogerSC is right.

If you think that it is not very convenient, I think you could instead setup a swap space.
Here are some informations in this post http://forums.smallnetbuilder.com/sh...86&postcount=8 in this thread: http://forums.smallnetbuilder.com/sh...ad.php?p=60086

GH
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 03:48 PM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  430
azazel1024  125
john9527  96
L&LD  95
htismaqe  79
ColinTaylor  70
stevech  64
hggomes  63
sfx2000  58
Anzaia  49
RMerlin  6274
john9527  447
stevech  352
ryzhov_al  289
TeHashX  252
L&LD  242
RogerSC  202
sinshiva  146
sfx2000  136
joegreat  127
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  48104
Old RT-AC68 -...  22559
Old RT-AC68P...  7153
Old Moderate Nat...  4836
Old ASUS RT-N66U...  4343
Old iOS 8.1...  3998
Old RT-AC87U -...  2475
Old WiFi...  2434
Old RT-AC68P QOS...  1998
Old AC68U,...  1792
Old Asuswrt-Merli...  216
Old RT-AC68 -...  137
Old Review: 24...  35
Old iOS 8.1...  33
Old RT-AC68P...  33
Old Moderate Nat...  31
Old WiFi...  27
Old RT-AC87U -...  26
Old How to flash...  24
Old RT-AC68P QOS...  24


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.