First I set threads=2 in slapd.conf.
Using 'charge' (http://sourceforge.net/projects/loadtesting/), I start
2 threads (clients) doing the following : bind, search base dc=domain,
unbind.
Almost every time the server hangs. If I hit ctrl-c I returns the
following message and I have to kill it :
slapd shutdown: waiting for 4 threads to terminate
Notes :
- If I replace the search with base o=A|B,dc=domain there is no problem.
- With the default configuration (threads=16) I have to launch 17
clients to freeze slapd.
I can produce a full log (67KB) of this scenario if you want.