Keeping erroring out every night

Bill Campbell rsync at celestial.com
Thu Feb 17 10:31:03 MST 2011


On Thu, Feb 17, 2011, Shai wrote:
>
>   Hello list,
>   I have a cron that runs a sync processes every night. Lately, it began
>   erroring out with this error:
>
>     rsync: connection unexpectedly closed (217717 bytes received so far)
>     [sender]
>     rsync error: unexplained error (code 255) at io.c(601)
>     [sender=3.0.7]
>
...
>   I can't make out why there is a connection issue, and when I tried
>   running this twice, manually (ie. run the script manually and not from
>   cron), it never failed.

When I've seen things like this it was usually something like a
disk-full problem on the receiving end or a network problem.

This usually happens after midnight when all our systems are
doing daily maintenance runs including cross-machine backups
using rsync, a period where some large files may be created
leaving marginal space on a drive which don't show up in the
morning after the maintenance runs complete and clean up.

I would look at the rsync and system logs on the receiving
machine around the time of the failures.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

Everything secret degenerates, even the administration of justice. Nothing
is safe that does not show it can bear discussion and publicity.
  -- Lord Acton


More information about the rsync mailing list