>>>>> On Wed, 24 Feb 2021 08:54:11 +0100, Uwe Schuerkamp said:
> 
> On Tue, Feb 23, 2021 at 05:52:02PM +0100, Josip Deanovic wrote:
> > On Monday 2021-02-22 16:06:42 David Brodbeck wrote:
> > > On Wed, Feb 17, 2021 at 6:12 AM Josip Deanovic
> > > <djosip+n...@linuxpages.net>
> > > wrote:
> > > > It's interesting that the job had almost 2GB of attributes to
> > > > despool. That's quite a large amount of attributes.
> > > 
> > > I have a few jobs that despool that much, and one that despools over 18
> > > GB.  The machine in question has 51 million files.
> > 
> > Just to be sure... Are you talking about the attribute spool file that
> > gets created in running directory and not about the spool file that gets 
> > created in the spool directory?
> > 
> 
> I'd suspect he is talking about the attribute spool file. The size
> sounds about right (1,9GB on my end for around 5 million files, 19GB
> for his attribute spool with a tenfold amount of files in the backup job).
> 
> I'm just wondering why David's job appears to be working fine without a
> modification of the attribute spool size parameter in catreq.c as
> outlined above...

The parameter (10000000) in catreq.c is not the total size of the spool file.
It is the maximum record size within the spool file, which is typically
several orders of magnitude smaller than 10000000.


>                   then again our job used to work for years without
> any issues, things only started to go wrong on bacula 9.6.5 or
> thereabouts.

That's interesting.  There was a bug in 9.6.4 which changed the way that
Bacula locks access to the catalog (but I'm not sure how it would cause this
problem).

Do you run concurrent jobs?

If so, you could try updating to 9.6.7 plus this patch:

https://www.bacula.org/git/cgit.cgi/bacula/commit/bacula/src/dird/dird.c?h=Branch-11.0&id=9ddd829414bb4b1f8330f71824f0ef5675e957a8

Don't be mislead by the change reason in this patch -- it changes much more
than just the 'show catalog' command.  This patch will probably work in 9.6.5
as well.

__Martin


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to