Hi there,

On Tue, 30 Oct 2018, Craig Barratt wrote:

I've been reviewing the mail list over the last few months, and
there are still a couple of reported issues I'm trying to replicate
or learn more about.

I'm still looking at the issue I had with BackupPC a couple of months
ago (Re: BackupPC 4.2.1 apparently in an infinite loop.) and I think
it might have been a kernel problem.  At least after I upgraded the
kernel - and that's the only change that I made - the problem seemed
to go away.  Calls to select() in rsync_bpc were timing out.  Here's
an example strace output:

select(4, [3], [], NULL, {tv_sec=5, tv_usec=41543}) = 0 (Timeout)
select(4, [3], [], NULL, {tv_sec=60, tv_usec=0}) = 0 (Timeout)
[previous line repeated many times]
select(4, [3], [], NULL, {tv_sec=60, tv_usec=0} <detached ...>

Also at some stage I was getting an undefined symbol error which was
causing backups to fail.  I added the test below to fix it.  I don't
know what I did that might have triggered this, it was incidental to
trying to find out what was causing the select() timeouts.

8<----------------------------------------------------------------------
ged@tornado:/usr/share/backuppc/bin$ diff -U3 BackupPC_dump.~1~  BackupPC_dump
--- BackupPC_dump.~1~   2018-08-28 11:22:01.688465718 +0100
+++ BackupPC_dump       2018-09-21 18:14:29.376719313 +0100
@@ -2189,7 +2189,7 @@
         }
     } else {
         foreach my $m ( @$msg ) {
-            print($LogFd $m);
+            print($LogFd $m) if( defined $LogFd && defined $m );
         }
     }
 }
8<----------------------------------------------------------------------

HTH

--

73,
Ged.


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to