rsync 3.0.9 hangs on large file

Greg Bell gbell_spamless at yahoo.com
Thu Jan 3 12:56:15 MST 2013


 > time ... Removing --compress from the command line fixed it.

I removed both compress and bwlimit but it still happens.

If I strace -f on the sender side, it looks like a 'select' is timing 
out...

[pid 31245] select(7, [3], [5], NULL, {30, 0} <unfinished ...>
[pid 31244] <... select resumed> )      = 0 (Timeout)
[pid 31244] select(6, NULL, [5], [5], {60, 0} <unfinished ...>
[pid 31245] <... select resumed> )      = 0 (Timeout)


If I ask lsof:

# lsof -p 31245 -ad 3,5
COMMAND   PID   USER   FD   TYPE     DEVICE SIZE/OFF     NODE NAME
ssh     31245 gbell2    3u  IPv4   26268263      0t0      TCP 
gregs.local:55309->24-206-232-227.dhcp.mdfd.or.charter.com:2911 
(ESTABLISHED)
ssh     31245 gbell2    5u  unix 0xc734b3c0      0t0 26269973 socket


OK, so the connection is timing out.  But why?  I can scp the same 
file over there no problem.


> BTW: why do you reduce the bandwidth to such
> a low limit (for a LAN)?

I'm in rural Australia, so I'm on slow ADSL.  That hostname is 
expanded by ssh (and .ssh/config) to a remote machine.




More information about the rsync mailing list