Opened 8 years ago

Closed 7 years ago

Last modified 4 years ago

#6661 closed defect (wontfix)

Rsync balloons to consume all available memory

Reported by: W. Michael Petullo <mike@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


I am using OpenWRT SVN revision 19300. I have installed rsync on a WRT160NL and use it to synchronize the device's attached USB disk with a laptop over the network. I find that, after running for several hours, "rsync --server ..." eventually consumes all of the device's available memory (32MB+64MB swap) and the device crashes.

I left "top" running on the WRT160NL and then started an rsync session over ssh from my laptop. Eventually, top reported that rsync's VSZ was 156m. Leading up to this point, files were synchronized as expected. When the system eventually crashed, rsync was in the process of synchronizing a file that was not particularly large.

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by W. Michael Petullo <mike@…>

comment:2 Changed 7 years ago by herve.cimadomo@…

i have same probleme with openwrt 10.03.1-rc4: rsync consume all memory and i see with dmes:
alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
VM: killing process openvpn

if anybody have a solution to restart openvpn automaticly, i take it !!!


comment:3 Changed 7 years ago by herve.cimadomo@…

i solved my probleme with swap-utils package: I create a swapfile on a external usb disk and i validate swap by swapon command.


comment:4 Changed 7 years ago by nbd

  • Resolution set to wontfix
  • Status changed from new to closed

Not an openwrt bug, rsync is heavy on ram usage.

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.