On Tuesday, July 12, 2011 09:43:54 AM Dennis Benndorf did opine:

> Hello Gene,
> 
> thanx for your response. Lets see how many dumpers are there tonight ;-)
> 
> Regards,
> Dennis
> 
> 
> 
> -------- Original-Nachricht --------
> 
> > Datum: Tue, 12 Jul 2011 09:10:15 -0400
> > Von: gene heskett <[email protected]>
> > An: [email protected]
> > Betreff: Re: Increase MAX_DUMPERS in "inparallel" option
> > 
> > On Tuesday, July 12, 2011 09:09:10 AM Dennis Benndorf did opine:
> > > Hello @all,
> > > 
> > > I want to increase the maximum of inparallel dumps, but dont know
> > > really how. I looked in the source of server-src/driverio.h but
> > > there is no value to set higher.
> > > 
> > > --------
> > > 
> > > inparallel 63           # maximum dumpers that will run in parallel
> > > (max 63) # this maximum can be increased at compile-time, #
> > > modifying MAX_DUMPERS in server-src/driverio.h --------
> > > 
> > > Wouldnt this be nice to have this configured with ./configure
> > > MAX_DUMPERS=100 or so?
> > > 
> > > Regards,
> > > Dennis
> > 
> > It looks like its been moved, to "common-src/amanda.h"
> > 
> > Cheers, gene

Word wrap off, long lines from grep ahead.

Its great that you found it.  This is a case of grep -R being your friend.

Example:
[root@coyote amanda-4.0.0alpha.svn.4221]# grep -R MAX_DUMPERS *
Binary file common-src/.libs/libamanda-4.0.0alpha.svn.4221.so matches
Binary file common-src/.libs/conffile.o matches
Binary file common-src/.libs/libamanda.a matches
Binary file common-src/.libs/libamanda.so matches
common-src/amanda.h:#define MAX_DUMPERS 63   <-------target of search, gives 
the value.  The rest of this is just usage.
common-src/conffile.c:    if(val_t__int(val) < 1 || val_t__int(val) 
>MAX_DUMPERS)
common-src/conffile.c:  conf_parserror(_("inparallel must be between 1 and 
MAX_DUMPERS (%d)"),
common-src/conffile.c:                 MAX_DUMPERS);
Binary file common-src/conffile.o matches
example/template.d/advanced.conf:                       # modifying MAX_DUMPERS 
in server-src/driverio.h
example/template.d/advanced.conf.in:                    # modifying MAX_DUMPERS 
in server-src/driverio.h
example/amanda.conf:                    # modifying MAX_DUMPERS in 
server-src/driverio.h
example/amanda.conf.in:                 # modifying MAX_DUMPERS in 
server-src/driverio.h
server-src/driverio.c:    for(dumper = dmptable; dumper < dmptable + 
MAX_DUMPERS; dumper++) {
server-src/driverio.c:    for (dumper = dmptable; dumper < dmptable + 
MAX_DUMPERS; dumper++) {
server-src/driverio.c:#define MAX_SERIAL MAX_DUMPERS*2  /* one for each dumper 
and taper */
server-src/driver.c:    if(inparallel > MAX_DUMPERS) inparallel = MAX_DUMPERS;
server-src/driverio.h:GLOBAL dumper_t dmptable[MAX_DUMPERS];
server-src/driverio.h:GLOBAL chunker_t chktable[MAX_DUMPERS];
--------end of grep output----------

>From that it appears the message in amanda.conf needs to be updated also.
Also please note that I did that grep search in amanda-4.0.0alpha.svn.4221,
probably newer than your install as I play the part of the geriatric (76 yo)
canary in this here coal mine.  ;-)

I have no clue when it may actually have been moved from where amanda.conf 
says it is.  The ChangeLog for amanda-4.0.0alpha.svn.4221 starts Jan 11, 
2008, and this change is not mentioned in a form grep can find.

You I take it, must have a large system with a 64 spindles or more
if you need to expand that value from the usual one dumper per spindle.
Would you care to identify it further?  We are always interested in finding
out who the big users of amanda are.

However, replies to a mailing list message should always go back to the 
mailing list to constitute a record of the question being answered for 
the next person who might ask that question.  The list archive is 
searchable, doing so is common courtesy, and is expected, so I have added 
the list to my reply.  You, Dennis, will probably get 2 copies.

Cheers, gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
... The prejudices people feel about each other disappear when they get
to know each other.
                -- Kirk, "Elaan of Troyius", stardate 4372.5

Reply via email to