Open LDAP performance tuning

2005-09-13 Thread 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

Re: Open LDAP performance tuning

2005-09-13 Thread Robert Petkus
One of the first things I'd do is to find out what type of searches (slapd -d32) are being done and start creating indices as needed. Robert Moe wrote: Hi Everyone, I have a master LDAP that replicats to three slave ldaps. I'm looking to enhance the performance of my LDAP system. Basicall

Re: Open LDAP performance tuning

2005-09-13 Thread Samuel Tran
On Tue, 2005-09-13 at 07:22 -0700, Moe wrote: > 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

Re: Open LDAP performance tuning

2005-09-13 Thread Moe
All the searches are based on uid attribute. What should i set the indexes to. pres, eq, sub?. I actually haven't found description of these and i don't know what they mean. Moe __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam

Re: Open LDAP performance tuning

2005-09-13 Thread Quanah Gibson-Mount
--On Tuesday, September 13, 2005 9:51 AM -0700 Moe <[EMAIL PROTECTED]> wrote: All the searches are based on uid attribute. What should i set the indexes to. pres, eq, sub?. I actually haven't found description of these and i don't know what they mean. Moe

Re: Open LDAP performance tuning

2005-09-13 Thread Quanah Gibson-Mount
--On Tuesday, September 13, 2005 7:22 AM -0700 Moe <[EMAIL PROTECTED]> wrote: 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

RE: Open LDAP performance tuning

2005-09-13 Thread Kasundra, Digant
while OpenLDAP is running. -- DK -Original Message- From: [EMAIL PROTECTED] on behalf of Moe Sent: Tue 9/13/2005 11:51 AM To: openldap-software@OpenLDAP.org Subject: Re: Open LDAP performance tuning All the searches are based on uid attribute. What should i set the indexes to. pres, eq

Re: Open LDAP performance tuning

2005-09-13 Thread Samuel Tran
On Tue, 2005-09-13 at 11:22 -0700, Moe wrote: > DB_CONFIG does not exist, i guess i need to create one. Can anyone > provide me with an example of a DB_CONFiG?. > I know i need to start running db_stat to adjust my settings > When running db_stat, should i use -h parameter and set my db_home >

Re: Open LDAP performance tuning

2005-09-13 Thread Robert Petkus
I'd use all three: index uid eq,pres,sub eq: allows the creation of an index with attributes that need to be exactly matched pres: if an indexed attribute doesn't have a value it is omitted from the entry sub: allows the creation of an index so that you can perform s

Re: Open LDAP performance tuning

2005-09-13 Thread Moe
DB_CONFIG does not exist, i guess i need to create one. Can anyone provide me with an example of a DB_CONFiG?. I know i need to start running db_stat to adjust my settings When running db_stat, should i use -h parameter and set my db_home to Berkeley directory? Moe Samuel Tran <[EMAIL

Re: Open LDAP performance tuning

2005-09-13 Thread Moe
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 op

Re: Open LDAP performance tuning

2005-09-13 Thread Quanah Gibson-Mount
--On Tuesday, September 13, 2005 12:13 PM -0700 Moe <[EMAIL PROTECTED]> wrote: 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 prod

Re: Open LDAP performance tuning

2005-09-13 Thread Moe
Is using db_config essential or can i just due the performance tuning through slapd.conf? Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote: --On Tuesday, September 13, 2005 12:13 PM -0700 Moe wrote: > For using db_stat, Should the DB_HOME environment variable be pointing to > db-4.3.28.NC or

Re: Open LDAP performance tuning

2005-09-13 Thread Howard Chu
Moe wrote: Is using db_config essential or can i just due the performance tuning through slapd.conf? From http://www.openldap.org/faq/data/cache/893.html A number of important items must be configured in the BDB DB_CONFIG file and not in slapd.conf. Notice the word "must". Of course i