cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Update of "configuringLDAPTips" by RossMcDonald
Date Fri, 06 Oct 2006 18:01:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by RossMcDonald:
http://wiki.apache.org/cocoon/configuringLDAPTips

------------------------------------------------------------------------------
  
  Here thanks to Francesco Chicchiricco at Sourcesense are some tips and tricks for configuring
LDAP to perform under load
  
- * compile latest openldap with berkleyDB in the core, not as module
+  * compile latest openldap with berkleyDB in the core, not as module
- * in slapd.conf, use a hash root password, not clear text (slappasswd -h)
+  * in slapd.conf, use a hash root password, not clear text (slappasswd -h)
+  * in slapd.conf, set 'sizelimit unlimited' to avoid problems while retrieving data; otherwise
ldapsearch results are limited up to the specified limit or 500 by default
+  * in slapd.conf, set 'cachesize 5000' to speed up queries (up to 5000 entries in memory,
default 1000) - see http://www.openldap.org/faq/data/cache/1075.html for general considerations
on OpenLDAP caching
+  * in slapd.conf, set 'checkpoint 512 720': this is a BDB directive telling OpenLDAP to
set transactional checkpoint  (writing of changed  data to disk) to occur when either 512
kilobytes of data have been written to the bdb subsystem or 720 minutes have passed since
the last checkpoint; this setting was very very important importing 23 GB of data!
  

Mime
View raw message