[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#4226) cn=accesslog reporting that it is out of available lockers when only root entry exists
Full_Name: Quanah Gibson-Mount
Version: RE_ENG_23 11/28/2005
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.66.155.86)
I started up slapd, with a brand new DB, and accesslog configured for
delta-syncrepl. The accesslog DB consists of a single entry. When the replica
binds, the logs show:
Nov 29 00:58:08 ldap-test0.Stanford.EDU slapd[6184]: [ID 446079 local4.debug]
bdb(cn=accesslog): Lock table is out of available locker entries
Nov 29 00:58:08 ldap-test0.Stanford.EDU slapd[6184]: [ID 480219 local4.debug] =>
bdb_idl_fetch_key: get failed: Not enough space (12)
Nov 29 00:58:08 ldap-test0.Stanford.EDU slapd[6184]: [ID 446079 local4.debug]
bdb(cn=accesslog): Lock table is out of available locker entries
Nov 29 00:58:08 ldap-test0.Stanford.EDU slapd[6184]: [ID 480219 local4.debug] =>
bdb_idl_fetch_key: get failed: Not enough space (12)
ldap-test0:/db/accesslog# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/dsk/c0t1d0s1 34G 1.5G 32G 5% /db
ldap-test0:/db/accesslog#
Memory: 3072M real, 1307M free, 2688M swap in use, 245M swap free
ldap-test0:/db/accesslog# cat DB_CONFIG
# $Id: DB_CONFIG.accesslog,v 1.3 2005/11/24 03:44:34 quanah Exp $
set_cachesize 0 10485760 1
set_lg_regionmax 262144
set_lg_bsize 2097152
set_lg_dir /var/log/bdb/accesslog
#
# Automatically remove log files that are no longer needed.
set_flags DB_LOG_AUTOREMOVE
#
ldap-test0:/db/accesslog# db_stat -C A | more
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock region parameters
locker table size: 1031, object table size: 1031, obj_off: 401064,
osynch_off: 0, locker_off: 392808, 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
a dd= 0 locks held 1 write locks 0
a READ 1 HELD objectClass.bdb handle 0
b dd= 0 locks held 0 write locks 0
c dd= 0 locks held 0 write locks 0
d dd= 0 locks held 1 write locks 0
d READ 1 HELD entryCSN.bdb handle 0
e dd= 0 locks held 1 write locks 0
e READ 1 HELD entryCSN.bdb page 1
f dd= 0 locks held 0 write locks 0
10 dd= 0 locks held 0 write locks 0
11 dd= 0 locks held 1 write locks 0
11 READ 1 HELD reqStart.bdb handle 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 1 write locks 0
15 READ 1 HELD entryCSN.bdb page 1
16 dd= 0 locks held 1 write locks 0
16 READ 1 HELD entryCSN.bdb page 1
17 dd= 0 locks held 1 write locks 0
17 READ 1 HELD entryCSN.bdb page 1
18 dd= 0 locks held 1 write locks 0
18 READ 1 HELD entryCSN.bdb page 1
19 dd= 0 locks held 1 write locks 0
19 READ 1 HELD entryCSN.bdb page 1
1a dd= 0 locks held 1 write locks 0
1a READ 1 HELD entryCSN.bdb page 1
1b dd= 0 locks held 1 write locks 0
1b READ 1 HELD entryCSN.bdb page 1
1c dd= 0 locks held 1 write locks 0
1c READ 1 HELD entryCSN.bdb page 1
1d dd= 0 locks held 1 write locks 0
1d READ 1 HELD entryCSN.bdb page 1
1e dd= 0 locks held 1 write locks 0
1e READ 1 HELD entryCSN.bdb page 1
1f dd= 0 locks held 1 write locks 0
1f READ 1 HELD entryCSN.bdb page 1
20 dd= 0 locks held 1 write locks 0
20 READ 1 HELD entryCSN.bdb page 1
21 dd= 0 locks held 1 write locks 0
21 READ 1 HELD entryCSN.bdb page 1
22 dd= 0 locks held 1 write locks 0
22 READ 1 HELD entryCSN.bdb page 1
23 dd= 0 locks held 1 write locks 0
23 READ 1 HELD entryCSN.bdb page 1
24 dd= 0 locks held 1 write locks 0
24 READ 1 HELD entryCSN.bdb page 1
25 dd= 0 locks held 1 write locks 0
25 READ 1 HELD entryCSN.bdb page 1
26 dd= 0 locks held 1 write locks 0
26 READ 1 HELD entryCSN.bdb page 1
27 dd= 0 locks held 1 write locks 0
27 READ 1 HELD entryCSN.bdb page 1
28 dd= 0 locks held 1 write locks 0
28 READ 1 HELD entryCSN.bdb page 1
29 dd= 0 locks held 1 write locks 0
.....
3e4 dd= 0 locks held 1 write locks 0
3e4 READ 1 HELD entryCSN.bdb page 1
3e5 dd= 0 locks held 1 write locks 0
3e5 READ 1 HELD entryCSN.bdb page 1
3e6 dd= 0 locks held 1 write locks 0
3e6 READ 1 HELD entryCSN.bdb page 1
3e7 dd= 0 locks held 1 write locks 0
3e7 READ 1 HELD entryCSN.bdb page 1
3e8 dd= 0 locks held 1 write locks 0
3e8 READ 1 HELD entryCSN.bdb page 1
3e9 dd= 0 locks held 1 write locks 0
3e9 READ 1 HELD entryCSN.bdb page 1
3ea dd= 0 locks held 1 write locks 0
3ea READ 1 HELD entryCSN.bdb page 1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Locks grouped by object
Locker Mode Count Status ----------------- Object ---------------
1 READ 1 HELD id2entry.bdb handle 0
3 READ 1 HELD dn2id.bdb handle 0
e READ 1 HELD entryCSN.bdb page 1
15 READ 1 HELD entryCSN.bdb page 1
16 READ 1 HELD entryCSN.bdb page 1
17 READ 1 HELD entryCSN.bdb page 1
18 READ 1 HELD entryCSN.bdb page 1
19 READ 1 HELD entryCSN.bdb page 1
1a READ 1 HELD entryCSN.bdb page 1
1b READ 1 HELD entryCSN.bdb page 1
1c READ 1 HELD entryCSN.bdb page 1
1d READ 1 HELD entryCSN.bdb page 1
1e READ 1 HELD entryCSN.bdb page 1
1f READ 1 HELD entryCSN.bdb page 1
20 READ 1 HELD entryCSN.bdb page 1
21 READ 1 HELD entryCSN.bdb page 1
22 READ 1 HELD entryCSN.bdb page 1
23 READ 1 HELD entryCSN.bdb page 1
....
3e3 READ 1 HELD entryCSN.bdb page 1
3e4 READ 1 HELD entryCSN.bdb page 1
3e5 READ 1 HELD entryCSN.bdb page 1
3e6 READ 1 HELD entryCSN.bdb page 1
3e7 READ 1 HELD entryCSN.bdb page 1
3e8 READ 1 HELD entryCSN.bdb page 1
3e9 READ 1 HELD entryCSN.bdb page 1
3ea READ 1 HELD entryCSN.bdb page 1
a READ 1 HELD objectClass.bdb handle 0
d READ 1 HELD entryCSN.bdb handle 0
11 READ 1 HELD reqStart.bdb handle 0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Memory free list
0xfed10004: 120796
I can't think of any reason in the world for there to be so many locks....
--Quanah