summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-11-27 19:56:01 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-11-27 19:56:01 (GMT)
commitb25a99b94b5a81db7f1efff59707f222282b54e2 (patch)
tree144a31fc19b94ae11541d6ff6a65ae2aa8427781
parent62279bcbb749ce6176cec7e45d4175c677a7e2d3 (diff)
downloadpratic-b25a99b94b5a81db7f1efff59707f222282b54e2.zip
pratic-b25a99b94b5a81db7f1efff59707f222282b54e2.tar.gz
pratic-b25a99b94b5a81db7f1efff59707f222282b54e2.tar.bz2
update slapd.conf with parameters in production
-rw-r--r--idp/ldap/slapd.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/idp/ldap/slapd.conf b/idp/ldap/slapd.conf
index e0e7c0a..e06d1f6 100644
--- a/idp/ldap/slapd.conf
+++ b/idp/ldap/slapd.conf
@@ -29,7 +29,7 @@ modulepath /usr/lib/ldap
moduleload back_bdb
# The maximum number of entries that is returned for a search operation
-sizelimit 500
+sizelimit 2000
# The tool-threads parameter sets the actual amount of cpu's that is used
# for indexing.
@@ -68,7 +68,8 @@ directory "/var/lib/ldap"
# For the Debian package we use 2MB as default but be sure to update this
# value if you have plenty of RAM
-dbconfig set_cachesize 0 2097152 0
+dbconfig set_cachesize 0 3097152 0
+dbconfig set_flags DB_LOG_AUTOREMOVE
# Sven Hartge reported that he had to set this value incredibly high
# to get slapd running at all. See http://bugs.debian.org/303057