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

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



erici@motown.cc.utexas.edu wrote:
> 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.
>   

Yes, it looks like the tool-threads feature was accidentally broken in 
2.3.21. You can restore it by using the slapd/init.c from 2.3.20.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/