rsync erroring out when syncing a large tree

Wayne Davison wayned at
Tue Aug 10 21:34:05 GMT 2004

On Tue, Aug 10, 2004 at 11:28:04AM +0100, Mark Watts wrote:
> rsync: connection unexpectedly closed (289336107 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(189)

This error just means that the other side went away for some reason.
What you need to figure out is why.  The version of rsync in CVS (and in
the "nightly" tar files) tries to grab a dying error from the other
side, if possible, but if it crashed there is no such error to return.

So, I'd recommend trying the CVS version of rsync to see if that gives
you the actual error of what failed.  Alternately (or additionally),
follow the directions on the issues page to get a core dump and/or a
system-call trace from the remote side to get extra information on what
has gone wrong:


More information about the rsync mailing list