[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OpenLDAP and threading on Linux
hi everybody,
recently my company ditched exchange and i successfully replaced the
exchange contacts stuff with an LDAP-based address book, which now also
handles authentication for a couple internal websites. the software setup is
as follows:
- redhat 6.2 / i386
- openldap 2.0.6 compiled with tls (openssl 0.9.6), berkeleyDB backend and
using simple authentication (no SASL or kerberos or anything like that).
- i'm talking to LDAP from a Zope application server using the python-ldap
module
i had assumed at least some kind of speedup if i compile it with-threads,
but i'm seeing just the opposite: requests take quite a bit longer. so i am
back to single threaded operation which is reliable, but quite slow. i was
comparing the two setups using the same backend and the same slapd.conf.
has anyone seen this behavior before and knows if this is a linux threading
issue or some other bottleneck that i should look at?
any help appreciated :)
jens
----
Jens Vagelpohl jens@digicool.com
Software Engineer www.digicool.com
Digital Creations (888) 344-4332
Got Zope?
----