[Date Prev][Date Next] [Chronological] [Thread] [Top]

BDB Locker



Hi!

Using BDB 4.5.52 (no patches), OpenLDAP 2.2.11 and Redhat ES 3 from time to time I get the following
DB_LOCK_DEADLOCK error's:


=> bdb_dn2id_add: put failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock -30995
=> bdb_dn2id_add: put failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock -30995
=> bdb_dn2id_add: put failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock -30995
=> bdb_dn2id_add: put failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock -30995
=> bdb_idl_insert_key: c_get failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30995)
=> bdb_dn2id_add: put failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock -30995
=> bdb_dn2id_add: put failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock -30995


Before moving the database files to a really fast SAN and increasing set_lk_max_lockers, set_lk_max_locks,
set_lk_max_objects and set_tx_max the error's occured more often. But they are still occuring. I believe
that this deadlocks are sometimes cases OpenLDAP to crash.
Now I have seen that there are two patches for BDB available which are addressing locking issues.
Has anyone similar problemes with this kind of deadlock's? Would applying the BDB patches help to
solve this deadlock problems? Any experience?


Cheers
Robert