Rsync hangs after a while when tunneling from A->B->C

Stefaan Lhermitte stefaan.lhermitte at biw.kuleuven.be
Tue Oct 11 10:55:52 GMT 2005


Dear Rsyncians,

I'm trying to Rsync my windowsXP-pc A and C. There is a firewall in 
between A and C, but we have a port open on a linux-machine B to access 
C from A (and vica versa) via B.

When I now run my Rsync scripts in cygwin:



# 
_______________________________________________________________________________
#!/bin/bash
# Command to synchronize (only update) two computers based on RSYNC

FOLDER_SOURCE="/cygdrive/d/scripts"
FOLDER_TARGET="/cygdrive/g/stefaanlh/scripts"
PC_SOURCE="ip of pc-A"
PC_TARGET="ip of pc-C"

echo Synchronizing of SOURCE with TARGET
rsync -auvvvz --timeout=999 -e "ssh stefaanlh at ip-pc-B ssh" 
$FOLDER_SOURCE/ $PC_TARGET:$FOLDER_TARGET
echo Synchronizing of TARGET with SOURCE
rsync -auvvvz --timeout=999 -e "ssh stefaanlh at ip-pc-B ssh" 
$PC_TARGET:$FOLDER_TARGET/ $FOLDER_SOURCE
echo Done
# 
_______________________________________________________________________________


Rsync hangs unexplainable after a while (+-a minute). You can see the 
end of my log-file below my email.
It looks like a time-out because, when I restart the program after it 
hangs it continues where it stopped before and afterwards hangs again 
after a minute.

Is there anyone with advice on how to solve this?

Thanks in advance and kind regards,
Stef



Log-file:
set modtime of cpp/area_extract_sl_1x00/.area_extract.layout.d1AQ20 to 
(1074535293) Mon Jan 19 19:01:33 2004
renaming cpp/area_extract_sl_1x00/.area_extract.layout.d1AQ20 to 
cpp/area_extract_sl_1x00/area_extract.layout
false_alarms=0 tag_hits=0 matches=0
sender finished 
/cygdrive/g/stefaanlh/scripts/cpp/area_extract_sl_1x00/area_extract.layout
send_files(90, 
/cygdrive/g/stefaanlh/scripts/cpp/area_extract_sl_1x00/area_extract.o)
send_files mapped 
/cygdrive/g/stefaanlh/scripts/cpp/area_extract_sl_1x00/area_extract.o of 
size 6253
recv_files(cpp/area_extract_sl_1x00/area_extract.o)
cpp/area_extract_sl_1x00/area_extract.o
calling match_sums 
/cygdrive/g/stefaanlh/scripts/cpp/area_extract_sl_1x00/area_extract.o
sending file_sum
got file_sum
set modtime of cpp/area_extract_sl_1x00/.area_extract.o.RHXhoJ to 
(1070450786) Wed Dec  3 12:26:26 2003
renaming cpp/area_extract_sl_1x00/.area_extract.o.RHXhoJ to 
cpp/area_extract_sl_1x00/area_extract.o
false_alarms=0 tag_hits=0 matches=0
sender finished 
/cygdrive/g/stefaanlh/scripts/cpp/area_extract_sl_1x00/area_extract.o
send_files(91, /cygdrive/g/stefaanlh/scripts/cpp/edison_src.zip)
send_files mapped /cygdrive/g/stefaanlh/scripts/cpp/edison_src.zip of 
size 1120295
recv_files(cpp/edison_src.zip)
cpp/edison_src.zip
calling match_sums /cygdrive/g/stefaanlh/scripts/cpp/edison_src.zip


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the rsync mailing list