[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3397) Lock table is out of available locker entries
Full_Name: Nacho Diaz Asenjo
Version: 2.2.17
OS: Linux (Debian Woody)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2001:720:410:2:20a:5eff:fe03:efe1)
I had already put in my DB_CONFIG file this values
set_lk_max_locks 2000
set_lk_max_lockers 2000
set_lk_max_objects 2000
But number of lockers increase day by day ... now its value is about 250 but in
two weeks my OpenLDAP will get 2000 lockers because this value never decrease.
And then my OpenLDAP will crash beause of this error "Lock table is out of
available locker entries". This force me to run db_recover almost twice a month.
-- DB_CONFIG ----
#
# Set the database in memory cache size.
# set_cachesize <gbytes> <bytes> <ncache>
# gbytes: The number of gigabytes of memory to allocate to the cache.
# bytes: The number of bytes of memory to allocate to the cache.
# ncache: The number of cache segments to use. If this value is set to 0
or 1 then Berkeley DB
# will try to allocate one contiguoussection of memory for the cache. If this
value is greater than
# 1, the cache will be split into that number of segments.
set_cachesize 0 52428800 0
#
# Set database flags.
# This flag tells the database not to immediately flush transaction buffers to
disk
set_flags DB_TXN_NOSYNC
#
# Set log values.
# set_lg_max: Set the maximum size of log files in <bytes>
set_lg_regionmax 1048576
set_lg_max 10485760
set_lg_bsize 2097152
set_lg_dir /usr/local/openldap-2.2.17/var/bdb-logs
#Problema
#Lock table is out of available locker entries
set_lk_max_locks 2000
set_lk_max_lockers 2000
set_lk_max_objects 2000
#
# Set temporary file creation directory.
#
set_tmp_dir /tmp
--- db_stat ----
/usr/local/openldap-2.2.17/var/datos# /usr/local/BerkeleyDB-4.2.52/bin/db_stat
-CA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock region parameters
locker table size: 2053, object table size: 2053, obj_off: 720568,
osynch_off: 0, locker_off: 704136, lsynch_off: 0, need_dd: 0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Conflict matrix
0 0 0 0 0 0 0 0 0
0 0 1 0 1 0 1 0 1
0 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0
0 1 1 0 0 0 0 1 1
0 0 1 0 0 0 0 0 1
0 1 1 0 0 0 0 1 1
0 0 1 0 1 0 1 0 0
0 1 1 0 1 1 1 0 1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Locks grouped by lockers
Locker Mode Count Status ----------------- Object ---------------
1 dd= 0 locks held 1 write locks 0
1 READ 1 HELD id2entry.bdb handle 0
2 dd= 0 locks held 0 write locks 0
3 dd= 0 locks held 1 write locks 0
3 READ 1 HELD dn2id.bdb handle 0
4 dd= 0 locks held 0 write locks 0
5 dd= 0 locks held 0 write locks 0
6 dd= 0 locks held 0 write locks 0
8 dd= 0 locks held 0 write locks 0
9 dd= 0 locks held 0 write locks 0
a dd= 0 locks held 0 write locks 0
b dd= 0 locks held 1 write locks 0
b READ 1 HELD objectClass.bdb handle 0
c dd= 0 locks held 0 write locks 0
d dd= 0 locks held 0 write locks 0
e dd= 0 locks held 1 write locks 0
e READ 1 HELD uid.bdb handle 0
f dd= 0 locks held 0 write locks 0
10 dd= 0 locks held 0 write locks 0
11 dd= 0 locks held 0 write locks 0
12 dd= 0 locks held 0 write locks 0
13 dd= 0 locks held 0 write locks 0
14 dd= 0 locks held 0 write locks 0
15 dd= 0 locks held 0 write locks 0
16 dd= 0 locks held 0 write locks 0
17 dd= 0 locks held 0 write locks 0
18 dd= 0 locks held 0 write locks 0
19 dd= 0 locks held 0 write locks 0
1a dd= 0 locks held 0 write locks 0
1b dd= 0 locks held 0 write locks 0
1c dd= 0 locks held 0 write locks 0
1d dd= 0 locks held 1 write locks 0
1d READ 1 HELD uc3mniu.bdb handle 0
1e dd= 0 locks held 0 write locks 0
1f dd= 0 locks held 0 write locks 0
20 dd= 0 locks held 1 write locks 0
20 READ 1 HELD sn.bdb handle 0
21 dd= 0 locks held 0 write locks 0
22 dd= 0 locks held 0 write locks 0
23 dd= 0 locks held 1 write locks 0
23 READ 1 HELD cn.bdb handle 0
24 dd= 0 locks held 0 write locks 0
25 dd= 0 locks held 0 write locks 0
26 dd= 0 locks held 1 write locks 0
26 READ 1 HELD mail.bdb handle 0
27 dd= 0 locks held 0 write locks 0
28 dd= 0 locks held 0 write locks 0
29 dd= 0 locks held 0 write locks 0
2a dd= 0 locks held 0 write locks 0
2b dd= 0 locks held 0 write locks 0
2c dd= 0 locks held 0 write locks 0
2d dd= 0 locks held 0 write locks 0
2e dd= 0 locks held 0 write locks 0
2f dd= 0 locks held 0 write locks 0
30 dd= 0 locks held 0 write locks 0
31 dd= 0 locks held 0 write locks 0
32 dd= 0 locks held 1 write locks 0
32 READ 1 HELD uc3mnif.bdb handle 0
33 dd= 0 locks held 0 write locks 0
34 dd= 0 locks held 0 write locks 0
35 dd= 0 locks held 1 write locks 0
35 READ 1 HELD uc3mCorreo.bdb handle 0
36 dd= 0 locks held 0 write locks 0
37 dd= 0 locks held 0 write locks 0
38 dd= 0 locks held 0 write locks 0
39 dd= 0 locks held 0 write locks 0
3a dd= 0 locks held 0 write locks 0
3b dd= 0 locks held 0 write locks 0
3d dd= 0 locks held 0 write locks 0
3e dd= 0 locks held 0 write locks 0
3f dd= 0 locks held 0 write locks 0
40 dd= 0 locks held 0 write locks 0
41 dd= 0 locks held 0 write locks 0
42 dd= 0 locks held 0 write locks 0
43 dd= 0 locks held 0 write locks 0
44 dd= 0 locks held 0 write locks 0
45 dd= 0 locks held 0 write locks 0
46 dd= 0 locks held 0 write locks 0
47 dd= 0 locks held 0 write locks 0
48 dd= 0 locks held 1 write locks 0
48 READ 1 HELD uc3mCorreoAlias.bdb handle 0
49 dd= 0 locks held 0 write locks 0
4a dd= 0 locks held 0 write locks 0
4b dd= 0 locks held 0 write locks 0
4c dd= 0 locks held 0 write locks 0
4d dd= 0 locks held 1 write locks 0
4d READ 1 HELD telephoneNumber.bdb handle 0
4e dd= 0 locks held 0 write locks 0
4f dd= 0 locks held 0 write locks 0
50 dd= 0 locks held 1 write locks 0
50 READ 1 HELD uc3mCampus.bdb handle 0
51 dd= 0 locks held 0 write locks 0
52 dd= 0 locks held 0 write locks 0
53 dd= 0 locks held 0 write locks 0
54 dd= 0 locks held 0 write locks 0
55 dd= 0 locks held 1 write locks 0
55 READ 1 HELD uc3mEdificio.bdb handle 0
56 dd= 0 locks held 0 write locks 0
57 dd= 0 locks held 0 write locks 0
58 dd= 0 locks held 0 write locks 0
59 dd= 0 locks held 0 write locks 0
5a dd= 0 locks held 0 write locks 0
5b dd= 0 locks held 0 write locks 0
62 dd= 0 locks held 1 write locks 0
62 READ 1 HELD id2entry.bdb handle 0
63 dd= 0 locks held 0 write locks 0
64 dd= 0 locks held 1 write locks 0
64 READ 1 HELD dn2id.bdb handle 0
65 dd= 0 locks held 0 write locks 0
66 dd= 0 locks held 0 write locks 0
67 dd= 0 locks held 0 write locks 0
68 dd= 0 locks held 0 write locks 0
69 dd= 0 locks held 0 write locks 0
6a dd= 0 locks held 0 write locks 0
6b dd= 0 locks held 0 write locks 0
6c dd= 0 locks held 1 write locks 0
6c READ 1 HELD objectClass.bdb handle 0
6d dd= 0 locks held 0 write locks 0
6e dd= 0 locks held 0 write locks 0
6f dd= 0 locks held 0 write locks 0
70 dd= 0 locks held 1 write locks 0
70 READ 1 HELD uid.bdb handle 0
71 dd= 0 locks held 0 write locks 0
72 dd= 0 locks held 0 write locks 0
73 dd= 0 locks held 0 write locks 0
74 dd= 0 locks held 1 write locks 0
74 READ 1 HELD cn.bdb handle 0
75 dd= 0 locks held 0 write locks 0
76 dd= 0 locks held 0 write locks 0
78 dd= 0 locks held 0 write locks 0
79 dd= 0 locks held 1 write locks 0
79 READ 1 HELD mail.bdb handle 0
7a dd= 0 locks held 0 write locks 0
7b dd= 0 locks held 0 write locks 0
7c dd= 0 locks held 0 write locks 0
7d dd= 0 locks held 1 write locks 0
7d READ 1 HELD sn.bdb handle 0
7e dd= 0 locks held 0 write locks 0
7f dd= 0 locks held 0 write locks 0
80 dd= 0 locks held 0 write locks 0
81 dd= 0 locks held 0 write locks 0
82 dd= 0 locks held 0 write locks 0
83 dd= 0 locks held 0 write locks 0
84 dd= 0 locks held 0 write locks 0
85 dd= 0 locks held 0 write locks 0
86 dd= 0 locks held 0 write locks 0
87 dd= 0 locks held 0 write locks 0
88 dd= 0 locks held 0 write locks 0
89 dd= 0 locks held 0 write locks 0
8a dd= 0 locks held 0 write locks 0
8b dd= 0 locks held 1 write locks 0
8b READ 1 HELD uc3mniu.bdb handle 0
8c dd= 0 locks held 0 write locks 0
8d dd= 0 locks held 0 write locks 0
8e dd= 0 locks held 0 write locks 0
8f dd= 0 locks held 0 write locks 0
90 dd= 0 locks held 0 write locks 0
91 dd= 0 locks held 0 write locks 0
92 dd= 0 locks held 0 write locks 0
93 dd= 0 locks held 0 write locks 0
94 dd= 0 locks held 0 write locks 0
95 dd= 0 locks held 0 write locks 0
96 dd= 0 locks held 0 write locks 0
97 dd= 0 locks held 1 write locks 0
97 READ 1 HELD uc3mCorreo.bdb handle 0
98 dd= 0 locks held 0 write locks 0
99 dd= 0 locks held 0 write locks 0
9a dd= 0 locks held 0 write locks 0
9b dd= 0 locks held 0 write locks 0
9c dd= 0 locks held 0 write locks 0
9d dd= 0 locks held 0 write locks 0
9e dd= 0 locks held 0 write locks 0
9f dd= 0 locks held 1 write locks 0
9f READ 1 HELD id2entry.bdb handle 0
a0 dd= 0 locks held 0 write locks 0
a1 dd= 0 locks held 1 write locks 0
a1 READ 1 HELD dn2id.bdb handle 0
a2 dd= 0 locks held 0 write locks 0
a3 dd= 0 locks held 0 write locks 0
a4 dd= 0 locks held 0 write locks 0
a5 dd= 0 locks held 0 write locks 0
a6 dd= 0 locks held 0 write locks 0
a7 dd= 0 locks held 0 write locks 0
a8 dd= 0 locks held 0 write locks 0
a9 dd= 0 locks held 1 write locks 0
a9 READ 1 HELD objectClass.bdb handle 0
aa dd= 0 locks held 0 write locks 0
ab dd= 0 locks held 0 write locks 0
ac dd= 0 locks held 1 write locks 0
ac READ 1 HELD uid.bdb handle 0
ad dd= 0 locks held 0 write locks 0
ae dd= 0 locks held 0 write locks 0
af dd= 0 locks held 1 write locks 0
af READ 1 HELD uc3mniu.bdb handle 0
b0 dd= 0 locks held 0 write locks 0
b1 dd= 0 locks held 0 write locks 0
b2 dd= 0 locks held 0 write locks 0
b3 dd= 0 locks held 0 write locks 0
b4 dd= 0 locks held 0 write locks 0
b5 dd= 0 locks held 0 write locks 0
b6 dd= 0 locks held 0 write locks 0
b7 dd= 0 locks held 0 write locks 0
b8 dd= 0 locks held 0 write locks 0
b9 dd= 0 locks held 0 write locks 0
ba dd= 0 locks held 0 write locks 0
bb dd= 0 locks held 0 write locks 0
bc dd= 0 locks held 1 write locks 0
bc READ 1 HELD cn.bdb handle 0
bd dd= 0 locks held 0 write locks 0
be dd= 0 locks held 0 write locks 0
bf dd= 0 locks held 0 write locks 0
c0 dd= 0 locks held 0 write locks 0
c1 dd= 0 locks held 0 write locks 0
c2 dd= 0 locks held 0 write locks 0
c3 dd= 0 locks held 0 write locks 0
c4 dd= 0 locks held 0 write locks 0
c5 dd= 0 locks held 0 write locks 0
c6 dd= 0 locks held 0 write locks 0
c7 dd= 0 locks held 1 write locks 0
c7 READ 1 HELD sn.bdb handle 0
c8 dd= 0 locks held 0 write locks 0
c9 dd= 0 locks held 0 write locks 0
ca dd= 0 locks held 1 write locks 0
ca READ 1 HELD mail.bdb handle 0
cb dd= 0 locks held 0 write locks 0
cc dd= 0 locks held 0 write locks 0
cd dd= 0 locks held 1 write locks 0
cd READ 1 HELD uc3mCorreo.bdb handle 0
ce dd= 0 locks held 0 write locks 0
cf dd= 0 locks held 0 write locks 0
d0 dd= 0 locks held 0 write locks 0
d1 dd= 0 locks held 0 write locks 0
d2 dd= 0 locks held 0 write locks 0
d3 dd= 0 locks held 0 write locks 0
d4 dd= 0 locks held 0 write locks 0
d5 dd= 0 locks held 0 write locks 0
d6 dd= 0 locks held 0 write locks 0
d7 dd= 0 locks held 0 write locks 0
d8 dd= 0 locks held 0 write locks 0
d9 dd= 0 locks held 0 write locks 0
da dd= 0 locks held 0 write locks 0
80000003 dd= 0 locks held 0 write locks 0 lk timeout 0
80000006 dd= 0 locks held 0 write locks 0
80000008 dd= 0 locks held 0 write locks 0
80000024 dd= 0 locks held 0 write locks 0
80000051 dd= 0 locks held 0 write locks 0
80000052 dd= 0 locks held 0 write locks 0
80000053 dd= 0 locks held 0 write locks 0
80000054 dd= 0 locks held 0 write locks 0
80000055 dd= 0 locks held 0 write locks 0
8000094d dd= 0 locks held 0 write locks 0
80000954 dd= 0 locks held 0 write locks 0
80000956 dd= 0 locks held 0 write locks 0
80000957 dd= 0 locks held 0 write locks 0
80000958 dd= 0 locks held 0 write locks 0
80000972 dd= 0 locks held 0 write locks 0
80000973 dd= 0 locks held 0 write locks 0
80000974 dd= 0 locks held 0 write locks 0
80000977 dd= 0 locks held 0 write locks 0
8000097c dd= 0 locks held 0 write locks 0
8000097d dd= 0 locks held 0 write locks 0
8000097e dd= 0 locks held 0 write locks 0
80000986 dd= 0 locks held 0 write locks 0
8000099b dd= 0 locks held 0 write locks 0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Locks grouped by object
Locker Mode Count Status ----------------- Object ---------------
1 READ 1 HELD id2entry.bdb handle 0
62 READ 1 HELD id2entry.bdb handle 0
9f READ 1 HELD id2entry.bdb handle 0
3 READ 1 HELD dn2id.bdb handle 0
64 READ 1 HELD dn2id.bdb handle 0
a1 READ 1 HELD dn2id.bdb handle 0
4d READ 1 HELD telephoneNumber.bdb handle 0
b READ 1 HELD objectClass.bdb handle 0
6c READ 1 HELD objectClass.bdb handle 0
a9 READ 1 HELD objectClass.bdb handle 0
20 READ 1 HELD sn.bdb handle 0
7d READ 1 HELD sn.bdb handle 0
c7 READ 1 HELD sn.bdb handle 0
23 READ 1 HELD cn.bdb handle 0
74 READ 1 HELD cn.bdb handle 0
bc READ 1 HELD cn.bdb handle 0
e READ 1 HELD uid.bdb handle 0
70 READ 1 HELD uid.bdb handle 0
ac READ 1 HELD uid.bdb handle 0
26 READ 1 HELD mail.bdb handle 0
79 READ 1 HELD mail.bdb handle 0
ca READ 1 HELD mail.bdb handle 0
35 READ 1 HELD uc3mCorreo.bdb handle 0
97 READ 1 HELD uc3mCorreo.bdb handle 0
cd READ 1 HELD uc3mCorreo.bdb handle 0
48 READ 1 HELD uc3mCorreoAlias.bdb handle 0
32 READ 1 HELD uc3mnif.bdb handle 0
50 READ 1 HELD uc3mCampus.bdb handle 0
55 READ 1 HELD uc3mEdificio.bdb handle 0
1d READ 1 HELD uc3mniu.bdb handle 0
8b READ 1 HELD uc3mniu.bdb handle 0
af READ 1 HELD uc3mniu.bdb handle 0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Memory free list
0x44363004: 240124
--- slapd.conf ----
# El único backend que soporta alias es ldbm, bdb de momento no lo soporta
database bdb
suffix "o=Universidad Carlos III,c=ES"
rootdn "cn=XXXXXXX,o=Universidad Carlos III,c=ES"
# Se deben evitar las passwords en claro (o en Plain Text), especialmente
# para el rootdn. Mira para más detalles slappasswd(8) y slapd.conf(5).
# Hay que fomentar el uso de autenticación fuerte.
rootpw xxxxxx
# El directorio donde residirá la Base de Datos DEBE existir antes de
# arrancar slapd Y deber ser únicamente accesible a slapd/tools. Se
# recomienda el modo 700
directory /usr/local/openldap-2.2.17/var/datos
# Comportamiento por defecto. Mantemos atributos modifiersName,
modifyTimeStamp,
# creatorsName y createTimeStamp
lastmod on
##################################################
# REPLICA a ldap02.uc3m.es
##################################################
replica host=ldap02.uc3m.es:389
suffix="o=Universidad Carlos III,c=es"
binddn="cn=XXXXXXX,o=Universidad Carlos III,c=es"
credentials=xxxxxxx
bindmethod=simple
tls=yes
starttls=yes
replogfile /usr/local/openldap-2.2.17/var/openldap-slurp/slurp.log
##################
# Cache de entradas: Numero de entradas a mantener en memoria
cachesize 50000