--On Friday, August 19, 2005 2:53 PM -0500 Ben Beuchler <[EMAIL PROTECTED]>
wrote:
On 8/19/05, Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote:
> Everything else is either schema, index or ACL-related. I am not
> specifically setting cachesize or idlcachesize. Actually, I can't
> even find those mentioned in slapd.conf(5)...
They are specific to the BDB backend. See:
man slapd-bdb(5)
If you aren't setting them, that will affect your system's performance.
Ah. The only thing I'm setting from those options is several "index"
entries. Anything in particular you recommend I experiment with?
cachesize and idlcachesize
I also don't see your DB_CONFIG file anywhere here...
I didn't know it existed before today. As I haven't manipulated it,
it's at the (Debian) defaults. The only values it appears the Debian
maintainer manipulated are these ones:
set_cachesize 0 2097152
set_lg_bsize 524288
set_lk_max_objects 5000
set_lk_max_locks 5000
set_lk_max_lockers 5000
The first line doesn't even look valid, as it is supposed to be a triplet.
But perhaps the third triplet has a default.
I will note that your BDB cache is currently set to 2MB, which is
*extremely small*.
You can see the information on what the parameters to DB_CONFIG mean at:
<http://www.stanford.edu/services/directory/openldap/configuration/bdb-config-42.html>
I complained heavily to the OpenLDAP package maintainer @ Debian that the
default cachesize was not sufficient. You may very well be a victim of
this.
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html