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
________________________________________ From: openldap-software-bounces+dburklan=nmdp.org@OpenLDAP.org [mailto:openldap-software-bounces+dburklan=nmdp.org@OpenLDAP.org] On Behalf Of Khoa Nguyen Sent: Wednesday, May 19, 2010 4:43 PM To: openldap-software@openldap.org 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
Khoa Nguyen khoa.coffee@gmail.com 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
--On Wednesday, May 19, 2010 5:42 PM -0400 Khoa Nguyen khoa.coffee@gmail.com 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
openldap-software@openldap.org