1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/setup/DB_CONFIG
Andrew Bartlett a50f6aad85 s4:provision Use more reasonable values for DB_CONFIG
With the OpenLDAP backend, the old DB_CONFIG caused OpenLDAP to abort
on startup, and was very inefficient.  This new one, kindly supplied
by Matthew Backes <mbackes@symas.com> uses a more reasonable set of
buffer sizes.

Andrew Bartlett
2010-04-22 18:37:18 +10:00

15 lines
423 B
Plaintext

# set 32MiB, single-segment cache
set_cachesize 0 33554432 1
# set transaction log autoremoval; disable if you use them for backups
set_flags DB_LOG_AUTOREMOVE
# these should be left at default for most installs
set_lg_max 10485760
set_lg_bsize 2097152
set_lg_dir ${LDAPDBDIR}/bdb-logs
# tmp_dir stuff is not used by OpenLDAP
#set_tmp_dir ${LDAPDBDIR}/tmp