Bonjour Emmanuel,
you may take a look at this thread :
https://www.redhat.com/archives/fedora-directory-users/2009-June/msg00178...,
the matter is discussed in details. Using indexes where necessary is
generally your best bet :)
Here is our memory config for about 8000 entries :
#dn: cn=config,cn=ldbm database,cn=plugins,cn=config
# nsslapd-lookthroughlimit: 20000
# nsslapd-dbcachesize: 268435456
# nsslapd-db-checkpoint-interval: 15
#
#dn: cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config
# nsslapd-cachememsize: 5242880 (memoire en octets, 5Mo, la base est petite)
# nsslapd-cachesize: -1 (nombre max des entrees, on laisse par defaut)
#
#dn: cn=userRoot,cn=ldbm database,cn=plugins,cn=config
# nsslapd-cachememsize: 104857600 (en moyenne, selon mes experiences,
5ko/entree - taille pour 20000 entrees)
# nsslapd-cachesize: -1 (nombre max des entrees, on laisse par defaut)
@+
2009/9/21 Emmanuel BILLOT <emmanuel.billot(a)ird.fr>:
Hi,
I'm searching for a best practive documentation about tunning DB, like
nsslapd-lookthroughlimit
nsslapd-sizelimit
Our DIT contains 20 000 entries, what parameters can we use and how for having a best
configured dirsrv ?
RG,