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

(ITS#5956) Unallocatable shm keys lock up slapd



Full_Name: Quanah Gibson-Mount
Version: 2.4.14
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)


If I set OpenLDAP to use an shm key, and the kernel is not configured to allow
SHM keys of the size requested, slapd goes into an infinite loop trying to
connect to the DB, and can only be stopped with a kill -9:

Feb 17 15:06:53 tribes slapd[7683]: hdb_db_open: database "": shared memory env
open failed, assuming stale env.
Feb 17 15:06:53 tribes slapd[7683]: bdb(): shmget: key: 7: unable to create
shared system memory region: Invalid argument
Feb 17 15:06:53 tribes slapd[7683]: bdb(): PANIC: Invalid argument
Feb 17 15:06:53 tribes slapd[7683]: bdb(): unable to join the environment

is what it logs endlessly.