" What version of BDB are you linked to? There are consistent reports of deadlock issues with BDB 5.3. I would recommend against using that version of BDB. 4.7.25+patches has been solid for me. All indications with the BDB deadlock issue in 5.3 is that it is a BDB bug, and thus nothing to do with OpenLDAP. It may exist in other 5.x versions of BDB. " I'm not making this up, honest ;-)
So build your OpenLAP against a different version of BDB. ;) As I noted, 5.2.36 has worked fine for me for several years. ;)
That should be do-able although as far as I can remember in the ITS I had demonstrated that (at least on my setup) it was reproduceable and I thought I'd given enough information for it to be reproduced on a clean test rig with a sufficiently large pool of accounts in the one OU. I'm also unsure of the etiquette involved in resurrecting a dormant bug. I'm happy to give you whatever information you need though and a sanitised dump of my config in both HDB and MDB modes is probably a good place to start.
The primary OpenLDAP author just asked you to contribute more information, so I wouldn't be too concerned about resurrecting the bug...
--Quanah -- Quanah Gibson-Mount Architect - Server Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration