RE: LDAP performance slow intermittently

2010-05-21 Thread Dan Burkland

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Khoa Nguyen
Sent: Wednesday, May 19, 2010 4:43 PM
To: [email protected]
Subject: LDAP performance slow intermittently

My LDAP server (version 2.3.43) performance is quite erratic; for a few 
minutes, search operations are lightning fast, and then it slows down to 
several seconds for a single search, and then it is fast again, etc.

I am not sure how to troubleshoot/determine the root cause of this intermittent 
problem. Any suggestions are appreciated.

Khoa
-

Are you searching for the same entries each time? What exactly are you 
searching for? Are the entries that you are searching for indexed? What are the 
specs of the server? Is the box heavily loaded?

Dan


Re: LDAP performance slow intermittently

2010-05-20 Thread Quanah Gibson-Mount
--On Wednesday, May 19, 2010 5:42 PM -0400 Khoa Nguyen 
 wrote:



My LDAP server (version 2.3.43) performance is quite erratic; for a few
minutes, search operations are lightning fast, and then it slows down to
several seconds for a single search, and then it is fast again, etc.

I am not sure how to troubleshoot/determine the root cause of this
intermittent problem. Any suggestions are appreciated.


Your email is very vague, for example, no idea what backend you are using 
(hdb/bdb/sql, etc).  But generally I would check the cachesize & 
idlcachesize setting in slapd.conf, and I would ensure I have a properly 
configured DB_CONFIG file if it is back-bdb or back-hdb.


--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc

Zimbra ::  the leader in open source messaging and collaboration


Re: LDAP performance slow intermittently

2010-05-20 Thread Dieter Kluenter
Khoa Nguyen  writes:

> My LDAP server (version 2.3.43) performance is quite erratic; for a few
> minutes, search operations are lightning fast, and then it slows down to
> several seconds for a single search, and then it is fast again, etc.
>
> I am not sure how to troubleshoot/determine the root cause of this
> intermittent problem. Any suggestions are appreciated.

It is hard to tell, but from my experience there are four or five main
reasons:
- insufficient memory,
- inadequate file system, 
- lack of appropriate indexes,
- transaction logs, database and syslog on the same disk,
- network failures,
- misconfigured clients.

-Dieter

-- 
Dieter Klünter | Systemberatung
sip: +49.40.20932173
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6