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

Re: Lock table is out of available locks



Hi,

Quanah Gibson-Mount schrieb (09.05.2012 10:17 Uhr):
--On May 9, 2012 9:45:52 AM +0200 Marc Patermann <hans.moser@ofd-z.niedersachsen.de> wrote:
Quanah Gibson-Mount schrieb (08.05.2012 17:12 Uhr):
--On Tuesday, May 08, 2012 3:41 PM +0200 Marc Patermann
<hans.moser@ofd-z.niedersachsen.de> wrote:

while extending an object by adding a lot of maildrop values, slapd
refused to MOD with err 80:

Can anyone tell me what happens here and what to do about it?

You ran out of locks.  Increase them in your DB_CONFIG file.

1000    Maximum number of locks possible
1000    Maximum number of locks at any one time

So I have to set like
dbconfig set_lk_max_objects 2000
dbconfig set_lk_max_lockers 2000
dbconfig set_lk_max_locks 2000
in slapd.conf, right?

Correct. As noted above, you probably don't have to increase the lockers value.

Stop slapd, remove your existing DB_CONFIG file, and restart slapd should take care of it.
Thank you, that worked!

locks reached 1384:
1384    Maximum number of locks at any one time



Marc