Joseph Maxwell
2011-Apr-16 06:35 UTC
rsync: read error: Connection reset by peer and - writefd_unbuffered failed
Hello, i386 Platform; FreeBSD v. 7.2 O/S I am experiencing repeated rsync failures, rsyncing from a remote site to which I have no access.>From the client side I can run truss to collect system callstruss -faedD -o truss.out -s 64 /usr/local/bin/rsync -avvv --contimeout=1200 --port=33444 ftp.wwwxxx.org::ftp . >> rsynclog &>From truss.out =>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) 44755: 4492.369490252 0.019248456 select(5,{4},{},0x0,{60.000000 }) = 1 (0x1) 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) 44179: 5240.807487992 59.997897666 select(6,{5},{4},{4},{60.000000 }) = 1448 (0x5a8) 44755: 4552.250247445 59.880366899 select(5,{4},{},0x0,{60.000000 }) = 0 (0x0) 44179: 5266.606680255 25.798976860 select(6,{5},{4},{4},{60.000000 }) = 1 (0x1) 44755: 4552.250720436 0.000172936 read(4,0x2832d94c,1712) = 1 (0x1) 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' 44755: 4552.251465543 0.000424099 write(2,"rsync: read error: Connection reset by peer (54)",48) ERR#32 'Broken pipe' 44179: 5266.607818450 0.000371296 write(2,"rsync: writefd_unbuffered failed to write 4092 bytes to socket ["...,92) = 48 (0x30) ____________________________________________________________________________ truss -faedD -o truss2.out -s 64 /usr/local/bin/rsync -avvv --contimeout=1200 --port=33444 ftp.wwwxxx.org::ftp . >> rsynclog &>From truss2.out =>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) 51555: 3544.035004990 0.022113220 select(5,{4},{},0x0,{60.000000 }) = 1 (0x1) 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) 51131: 4334.813165129 59.998854264 select(6,{5},{4},{4},{60.000000 }) = 1448 (0x5a8) 51555: 3603.843847492 59.808422594 select(5,{4},{},0x0,{60.000000 }) = 0 (0x0) 51131: 4369.290360040 34.476947659 select(6,{5},{4},{4},{60.000000 }) = 1 (0x1) 51555: 3603.844274944 0.000132985 read(4,0x2832dfa9,83) = 1 (0x1) 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' 51555: 3603.845026756 0.000422702 write(2,"rsync: read error: Connection reset by peer (54)",48) ERR#32 'Broken pipe' 51131: 4369.291463312 0.000368223 write(2,"rsync: writefd_unbuffered failed to write 4092 bytes to socket ["...,92) = 48 (0x30) ____________________________________________________________________________ Could some one point out where the error may be occurring, there are two steps where it seems that read(4 ...) returns a 1, 4th line from the bottom - could that be it, i.e. the error source? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20110415/1b37a1fc/attachment.html>
Maybe Matching Threads
- "writefd_unbuffered failed to write 4092 bytes to socket"
- rsync: writefd_unbuffered failed to write 32768 bytes: phase "unknown": Broken pipe
- [Bug 1959] writefd_unbuffered failed to write 4092 bytes phase send_file_entry broken pipe
- [Bug 1959] writefd_unbuffered failed to write 4092 bytes phase send_file_entry broken pipe
- DO NOT REPLY [Bug 1959] writefd_unbuffered failed to write 4092 bytes phase send_file_entry broken pipe