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

(ITS#4513) slapadd -q gets stuck yielding when tool-threads > 1



Full_Name: Eric Irrgang
Version: 2.3.21
OS: Solaris 9 sparcv9
URL: 
Submission from: (NULL) (128.83.217.14)


compiled 64-bit against BDB 4.4.20

When tool-threads is greater than 1, slapadd -q gets stuck running 'yield()'
(return code 0) as fast as it can without ever creating additional threads.  It
can't even process the first entry.  Without -q, slapadd works but runs with a
single thread.

slapd.conf:
include         /usr/local/openldap/etc/openldap/schema/core.schema
include         /usr/local/openldap/etc/openldap/schema/cosine.schema
database        bdb
suffix          "dc=utexas,dc=edu"
directory       /tmp/ldap
mode            0600
cachesize       10000
checkpoint      500000  60
shm_key 89
dbconfig set_cachesize 1 0 1
dbconfig set_shm_key 89
tool-threads    2
index   objectclass     eq