I'm not sure where to start.  First, I updated the documentation and pushed
a change to update the mtime on the backup directories to match the backup
ending time.

Second, I'm ignoring a few comments since they seem like gratuitous
complaining.  Feel free to submit a pull request on git if you really care
about those issues and I'll consider them.

If your main config file is in /etc/BackupPC/config.pl, then your
per-client config.pl files need to be below /etc/BackupPC/pc.  That's why
putting your N$ setting in /data/BackupPC/pc/win2k8server/config.pl has no
effect.

I'm not sure why the N$ backup and SCGI are consuming 100% cpu time.  Are
you sure you want to use SCGI?

You could get real-time output from the N$ backup by running BackupPC_dump
manually with the -v option.  You should also increase $Conf{XferLogLevel}
to, eg, 5:

    su BackupPCUser
    BackupPC_dump -v win2k8server

Craig



On Fri, Apr 7, 2017 at 1:28 AM, G.W. Haywood <bac...@jubileegroup.co.uk>
wrote:

> Hello again,
>
> On Wed, 5 Apr 2017, G.W. Haywood wrote:
>
> > ... later I added the 'N$' share to the BackupPC
> > configuration.  That was about a week ago.  Last night's backup
> > started at 21:00.  After more than 14, hours one process is still
> > using 100% of a CPU:
> >
> > PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
> > 6352 ged       20   0  109364  68124   4568 R 100.0  1.7 449:24.60
> > /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_tarExtract -h hostname
> -s N$
> > -f
>
> After letting it run for 36 hours with no sign of it writing to the log:
>
> -rw-r----- 1 ged ged 2580494 Apr  5 02:32 XferLOG.8.z
>
> I tried to stop it:
>
> host07:# >>> ps axufwww | grep Backup
> ged      32382  0.0  0.3  58900 12380 ?        S    Mar30   0:01
> /usr/bin/perl
> /usr/local/BackupPC/bin/BackupPC -d
> ged      32383  0.0  0.5  74072 23428 ?        SN   Mar30   0:00  \_
> /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_Admin_SCGI
> ged      32384  0.0  0.5  78456 24056 ?        SN   Mar30   0:00  |   \_
> /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_Admin_SCGI
> ged      20756  0.0  0.6  79120 24720 ?        SN   Mar31   0:00  |   \_
> /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_Admin_SCGI
> ged       4310  0.0  0.5  79624 21432 ?        S    Apr04   0:14  \_
> /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_dump hostname
> ged       6352 91.8  1.6 109364 68124 ?        R    Apr04 1818:28      \_
> /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_tarExtract -h hostname -s
> N$ -f
> host07:# >>> /etc/init.d/backuppc stop
> Stopping backuppc:
> ok.
> host07:# >>> ps axufwww | grep Backup
> ged       6352 91.8  1.6 109364 68124 ?        R    Apr04 1818:54
> /usr/bin/perl
> /usr/local/BackupPC/bin/BackupPC_tarExtract -h hostname -s N$ -f
> host07:# >>> ps axufwww | grep Backup
> ged       6352 91.8  1.6 109364 68124 ?        R    Apr04 1819:01
> /usr/bin/perl
> /usr/local/BackupPC/bin/BackupPC_tarExtract -h hostname -s N$ -f
>
> The errant process wouldn't respond to '/etc/init.d/backuppc stop'
> so I killed it:
>
> host07:# >>> kill 6352
> host07:# >>> ps axufwww | grep Backup
> host07:# >>>
>
> Then I restarted BackupPC:
>
> host07:# >>> /etc/init.d/backuppc start
> Starting backuppc: ok.
>
> Then I let it run for another day, with similar results.  At 09:00
> BackupPC_tarExtract is chewing 100% CPU and XferLOG.9.z was last
> written at 00:37 this morning.
>
> There seems to be an infinite loop in there somewhere which I'm
> somehow triggering.
>
> Any suggestions for debugging?
>
> --
>
> 73,
> Ged.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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/
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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