summaryrefslogtreecommitdiffstats
path: root/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG')
-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