Joseph Maxwell
2010-Sep-25 14:33 UTC
"writefd_unbuffered failed to write 4092 bytes to socket"
I'm attempting to maintain a mirror of a remote database, ~ 66Gb on a FreeBSD platform. I do not have direct access to the database except by rsync, anon. ftp etc. I'm running rsync nightly from crontab, with the cmd /usr/local/bin/rsync -avvv --port=33444 ftp.filesource.org::ftp . >> rsynclog generated the following in the cron report First error [1] rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(562) [receiver=3.0.7]rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(562) [generator=3.0.7] Subsequent runs => [2] rsync: read error: Connection reset by peer (54)rsync: writefd_unbuffered failed to write 4092 bytes to socket [generator]: Broken pipe (32) rsync error: error in rsync protocol data stream (code 12) at io.c(1530) [generator=3.0.7] rsync error: received SIGUSR1 (code 19) at main.c(1288) [receiver=3.0.7] from rsynlog tail -10 => --- --- recv_generator(data/structures/divided/XML-extatom/bv/1bvb-extatom.xml.gz,598114) data/structures/divided/XML-extatom/bv/1bvb-extatom.xml.gz is uptodate Seems to indicate that the system works, up to a stsge when the pipe is broken or the conection is reset. I could not find any clear explanation of this on the net or FAQ. The FAQ mentions this type of error but requires acess to rsyncd running on the remote site. Is the synchronization completed after the 'reset' ? And what is the workaround or corrective steps for this? Thanks!! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20100925/e161e4de/attachment.html>
Matt McCutchen
2010-Sep-26 15:37 UTC
"writefd_unbuffered failed to write 4092 bytes to socket"
On Sat, 2010-09-25 at 07:33 -0700, Joseph Maxwell wrote:> I'm attempting to maintain a mirror of a remote database, ~ 66Gb on a > FreeBSD platform. I do not have direct access to the database except by > rsync, anon. ftp etc. > > I'm running rsync nightly from crontab, with the > cmd > /usr/local/bin/rsync -avvv --port=33444 ftp.filesource.org::ftp . >> > rsynclog > generated the following in the cron report > > First error > [1] > rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(562) > [receiver=3.0.7]rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) > at rsync.c(562) [generator=3.0.7]Something on the local machine sent rsync a signal. Try to figure out what.> Subsequent runs => > > [2] > rsync: read error: Connection reset by peer (54)rsync: writefd_unbuffered > failed to write 4092 bytes to socket [generator]: Broken pipe (32) > rsync error: error in rsync protocol data stream (code 12) at io.c(1530) > [generator=3.0.7] > rsync error: received SIGUSR1 (code 19) at main.c(1288) [receiver=3.0.7]If there are no other relevant error messages in the log, this means either the connection dropped or the remote rsync daemon closed the connection for a reason known only to itself. The only way to find out which is to look at the daemon's log or to strace both sides. If you don't have the cooperation of the rsync daemon administrator to investigate this, you are out of luck. -- Matt
Possibly Parallel Threads
- rsync: read error: Connection reset by peer and - writefd_unbuffered failed
- hello,this question,Request help
- DO NOT REPLY [Bug 7959] New: erro occoure ! rsync can't auto exit
- [Bug 1959] New: 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