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

Juergen Ulbts j.ulbts at uni-oldenburg.de
Tue Apr 10 11:28:15 CEST 2007


Hi Garry!

Am Di 10.04.2007 08:59 schrieb Garry <gkg at gmx.de>:

>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
>...

Here we have one Xeon, ~320 users (can't say how many are active) and
also OpenLDAP 2.2.13 with a slightly modified ldap config. In the past
only missing indexes on PostgreSQL have been a problem and restarts due
to ldap not releasing connections (Error: to many open files) which
required the services (openexchange, ldap and tomcat5) to be restarted.

We have the following indexes defined in slapd.conf:
===========================================
# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub

# Logout idle clients after x seconds
# ...to fix 'to many open files' error messages
idletimeout 300
===========================================

I hope this helps.

Kind regards,
Juergen Ulbts




More information about the User mailing list