On Mon, 6 Aug 2007, Dave Howorth wrote:

> *** Execution cycle 0 ***
>
> rsync: read error: Connection reset by peer (104)
> rsync error: error in rsync protocol data stream (code 12) at io.c(515)
> rsync: connection unexpectedly closed (25368544 bytes received so far)
> [generator]
> rsync error: error in rsync protocol data stream (code 12) at io.c(359)

Are you using rsync over SSH?  If so, assuming it's the root user who's 
sshing around, add this to /root/.ssh/config:

Host *
         ServerAliveInterval 3
         ServerAliveCountMax 10000

That will cause it to keep the connection alive every 3 seconds.  If 
10,000 such keep-alive packets are sent and not one is received back, then 
the client closes the connection.

-- Asheesh.

--
An age is called Dark not because the light fails to shine, but because
people refuse to see it.
                -- James Michener, "Space"
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to