summaryrefslogtreecommitdiffstats
path: root/roles/common-LDAP/files/var/lib/ldap/DB_CONFIG
blob: 07738c2f0541f9c7547db0aa48a4fbfd06677d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# It may be a good idea to modify this file, depending on the output of
#
#   db_stat -mh /var/lib/ldap | head -16
#
# (For optimal performance, the Requested pages found in the cache
# should be above 95%, and the dirty/clean pages forced from the cache
# should be 0.)
#
# and
#
#   db_stat -ch /var/lib/ldap | head -16
#
# (For optimal performance, usage should be within 85% of the configured
# values.)
#
# 5MB cachesize
set_cachesize 0 5242880 0
set_lk_max_objects 1500
set_lk_max_locks 1500
set_lk_max_lockers 1500