summaryrefslogtreecommitdiffstats
path: root/roles/common-LDAP/files/var/lib/ldap/fripost
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-08 01:41:09 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:15 +0200
commit698834ee35adbd4b6b95228d27cb515632980d3a (patch)
tree4fce9ea2f6dff8998f41b28b449e74c89a452f3f /roles/common-LDAP/files/var/lib/ldap/fripost
parent6de533ca723f087e208862772c4d5def8e1e811c (diff)
wibble
Diffstat (limited to 'roles/common-LDAP/files/var/lib/ldap/fripost')
-rw-r--r--roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG b/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG
index 0bd4e58..c7072dc 100644
--- a/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG
+++ b/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG
@@ -1,3 +1,18 @@
+# It may be a good idea to modify this file, depending on the output of
+#
+# db_stat -mh /var/lib/ldap/fripost | 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/fripost | head -16
+#
+# (For optimal performance, usage should be within 85% of the configured
+# values.)
+#
set_cachesize 0 5242880 1
# 5MB cachesize, allow defragmentation
set_lk_max_objects 1500