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] >In trying to further investigate this, I edited the script and added verbosity and the last few lines of the log file look like this: [sender]> make_file(static/vds/v_3752/p_388/product/product_1310352_20.js,*,2) > [sender] > make_file(static/vds/v_3752/p_388/product/product_1313369_9.js,*,2) > [sender] _exit_cleanup(code=12, file=io.c, line=601): about to call > exit(255) >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. Thanks in advance, Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20110217/a9ea737e/attachment.html>
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