On 4/7/2010 9:49 AM, Marcel Meckel|Softjury GmbH wrote:
> Hi there,
>
> we recently added an archive host to our BackupPC installation and were
> very surprised to find out that the archive jobs were being terminated
> after exactly 1200 minutes.
>
> After some googleing i found
>
>    
> http://www.mail-archive.com/[email protected]/msg17946.html
>
> which explains a lot.
>
> The comment in config.pl regarding $Conf{ClientTimeout} seems to be
> wrong and thus confused me:
>
>    # Timeout in seconds when listening for the transport program's
>    # (smbclient, tar etc) stdout. If no output is received during this
>    # time, then it is assumed that something has wedged during a backup,
>    # and the backup is terminated.
>    $Conf{ClientTimeout} = 72000;
>
> The comment gives the wrong impression that the timeout is only
> triggered when no output has been received for the specified time.
>
> In reality however, $Conf{ClientTimeout} limits the maximum execution
> time of an individual transport regardless of output has been received
> or not.
>
> In our case we were archiving 33 hosts to disk which would apparently
> take more than 20 hours.
>
> I suggest fixing the wrong comment and adding some words that make it
> clear that $Conf{ClientTimeout} could be a problem for long running
> BackupPC_archive jobs and therefore should be overwritten in the
> archive hosts per-PC config.pl file.

I think the documentation is the way the value is intended to work - and 
it is just a bug that under some conditions the timer isn't restarted 
when there is activity.  But you are right that it is a problem in many 
circumstances.

-- 
   Les Mikesell
     [email protected]

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to