/var//openldap/etc/openldap/slapd.conf
directory /var/openldap/var/openldap-data
cachesize 50000
idlcachesize 150000
checkpoint 1024 5
bash-2.05# cat DB_CONFIG
set_cachesize 0 536870912 1
set_lg_regionmax 10485760
set_lg_max 104857600
set_lg_bsize 20971520
#
# Automatically remove log files that are no longer needed.
set_flags DB_LOG_AUTOREMOVE
# Just use these settings when doing slapadd...
#set_flags DB_TXN_NOSYNC
#set_flags DB_TXN_NOT_DURABLE
如果做slapadd,可以把最后两行的注释去掉,slapadd速度会爆增,作完slapadd后再把最后两行注释加上,切记切记切记切记!!!!
# Just use these settings when doing slapadd...
set_flags DB_TXN_NOSYNC
set_flags DB_TXN_NOT_DURABLE
bash-2.05# cat DB_CONFIG
set_cachesize 0 536870912 1
set_lg_regionmax 10485760
set_lg_max 104857600
set_lg_bsize 20971520
set_cachesize 1 0 1
set_lg_regionmax 1048576
set_lg_max 10485760
set_lg_bsize 2097152
#
# Automatically remove log files that are no longer needed.
set_flags DB_LOG_AUTOREMOVE
# Just use these settings when doing slapadd...
#set_flags DB_TXN_NOSYNC
#set_flags DB_TXN_NOT_DURABLE
bash-2.05#
# Use of strong authentication encouraged.
rootpw aaaaa
#cachesize 655350
cachesize 65535
#dbcachesize 1024000000
dbcachesize 512000000
concurrency 10240
threads 10240
sockbuf_max_incoming 8294303s
阅读(6001) | 评论(1) | 转发(0) |