[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Slow response from ldap server

Thanks Kyle,
will run slapindex to see if something is wrong.
Thanks for the sugestions.


Kyle Stone wrote:

You're making a search on an unindexed field somewhere..

Use /usr/local/libexec/slapd -d -1 to run into debug mode..
Capture the output of a single lookup.. Determine what the search filter
is, and make sure the search IS being indexed.

If something weird happened.. Like you changed your indexes after you
imported the data, or something else strange..
Kill slapd and run slapindex, then restart slapd and see if the problem
still exists.

Kyle Stone

-----Original Message-----
From: Oliver Schulze L. [mailto:oliver@samera.com.py] Sent: Monday, June 02, 2003 11:39 AM
To: OpenLDAP-software@OpenLDAP.org
Subject: Slow response from ldap server

Hi, I have RedHat 9 with openldap openldap-2.0.27-8 I have 1 master server and 1 slave server. Both are running well.

The problem I'm getting is a 5 seconds delay in a conection to the ldap server.
For example, this commands:
$ date; finger username; date
shows a 5 seconds delay in the response.

I have 20 users and I'm running the commands in the slave server. I see
the same delay in the master server. Also, this delay occurs in samba, telnet, etc.

Anyone know what could be the problem?

I have this Index defined in slapd.conf:
index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
index   cn,mail,surname,givenname                       eq,subinitial

Many thanks Oliver

-- Oliver Schulze L. <oliver@samera.com.py>