[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [openldap 2.1.12 + BerkeleyDb 4.1.24] db_checkpoint pb



So it's sure if I choose to set the checkpointing directive in my slapd.conf
like that: "checkpoint 250 15" rather than to use db_checkpoint in a script
executed every hour by crontab ?? (cf. slapd.conf + DB_CONFIG)
Please, I would like to be sure because there is a FAQ which advises the use of
the script rather than the checkpoint directive in the slapd.conf ?

> --On Wednesday, November 19, 2003 2:17 PM +0100 Helene.Lastennet@alcatel.fr
> wrote:
>
> >> Hi,
> >>
> >> Does this problem occurs if you use the checkpoint
> >> directive in slapd.conf instead?
> >
> > I don't know ...
> > I chose to use db_checkpoint of BerkeleyDB instead of checkpoint in
> > slapd.conf
> > because when you read the openldap doc (+ FAQ) it seems to be better to
> > make tuning directly in the bdb-backend rather than to use the file of
> > configuration slapd.conf ...?
> > So what can I do to be sure ?
>
> Helene,
>
> You may wish to turn on the slapd checkpointing.  Although we also
> configure most of our BDB parameters via DB_CONFIG, we set the
> checkpointing in slapd.conf.
>
> --Quanah
>
> --
> Quanah Gibson-Mount
> Principal Software Developer
> ITSS/TSS/Computing Systems
> ITSS/TSS/Infrastructure Operations
> Stanford University
> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

Attachment: slapd.conf
Description: application/unknown-content-type-conf_auto_file

#
# Set the database in memory cache size.
#
set_cachesize   0       52428800        0
           
          
#
# Set database flags.
#               
#set_flags       DB_TXN_NOSYNC
           
           
#
# Set log values.
#
set_lg_regionmax        1048576
set_lg_max              10485760
set_lg_bsize            2097152
#set_lg_dir              /opt/openldap/var/bdb-logs
           
           
#
# Set temporary file creation directory.
#                       
set_tmp_dir             /tmp