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

Garry gkg at gmx.de
Tue Apr 10 08:59:28 CEST 2007


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) $
 
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



More information about the User mailing list