[Date Prev][Date Next]
Re: back-bdb deadlocks
> All of a sudden the lock detector is working on my SuSE 6 system again,
> but the test takes far too long. With no transactions the test runs in
> just over a minute. With transactions it takes about 35 minutes on my
> system. I added a ldap_pvt_thread_yield() after the txn_abort() and that
> brought the runtime down to 23 minutes. Finally I got sick of it and just
> decided to serialize the whole thing. As an experiment, I obtained a BDB
> lock on the parent DN. That brings the test down to 3 minutes, 0 deadlocks.
What kind of lock and in what database?
Sure looks like you could use an entry cache ;)
One more thing, please test harder. Some thread related bugs only show up
after you have pounded on the damn thing with 50 writers for 2 days or
When everything comes your way, you're in the wrong lane.