Hello,<br><br>i386 Platform; FreeBSD v. 7.2 O/S <br>I am experiencing repeated rsync failures, rsyncing from a remote site to which I have no access.<br>From the client side I can run truss to collect system calls<br><br>truss -faedD -o truss.out -s 64 /usr/local/bin/rsync -avvv --contimeout=1200 --port=33444 ftp.wwwxxx.org::ftp . >> rsynclog &<br>
<br>From truss.out =><br><br>44755: 4492.350089813 0.000022629 read(4,"\M-4\M-4(\M-^\M-j\M^F\^\$\M^]\M^[\M-O2)TX]rbX\^]\M-{\M^B\M-sT"...,4092) = 932 (0x3a4)<br>44755: 4492.369490252 0.019248456 select(5,{4},{},0x0,{60.000000 }) = 1 (0x1)<br>
44755: 4492.369704537 0.000033806 read(4,"e\M-S\M-cI\M-9\^E,V\^O\\:\M^PM`\M-I\^?\^X\M^UC\M-N#%^J\M^H7'\b"...,3160) = 0 (0x0)<br>44179: 5240.807487992 59.997897666 select(6,{5},{4},{4},{60.000000 }) = 1448 (0x5a8)<br>
44755: 4552.250247445 59.880366899 select(5,{4},{},0x0,{60.000000 }) = 0 (0x0)<br>44179: 5266.606680255 25.798976860 select(6,{5},{4},{4},{60.000000 }) = 1 (0x1)<br>44755: 4552.250720436 0.000172936 read(4,0x2832d94c,1712) = 1 (0x1)<br>
44179: 5266.607031995 0.000070125 write(4,"\M-0\M-h\^DH\M-U\M-%i\M-v\M-{\M-UQ\M-\\^U\M-J\^C\^\Y|\M-~\^U\^E"...,1911) ERR#54 'Connection reset by peer'<br>44755: 4552.251465543 0.000424099 write(2,"rsync: read error: Connection reset by peer (54)",48) ERR#32 'Broken pipe'<br>
44179: 5266.607818450 0.000371296 write(2,"rsync: writefd_unbuffered failed to write 4092 bytes to socket ["...,92) = 48 (0x30)<br>____________________________________________________________________________<br>
truss -faedD -o truss2.out -s 64 /usr/local/bin/rsync -avvv --contimeout=1200 --port=33444 ftp.wwwxxx.org::ftp . >> rsynclog &<br><br><br>From truss2.out =><br><br>51555: 3544.012714084 0.000033246 read(4,"\^D\^Z\M-[x\M-Yh\M-Kq\M-K\M-u\f \^W\M^@"{;\M-S\^\\M^Ka.z\M-7\M-?"...,2979) = 1448 (0x5a8)<br>
51555: 3544.035004990 0.022113220 select(5,{4},{},0x0,{60.000000 }) = 1 (0x1)<br>51555: 3544.035232405 0.000036599 read(4,"\M-K%\^?r\M-(\M^]S\^TfWX\M-]\M-7\^\\M-J\M-V\M-t7+\M^D\M^EO\M-l"...,1531) = 0 (0x0)<br>51131: 4334.813165129 59.998854264 select(6,{5},{4},{4},{60.000000 }) = 1448 (0x5a8)<br>
51555: 3603.843847492 59.808422594 select(5,{4},{},0x0,{60.000000 }) = 0 (0x0)<br>51131: 4369.290360040 34.476947659 select(6,{5},{4},{4},{60.000000 }) = 1 (0x1)<br>51555: 3603.844274944 0.000132985 read(4,0x2832dfa9,83) = 1 (0x1)<br>
51131: 4369.290674063 0.000073477 write(4,"\0\0\0\0\0\0\0\0\0\0\0\0L(\^O\0\0\240\0\0\0\0\0\0\0\0\0\0\0\0\0"...,698) ERR#54 'Connection reset by peer'<br>51555: 3603.845026756 0.000422702 write(2,"rsync: read error: Connection reset by peer (54)",48) ERR#32 'Broken pipe'<br>
51131: 4369.291463312 0.000368223 write(2,"rsync: writefd_unbuffered failed to write 4092 bytes to socket ["...,92) = 48 (0x30)<br>____________________________________________________________________________<br>
<br>Could some one point out where the error may be occurring, there are two steps where it seems<br>that read(4 ...) returns a 1, 4th line from the bottom - could that be it, i.e. the error source?<br><br>Thanks!<br><br>
<br>