rsync huge files from cygwin to linux stalls - bug?

armin langhofer office at langhofer.at
Tue Mar 7 00:21:27 GMT 2006


hi there

i'm trying to backup a 3gig directory with about 100.000 files from a 
windows pc to a linux box with rsync but the process stalls (hangs).

setting a "--timeout 60" shows me that the i/o stalls.

doing the same with smaller directories works perfectly but the whole 
100.000 files seem to be too much.

the process hangs before the file list is done. rsync doesn't start to 
transfer any file.

as there are four components involved i can't say which of it breaks: it 
could be windows, cygwin, ssh or rsync.

here my config

windows box (tried two different machines):
amd athlon xp 2200+ win xp sp2 with cygwin, openssh 4.3pl2 openssl 
0.9.8a, rsync 2.6.6 protocol version 29


linux box (i686 compatible cpu):
gentoo linux 2.6.15.1 i686 VIA Ezra CentaurHauls OpenSSH_4.2p1, OpenSSL 
0.9.7i rsync 2.6.6 protocol version 29


calling the rsync on the windows box works fine: it transfers the data 
from win to linux but calling the rsync on linux breaks. unfortunately i 
need to call it from linux because rsnapshot (the tool i'm trying to 
setup) calls the rsync process from the file destination host.

running rsync in dry-run mode (-n) works great as well.

--- snip --- (-v)
Gdinst/PERSONEN.DB$
Gdinst/PERSONEN.MD$
Gdinst/POSIO2.DB$
Gdinst/POSIO2.MD$
Gdinst/POSIONEN.DB$
io timeout after 60 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(183)
rsync: connection unexpectedly closed (1412433 bytes received so far) 
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
--- /snip ---

--- snip --- (-vvv)
renaming .ANTRAG.TXT.gUq0RW to ANTRAG.TXT
false_alarms=0 tag_hits=1 matches=1
sender finished /cygdrive/d/GDAT/ANTRAG.TXT
send_files(91, /cygdrive/d/GDAT/BARTEMP.DBF)
send_files mapped /cygdrive/d/GDAT/BARTEMP.DBF of size 576
recv_files(BARTEMP.DBF)
BARTEMP.DBF
recv mapped BARTEMP.DBF of size 576
calling match_sums /cygdrive/d/GDAT/BARTEMP.DBF
built hash table
hash search b=700 len=576
match at 0 last_match=0 j=0 len=576 n=0
done hash search
io timeout after 60 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(183)
_exit_cleanup(code=30, file=io.c, line=183): about to call exit(30)
rsync: connection unexpectedly closed (1412433 bytes received so far) 
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)
_exit_cleanup(code=12, file=io.c, line=434): about to call exit(12)
--- /snip ---


thanx for any help!

regards, armin.


More information about the rsync mailing list