Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
poor openLDAP performance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
larman
n00b
n00b


Joined: 11 Aug 2002
Posts: 48

PostPosted: Wed Jan 08, 2003 4:13 am    Post subject: poor openLDAP performance Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Wed Jan 08, 2003 8:25 am    Post subject: Reply with quote

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
View user's profile Send private message
larman
n00b
n00b


Joined: 11 Aug 2002
Posts: 48

PostPosted: Thu Jan 09, 2003 12:04 pm    Post subject: sorry Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum