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

Re: Fwd: Root cause: Strange OpenLdap performace issue

Tx! We'plan to upgrade the system, so we'll use openldap2.4.x. We have more than 1500 server and about 50% of them are linux, we must use rhel rpms (due to our datacenter roles, all the servers should be identical). The worst thing was that testing with the same db without the index files, all the results of the query are almost immediate. I'm unable to reproduce the problem in test environment.
Michele MAsè

On Tue, May 15, 2012 at 6:24 PM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:
--On Tuesday, May 15, 2012 2:55 PM +0200 Michele Mase' <michele.mase@gmail.com> wrote:


OpenLDAP 2.3 has not been supported for several years.  Since it stopped development, there have been hundreds, if not over a thousand, bug fixes and improvements.  Furthermore, I'm going to guess that you are running RH's build of OpenLDAP 2.3, which was even further behind than the last release of OpenLDAP 2.3.  Given the information you provided, I would guess that there is some bug in the version of BDB that OpenLDAP was linked to that caused the error.  I would note that at one point RH was linking OpenLDAP against BDB version 4.3, despite the fact OpenLDAP's configure script explicitly disabled such linking because BDB 4.3 was known to have serious issues.  If your 2.3 OpenLDAP is linked to BDB 4.3 that could well be the cause of your issue.

Beyond that, trying to investigate any further is a waste of everyone's time.  Upgrade to a modern supported version of OpenLDAP, and build your own packages, don't rely on distribution packages.




Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
Zimbra ::  the leader in open source messaging and collaboration