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

core dump! help!



We've installed OpenLDAP on our new production machines, and one just core
dumped. I wasn't doing much at all to the server -- a small sample data set
(fewer than 30 records), infrequent lookups, & even less frequent writes.
Hopefully somebody can shed some light on why this happened & how to prevent
it in the future.

We're running the following:
Solaris 7
OpenLDAP 2.0.15
BerkeleyDB 3.2 (Sleepy Cat)
OpenSSL 0.9.6b
We haven't done much configuration such as tuning memory management yet.

Unfortunately I had logging turned off (darn), and now I'm unable to
reproduce the problem (the data files don't seem to be corrupted), so I
can't say exactly what went wrong. I've turned logging on again, and we're
doing stress testing over the next few days, so I might have more info
later. All I can offer is the beginning of the core file obtained via 
strings core | more
If anybody can read this & finds something telling, would you let me & the
rest of the group know?


 %#lx re_pad: %lu
root: %lu
max_bucket: %lu
high_mask: %#lx
low_mask:  %#lx
ffactor: %lu
nelem: %lu
h_charkey: %#lx
spare points:
%lu
first_recno: %lu
cur_recno: %lu
rec_page: %lu
page_ext: %lu
ILLEGAL PAGE TYPE: page: %lu type: %lu
page %lu: %s level: %lu
 records: %lu
 (lsn.file: %lu lsn.offset: %lu)
       D
[%03lu] %4lu
%sprev: %4lu next: %4lu
%sref cnt: %4lu
%sentries: %4lu
 offset: %4lu
ILLEGAL PAGE OFFSET: indx: %lu of %lu
ILLEGAL PAGE ITEM: %lu
%4lu [offpage dups]
Duplicates:
overflow: total len: %4lu page: %4lu
count: %4lu pgno: %4lu type: %4lu
ILLEGAL BINTERNAL TYPE: %lu
entries %4lu pgno %4lu
ILLEGAL DUPLICATE/LBTREE/LRECNO TYPE: %lu
len: %3lu
 data:
0x%.2x
0123456789abcdef
__OTHER__
\%c%c
%c%c
duplicate: page: %4lu
%s%s
btree
hash
queue
UNKNOWN TYPE
btree metadata
duplicate
hash metadata
btree internal
invalid
recno internal
btree leaf
recno leaf
overflow
queue metadata
VERSION=3
format=print
format=bytevalue
database=%s
type=btree
recnum=1
bt_maxkey=%lu
bt_minkey=%lu
DB->stat
type=hash
h_ffactor=%lu
h_nelem=%lu
type=queue
re_len=%lu
re_pad=%#x
type=recno
renumber=1
Impossible DB type in __db_prheader
duplicates=1
dupsort=1
db_pagesize=%lu
keys=1
HEADER=END
DATA=END
$Id: db_rec.c,v 11.10 2000/08/03 15:32:19 ubell Exp $
Log sequence error: page LSN %lu:%lu; previous LSN %lu %lu
$Id: db_ret.c,v 11.12 2000/11/30 00:58:33 ubell Exp $
$Id: db_salloc.c,v 11.10 2000/12/06 19:55:44 ubell Exp $
Memory free list
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
%#lx: %lu
$Id: db_shash.c,v 11.3 2000/02/14 02:59:49 bostic Exp $
$Id: db_upg_opd.c,v 11.9 2000/11/30 00:58:33 ubell Exp $
$Id: hash.c,v 11.94 2001/01/03 16:42:26 ubell Exp $
%s: hash version %lu requires a version upgrade
%s: unsupported hash version: %lu
DB->open
%s: DB_DUP specified to open method but not set in database
%s: multiple databases specified but not supported in file
%s: duplicate sort function specified but not set in database
%$sniglet^&
hash: incompatible hash function
DB->del
__ham_c_count
H_NOMORE returned to __ham_c_get
$Id: hash_conv.c,v 11.5 2000/03/31 00:30:32 ubell Exp $
$Id: hash_dup.c,v 11.49 2000/12/21 21:54:35 margo Exp $
$Id: hash_func.c,v 11.7 2000/08/16 18:26:19 ubell Exp $
$Id: hash_meta.c,v 11.10 2000/12/21 21:54:35 margo Exp $
$Id: hash_page.c,v 11.46 2001/01/11 18:19:51 bostic Exp $
Attempt to return a deleted item
$Id: hash_reclaim.c,v 11.4 2000/11/30 00:58:37 ubell Exp $
$Id: hash_stat.c,v 11.24 2000/12/21 21:54:35 margo Exp $
DB->stat
__ham_stat_callback
$Id: lock.c,v 11.40 2000/12/19 23:18:58 ubell Exp $
Lock table is out of available %s
%s: Lock is no longer valid
Locker is not valid
lock_vec
Not a child transaction
Parent locker is not valid
Invalid lock operation: %d
lock_get
lock_get: invalid lock mode %lu
locks
lock_put
lock_downgrade
Freeing locker with locks
locker entries
object entries
No space for lock object storage
IREAD
IWRITE
READ
WRITE
WAIT
UNKNOWN
ABORT
ERROR
FREE
HELD
NONE
PENDING
%s  %lu (%lu %lu %lu %lu %lu)
page
record
0x%lx
$Id: lock_conflict.c,v 11.6 2000/12/12 17:38:13 bostic Exp $
$Id: lock_deadlock.c,v 11.23 2000/12/08 20:15:31 ubell Exp $
lock_detect
warning: unable to abort locker %lx
Aborting locker %lx
%lu lockers
No locks for locker %lu
$Id: lock_method.c,v 11.5 2000/12/21 19:16:42 bostic Exp $
set_lk_conflicts
set_lk_detect
set_lk_max
set_lk_max_locks
set_lk_max_lockers
set_lk_max_objects
$Id: lock_util.c,v 11.5 2000/07/04 18:28:24 bostic Exp $
$Id: mp_alloc.c,v 11.7 2000/04/20 21:14:18 bostic Exp $
Unable to allocate %lu bytes from mpool shared region: %s
$Id: mp_bh.c,v 11.25 2001/01/10 04:50:53 ubell Exp $
unable to create temporary backing file
write
%s: %s failed for page %lu
pgin
pgout
$Id: mp_fset.c,v 11.13 2000/11/30 00:58:41 ubell Exp $
memp_fset
%s: dirty flag set for readonly file page
$Id: mp_register.c,v 11.12 2000/11/15 19:25:39 sue Exp $
$Id: mp_sync.c,v 11.29 2001/01/11 18:19:53 bostic Exp $
memp_sync: requires logging
%s: unable to flush page: %lu
$Id: os_rename.c,v 11.6 2000/04/14 16:56:33 ubell Exp $
Rename %s %s: %s
$Id: qam.c,v 11.72 2001/01/16 20:10:55 ubell Exp $
Length improper for fixed length record %lu
__qam_c_get
illegal record number of 0
$Id: qam_conv.c,v 11.6 2000/11/16 23:40:57 ubell Exp $
$Id: qam_files.c,v 1.16 2001/01/19 18:01:59 bostic Exp $
%s/__dbq.%s.%d
DB->sync
$Id: qam_open.c,v 11.31 2000/12/20 17:59:29 ubell Exp $
Extent size may not be specified for in-memory queue database.
Record size of %lu too large for page size of %lu
Flush of metapage failed
rwrw--
%s: queue version %lu requires a version upgrade
%s: unsupported qam version: %lu
$Id: qam_stat.c,v 11.16 2001/01/10 04:50:54 ubell Exp $
DB->stat
$Id: bt_conv.c,v 11.6 2000/03/31 00:30:26 ubell Exp $
$Id: bt_cursor.c,v 11.88 2001/01/11 18:19:49 bostic Exp $
__bam_c_close
__bam_c_get
__bam_c_put
__bam_c_search
$Id: bt_delete.c,v 11.31 2001/01/17 18:48:46 bostic Exp $
DB->del
$Id: bt_open.c,v 11.42 2000/11/30 00:58:28 ubell Exp $
prefix comparison may not be specified for default comparison routine
bt_minkey value of %lu too high for page size of %lu
%s: btree version %lu requires a version upgrade
%s: unsupported btree version: %lu
DB->open
%s: DB_DUP specified to open method but not set in database
%s: DB_RECNUM specified to open method but not set in database
%s: DB_FIXEDLEN specified to open method but not set in database
%s: DB_RENUMBER specified to open method but not set in database
%s: multiple databases specified but not supported by file
%s: duplicate sort specified but not supported in database
open method type is Btree, database type is Recno
open method type is Recno, database type is Btree
Metapage flush failed
$Id: bt_put.c,v 11.46 2001/01/17 18:48:46 bostic Exp $
Length improper for fixed length record %lu
Current data differs from put data
__bam_iitem
$Id: bt_rec.c,v 11.35 2001/01/10 16:24:47 ubell Exp $
Log sequence error: page LSN %lu:%lu; previous LSN %lu %lu
$Id: bt_reclaim.c,v 11.5 2000/03/22 04:21:01 ubell Exp $
$Id: bt_recno.c,v 11.65 2001/01/18 14:33:22 bostic Exp $
__ram_c_get
illegal record number of 0
%s: %s
%s: write failed to backing file: %s
$Id: bt_rsearch.c,v 11.21 2000/03/28 21:50:04 ubell Exp $
$Id: bt_search.c,v 11.32 2001/01/17 20:19:46 bostic Exp $
$Id: bt_split.c,v 11.31 2000/12/22 19:08:27 bostic Exp $
Too many btree levels: %d
$Id: bt_stat.c,v 11.29 2000/11/28 21:42:27 bostic Exp $
DB->stat
DB->key_range
$Id: db_dup.c,v 11.18 2000/11/30 00:58:32 ubell Exp $
$Id: db_reclaim.c,v 11.5 2000/04/07 14:26:58 bostic Exp $
$Id: bt_curadj.c,v 11.20 2001/01/17 16:15:49 bostic Exp $