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 |