Hi folks,

it might be off-topic, but it seems openldap isn't really thread-safe (at 
least under solaris and freebsd).
I'm using berkeley db2/db3 (v. 3.2.9.xsomething)
When doing the following task (importing dns database into ldap): 

for (i=0; i<10000; i++)
{search subtree
insert around 10 objects
}
the indices get corrupted after about 600 operations (cachesize and 
dbcachesize are big enough)
When compiling openldap (2.0.4, 2.0.6, 2.0.8, 2.0.15, 2.0.18) 
 --without-threads the indices did not seem to corrupt. Since everyone in 
this list depends on a stable ldap server (qmail-ldap as well as ldap-base 
dns service) it would be nice to know if anyone else experiencing this 
problems (I know many people are unhappy with openldap, what about djbldap 
:)
I seems to work right know but unthreaded it would much slower (no time for 
performance-testing so far) 

gtx
 michael 


 --
/bin/done digital solutions GmbH | Michael Gmelin
Lothstr. 78a                     | Geschaeftsfuehrer
80797 Muenchen                   | Email: [EMAIL PROTECTED]
http://www.bindone.de            | Tel.: 

Reply via email to