rsync: connection unexpectedly closed

Wayne Davison wayned at
Thu Oct 13 23:58:49 UTC 2016

On Wed, Oct 12, 2016 at 8:30 PM, Kip Warner <kip at> wrote:

> I think the key insight was in the strace log which showed the
> select() call was timed out.

No, that's totally expected. While select() is waiting for I/O to arrive,
it returns to rsync every 60 seconds to allow it to decide if it wants to
continue waiting or do something else. You have to find the process that is
exiting first to discover why the connection is closing. This assumes that
it's not a network issue, where all of the programs get a closed-connection
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list