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

Re: Lock table is out of available locker entries



I had this same problem a while back and fixed it by adding the following
lines to my DB_CONFIG:

set_lk_max_locks 2000
set_lk_max_lockers 2000
set_lk_max_objects 2000

Joseph

----- Original Message -----
From: "helene Chanut" <helene.chanut@inria.fr>
To: <openldap-bugs@OpenLDAP.org>
Cc: <helene.chanut@inria.fr>
Sent: Monday, April 14, 2003 1:54 PM
Subject: Lock table is out of available locker entries


>
> Hello,
> I still have the same problem of "Lock table is out of available locker
entries"
> though I have upgraded to BerkeleyDB.4.1  and OpenLdap 2.1.12
> This problem should have disappeared whith the new berkeleydb 4.1 release
[#6520],
> but the context is slightly different, it appears only when I'm modifying
my backend-bdb,
> (ldapsearch is working fine, the number of locker is not increased).
>
> Here is a little example of what's happening :
>
> Before Modifications
> 10 Number of current locks.
> 26 Number of current lockers.
> 10 Number of current lock objects.
>
> Modifications 4 modify 1 add (ldapmodify)
>
> After Modifications
> 12 Number of current locks.
> 36 Number of current lockers.
> 12 Number of current lock objects.
>
> I'm running a linux redhat :
> Linux www-rocq1.inria.fr 2.4.5 #2 Fri Sep 21 18:55:59 CEST 2001 i686
unknown
>
> Here are my logs :
>
> Apr 11 03:00:11 www-rocq1 slapd[6489]: conn=1255 op=1 DEL
dn="cn=Pushpinder Kaur Chounchan,ou=inrialpes,dc=rocq-annu,dc=inria,dc=fr"
> Apr 11 03:00:11 www-rocq1 slapd[6489]: bdb(dc=rocq-annu,dc=inria,dc=fr):
Lock table is out of available locker entries
> Apr 11 03:00:11 www-rocq1 slapd[6489]: => bdb_idl_delete_key: c_get id
failed: Cannot allocate memory (12)
> Apr 11 03:00:11 www-rocq1 slapd[6489]: entry index delete failed!
>
> My slapd is apparently properly linked :
>         libdb-4.1.so => /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so
(0x40021000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x400bf000)
>         libpam.so.0 => /lib/libpam.so.0 (0x400ed000)
>         libssl.so.0.9.6 => /usr/local/lib/libssl.so.0.9.6 (0x400f5000)
>         libcrypto.so.0.9.6 => /usr/local/lib/libcrypto.so.0.9.6
(0x40124000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x401eb000)
>         libdl.so.2 => /lib/libdl.so.2 (0x401fe000)
>         libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40203000)
>         libc.so.6 => /lib/i686/libc.so.6 (0x40218000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Your help would be greatly appreciated.
> Best regards
> --
> Hélène Chanut
> ------------------
> INRIA Domaine de Voluceau B.P.105 78153 Le Chesnay Cedex (France)
> tel:  (1)39 63 53 68 fax:  (1)39 63 53 30
> email: Helene.Chanut@inria.fr
> ------------------
>
>
>
>