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

RE: bulkload and startup of Openldap 2.1.0head



That does seem strange. I see no delays at all, starting up a 10000 entry
database. You probably need to do some tuning; I have a DB_CONFIG file with
these directives set:

set_lg_bsize 2097152
set_cachesize 0 2097152 0

The cachesize will be the critical factor here, but you need to look at some
db_stat statistics to decide where the problems are.

As for keeping the logfiles, that depends on how often you checkpoint your
transactions. The size of the logs is directly related to the size of your
entries and the number of indices you have configured. See the db_archive
command for info on removing the logs.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Norbert Klasen
> Sent: Wednesday, May 08, 2002 8:56 AM
> To: openldap-software@OpenLDAP.org
> Subject: bulkload and startup of Openldap 2.1.0head
>
>
> Hi,
> I used slapdadd to create an Database from an LDIF file (55.000
> entries, 33
> MB). id2entry.bdb is about 42MB which seems ok but I got 59
> logfiles of 10
> MB each and starting slapd took more than 10 minutes:
>
> May  8 17:34:55 marie slapd21[7884]: bdb_open: Sleepycat
> Software: Berkeley
> DB 4.0.14: (November 18, 2001
> May  8 17:34:55 marie slapd21[7884]: bdb_db_init: Initializing
> BDB database
> May  8 17:34:55 marie slapd21[7884]: bdb_db_init: Initializing
> BDB database
> May  8 17:46:06 marie slapd21[7885]: slapd starting
>
> Is this normal? Do I need to keep all the logfiles?
>
> --
> Dipl.-Inform. Norbert Klasen
> DAASI International GmbH                 phone: +49 7071 29 70336
> Wilhelmstr. 106                          fax:   +49 7071 29 5114
> 72074 Tübingen                           email: norbert.klasen@daasi.de
> Germany                                  web:   http://www.daasi.de
>