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

bdb installation on Solaris

Hi All,
I'm try to understand well my DB environment. If in my slapd.conf file I have:
directory       /usr/local/cds1/ldap/var/openldap-bdb
is this my DB_HOME? so I should type:
export DB_HOME= /usr/local/cds1/ldap/var/openldap-bdb
is it correct? if yes the DB_CONFIG file shoud be into this directory?
I tried with this DB_CONFIG
set_cachesize 0 419430400 2
set_flags DB_TXN_NOSYNC
set_lg_regionmax 2097152
set_lg_bsize 262144
set_lg_dir /usr/local/db
set_tmp_dir /tmp/openldap
but I have a lot of disk I/O... Any suggestion?
Sun Solaris 8 Netra T1 1Gb RAM
I run OpenLDAP 2.1.19 BerkeleyDB 4.1.25patch1
-- from slapd.conf:
schemacheck     off
sizelimit       50000
loglevel        256
lastmod         off
threads         64
concurrency     48
allow           bind_v2
database        bdb
rootdn          "cn=directory manager"
rootpw          password
# cachesize (in number of entries)
cachesize       10000
checkpoint      4096 1
directory       /usr/local/cds1/ldap/var/openldap-bdb