BackupPC-users

Re: [BackupPC-users] Repeated error on more than one client; rsync timeout

2013-10-21 17:14:31
Subject: Re: [BackupPC-users] Repeated error on more than one client; rsync timeout
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 21 Oct 2013 16:12:34 -0500
On Mon, Oct 21, 2013 at 3:42 PM, Hans Kraus <hans AT hanswkraus DOT com> wrote:
> Hi,
>
> I get on more than one client the error in /var/log/syslog:
> ----------------------------------------------------------------
> rsync error: timeout in data send/receive (code 30) at io.c(137)
> [sender=3.0.9]
> ----------------------------------------------------------------
> which then leads to the backuppc error: backup failed (Child exited
> prematurely).
>
> This happens for incremental and full backups.
>
> I'm using rsyncd as transfer method. Is there any coure for that?
> Google brought up some cases with the same or similar error(s), but
> no remedy.

I think that the ClientTimeOut setting is supposed to be for idle time
on the network connection, but under some circumstances it isn't reset
on activity and becomes the total timeout for the run.    Try bumping
it much higher, especially if your current setting is approximately
the time when a timeout occurs.

Also rsync can have long periods of idle time reading blocks where
there are no differences from the comparison base.  If the connection
goes through a NAT gateway or a stateful firewall, the devices may
time the connection out and be blocked.  If you are running over ssh,
you can enable keepalives on the ssh connection with the
ServerAliveInterval option.    Standalone rsync may also have a way to
enable keepalives but I don't know where to set it.


-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/