Hi,
my system: x86_64 opensuse-10.3

I have built db and sasl without additional flags and openldap with
with_pth=no with_pthreads=yes with_sasl=yes with_slurpd=no

slapd started in debugging modus shows that the initializing process
hangs with

daemon: epoll: listen=9 active_threads=0 tvp=zero
daemon: epoll: listen=10 busy

when killing the process

daemon: shutdown requested and initiated
daemon: closing 9
daemon: closing 10
slapd shutdown: waiting for 2 threads to terminate
>>> slapd_listener(@Fn)
daemon: accept(10) failed errno=9 (Bad file descriptor)

The core didn't show much in gdb and attaching strace to slapd pid
didn't show much either:

write(2, "daemon: epoll: listen=10 busy\n", 30) = 30
epoll_wait(8, <unfinished ...>

I presume this is due to the fact that BerkeleyDB and slapd have been
build with different mutexes.
What are the correct arguments to build db with pthread instead of
libthread_db?

-Dieter

-- 
Dieter Klünter | Systemberatung
Mobil: +49.176.51126864
Fax: +49.40.64891521
Key ID:8EF7B6C6
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to