Locker killed to resolve a deadlock

Francois Gnu gnu699 at gmail.com
Wed May 15 21:40:16 UTC 2013


Hi masters,
Since yesterday, i have that error in my log  /var/log/syslog:


slapd[861]: => bdb_idl_insert_key: c_put id failed: DB_LOCK_DEADLOCK:
Locker killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "objectClass" index add failure
slapd[861]: => bdb_idl_insert_key: c_put id failed: DB_LOCK_DEADLOCK:
Locker killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "objectClass" index add failure
slapd[861]: => bdb_idl_insert_key: c_put id failed: DB_LOCK_DEADLOCK:
Locker killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "entryCSN" index add failure
slapd[861]: <= bdb_equality_candidates: (mail) not indexed
slapd[861]: <= bdb_equality_candidates: (mail) not indexed
slapd[861]: => bdb_idl_insert_key: c_get failed: DB_LOCK_DEADLOCK: Locker
killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "entryCSN" index add failure
slapd[861]: => bdb_idl_insert_key: c_put id failed: DB_LOCK_DEADLOCK:
Locker killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "entryCSN" index add failure
slapd[861]: => bdb_idl_delete_key: c_del id failed: DB_LOCK_DEADLOCK:
Locker killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "entryCSN" index delete failure
slapd[861]: => bdb_idl_delete_key: c_del id failed: DB_LOCK_DEADLOCK:
Locker killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "entryCSN" index delete failure
slapd[861]: => bdb_idl_insert_key: c_get failed: DB_LOCK_DEADLOCK: Locker
killed to resolve a deadlock (-30994)
slapd[861]: conn=-1 op=0: attribute "entryUUID" index add failure

That, causes the size of logs increases very quickly, 10Mo every minute.

I used slapindex, but the problem persists.

I use ubuntu 12.04 with slapd 2.4.28.
I have 15 ldap servers (MMR) and its affects all the 15 servers.
All servers are virtualized in KVM.

I attached the provider config that is connected at all the consumers.
The consumers are cut in 3 groups of 5 servers.

Provider: 1,5Go Ram | 2Go swap | olcDbConfig: set_cachesize 0 734003200 0
Consumers: 512Mo | 2Go swap | olcDbConfig: set_cachesize 0 209715200 0


Thanks very much to help me!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-bugsquad/attachments/20130515/e3e1555d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.ldif
Type: application/octet-stream
Size: 64898 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-bugsquad/attachments/20130515/e3e1555d/attachment-0001.obj>


More information about the Ubuntu-bugsquad mailing list