[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP Slowness



I did some more testing based on some responses to my previous message.  I discovered that I was running ldbm not bdb.  So I installed openldap 2.2.15 with bdb and loaded my database in to it (after lots of schema changes) and discovered that it is MUCH faster.  The reason I haven?t upgraded yet is that we have some software that queries some of our LDAP servers that doesn?t support LDAPv3 yet.  But that is not a concern for this system I am having problems with.  So, I have a few questions:

 

1.  Can you replicate data using slurpd from 2.0.27 to 2.2.15?  Right now I am getting an ?Unknown error?. 

2.  Does 2.0.27 support bdb?

 

Any other suggestions would be appreciated too.

 

Thanks,

 

Luke

----- Original Message -----
Sent: Thursday, August 05, 2004 1:03 PM
Subject: LDAP Slowness

LDAP Slowness on Sun E420

                                         

I am running openLDAP 2.0.27 on a Sun E420 with a single 450Mhz proc and 512MB of RAM.  When I run a big LDAP query against it, it takes 11 minutes to complete.  When it is running the CPU is pegged at 100% and I see this when I do a truss:

 

time()                                          = 1091728520

poll(0xFEFFF468, 5, 0)                          = 0

yield()                                         = 0

time()                                          = 1091728520

poll(0xFEFFF468, 5, 0)                          = 0

yield()                                         = 0

time()                                          = 1091728520

poll(0xFEFFF468, 5, 0)                          = 0

yield()                                         = 0

time()                                          = 1091728520

poll(0xFEFFF468, 5, 0)                          = 0

yield()                                         = 0

time()                                          = 1091728520

poll(0xFEFFF468, 5, 0)                          = 0

yield()                                         = 0

time()                                          = 1091728520

 

When I run the same query against a Sun Netra T1 with a 550Mhz proc it completes in 55 seconds. 

 

Both systems are running Solaris 9 and the same installation of openLDAP.  I have also tried OpenLDAP 2.0.21.

 

I have two identical systems which are having this issue.

 

Any ideas on what might be going on here or what else I could try?

 

Thanks a lot,

 

Luke