OPEN-XCHANGE
You are here: Community > Mailinglist
freshmeat.net
[OX User] LDAP Performance & Tuning

Gavin Henry ghenry at suretecsystems.com
Tue Apr 10 09:30:59 CEST 2007


<quote who="Garry">
> Hi,
>
> on a customer box (with ~250 active users) we've noticed massive load on
> the LDAP server ... this box is pretty well equipped (dual Xeon = 4
> cores, w/ 6GB memory), so the box performance itself shouldn't be much
> of a problem ... anyway, LDAP numbers are pretty disturbing at times ...
>
> e.g., output from top may yield something like this:
>
>   5261 ldap      24   0 72872  19m 1740 S  314  0.3   9:04.59 slapd
>                                            ^^^cpu
>
> At those times, hardly any other processes are even in the two-digit
> area as far as CPU goes, and if they don't usually stay that high more
> than one or two refreshs of top.
>
> Needless to say that OX performance seriously goes down the drain when
> LDAP is under that load.
>
> Is there any way of optimizing either LDAP, or adding any proxies/cache
> that will aleviate the load on LDAP? I don't understand why there are so
> many access to ldap anyway ...
>
> LDAP on that box is:
>
> [root at ox log]# slapd -V
> @(#) $OpenLDAP: slapd 2.2.13 (Aug 13 2006 01:27:00) $

This is soo old it not worth using. Please upgrade to 2.3.35. You will see
the difference immediately, plus be able to get support via the OpenLDAP
lists.

>
> buildcentos at build-i386:/home/buildcentos/rpmbuild/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
>
> Any ideas?
>
> Help appreciated,
>
> -garry
>
> _______________________________________________
> User mailing list
> User at open-xchange.org
> http://www.open-xchange.org/cgi-bin/mailman/listinfo/user
>




More information about the User mailing list