View previous topic :: View next topic |
Author |
Message |
larman n00b

Joined: 11 Aug 2002 Posts: 48
|
Posted: Wed Jan 08, 2003 4:13 am Post subject: poor openLDAP performance |
|
|
I have very little experience with LDAP servers, but I think that my openLDAP server is pretty slow. Granted there are about 2000 entries in it, but I would think that a database running on a modern machine could spit all that out very quickly. When I run a LDAP browser, for instance, it "populates" pretty slowly. I can see each entry being added one by one. When I try performing a search for a name in outlook express it times out (with a 2 minute limit). If I go to advanced search and search for an exact name match it is pretty quick, as expected. I have the cn attribute indexed in several different ways (approx, eq, etc) but it still seems slow.
Do you guys have any tips to speeding up the server?
Thanks,
larman |
|
Back to top |
|
 |
mglauche Retired Dev


Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Wed Jan 08, 2003 8:25 am Post subject: |
|
|
you can have a look how openldap stores its data. iirc there are several possible backends for openldap, try experimenting whith those.
(gdbm, etc ..) |
|
Back to top |
|
 |
larman n00b

Joined: 11 Aug 2002 Posts: 48
|
Posted: Thu Jan 09, 2003 12:04 pm Post subject: sorry |
|
|
Well I had done all the performance tweaks that were mentioned in the FAQ, but none of them seemed to really help. It turns out that there was a process running on the box consuming 92% CPU. I killed that and everything flew.
I feel kind of dumb
larman |
|
Back to top |
|
 |
|