On Wed, Jun 01, 2005 at 12:16:05PM +0200, Ulrich Hermisson wrote: > from www.openldap.org (compiled with "--enable-crypt"). Only when I > compile with the configure option "--with-threads=no", everything is > ok, but the slurpd needs threads. With threads, also the test 17 > performed by "make test" fails if a CPU consuming process is running > in parallel. I have reproduced the bug on the following > architectures/kernel versions (always with Debian Sarge): > Opteron/2.6.7, Opteron/2.6.11, Athlon/2.6.8, Pentium 4/2.6.8. With > Debian Woody on Pentium 4/2.6.7, everything works, also with FreeBSD.
Known problem. I'd guess the reason is that OpenLDAP is calling pthread_yield all the time. Making ldap_pvt_thread_yield a no-op might help here... Greetings Torsten
signature.asc
Description: Digital signature