[Date Prev][Date Next]
Re: Open LDAP performance tuning
- To: OpenLDAP software list <openldap-software@OpenLDAP.org>
- Subject: Re: Open LDAP performance tuning
- From: Moe <email@example.com>
- Date: Tue, 13 Sep 2005 12:13:55 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6f1U5UBwg3pZYKo/cC9AlbypTlpUk565RuIxsBnaLniBIYug73GCxMbSAhNZksN7eTKhfOsTmk8WL1T9Mtf8gVrRh0cHEUB6y7A8ZoxCSIisCS2NUJax9eBvJ4fXKb8THehjg54OZ9mthkFwdEl84goEIfyXxyymKCaCdRz5hk0= ;
- In-reply-to: <EE2D35E6E39A0F189D1D56A6@[10.0.0.1]>
For using db_stat, Should the DB_HOME environment variable be pointing to db-4.3.28.NC or to /usr/local/var/openldap-data/ ?. Should i use DB_ENV
to open a Berkeley DB environment before using db_stat?
I'm in production and i would like to know if there is a risk in playing with this.
I have openldap 2.2.28 with berkeley db 4.3.28.
Quanah Gibson-Mount <firstname.lastname@example.org> wrote:
--On Tuesday, September 13, 2005 7:22 AM -0700 Moe
> Hi Everyone,
> I have a master LDAP that replicats to three slave ldaps. I'm looking to
> enhance the performance of my LDAP system. Basically i have an
> application that access my ldap system. Lots of users are going to access
> it. Can anyone tell me what entries can i add to by slapd.conf file to
> make my system faster?
Here are the main parts to performance tuning OpenLDAP:
1) The DB_CONFIG file if you are using back-bdb or back-hdb. This file
defines several things, most importantly:
a) The DB Cache size to be used for slapadd's and slapindex's
b) The amount of available lockers. The default of 1000 is good for
most set ups, but if you have many indices, you may need to increase this
2) An appropriate "cachesize" and "idlcachesize" setting in slapd.conf.
These settings have the largest impact on performance after indexing
3) Indexing attributes based on the search patterns you see in your
directory. Having proper indexing is key to performance.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around