List,
I have been fighting with slow down issues with openldap. I wrote a
query that I run ever hour to monitor performance. Over time the query
gets to be very slow (47 secs at the beginning of the attached log) only
using 2% of the cpu, then I tried to slapindex the database and it takes
minutes per record to index so I ctl-c and it leaves the database
completely corrupt.
If I export the database into an ldif file then delete the openldap-data
dir and reload it, then the query goes back to 1sec for a while and
eventually slows down again.
Anyone know what this could be, I'm not sure how to identify the problem.
This database is only updated though a php interface I wrote, but it is
queried by sendmail, nss_ldap, pam_ldap, php, and perl.