The Samba-Bugzilla – Bug 9164
rsync hangs or fails
Last modified: 2012-09-15 09:44:51 UTC
Trying to synchronise local(Mac Os x or PC via router) and remote site(Linux CentOs FreeBSD Apache2) with rsync, I have two type of errors:
1) Process hangs without terminating ( dtruss shows the same line repeating with SELECT...)
2) Process fails with this message:
rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (36 bytes received so far) [sender]
rsync error: unexplained error (code 255) at /SourceCache/rsync/rsync-40/rsync/io.c(452) [sender=2.6.9]
The second problem appear with larger files (mp3, images, etc).
When it hangs, it seems completely random.
I've already read lot of bugs report and official doc about it, but I've never seen any real work out or solution for this problem.
Hope I"m wrong, so any idea and suggestion, and of course - working solution -, is welcome.
Thanks in advance,