Andrew Bartlett wrote:
On Tue, 2007-12-11 at 14:22 -0800, Howard Chu wrote:
Andrew Bartlett wrote:
I wonder if there is a known issue with db 4.6 and OpenLDAP, as Fedora's OpenLDAP seems to include it's own libslapd_db-4.4.so (it has a slapd_db_stat to match, for 4.4).
I think they packaged that to avoid using BDB 4.3 which was known to be broken. I've been using OpenLDAP with BDB 4.6.1 thru 4.6.3, and 4.6.18 thru 4.6.21 without any trouble.
Where there any further clues on my deadlock in the db_stat output?
Yes, it showed a transaction waiting for a write lock on an object that was held by a non-transactional reader. Normally that sort of thing should never deadlock. I would have to dig with gdb to identify which threads owned the locks in question. I guess I may have to build your source to try to duplicate the problem, unless you're up for walking thru a debug session thru IM/etc.