Full_Name: Trevor Porter Version: 1.2.7 OS: Solaris 2.6 x86 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (209.24.64.3) I have been stress testing slapd under Solaris 2.6 x86 and am having stability problems when slapd is built with posix threads: setenv LIBS "-lpthread -lposix4" ./configure --with-threads The server dies (usually within a minute or two) under high load. No core file is produced. I was able to get a stable server if I compile with Solaris threads: setenv LIBS -lthread ./configure --with-threads While monitoring the server I see that the number of threads slowly creeps up as long as I continue to increase the load on the server. No suprise there. However, if I steadily reduce the load on the server, the number of threads remains the same. Only when stopping all requests does the the number of threads ever go down. This is a concern as this is not likely to occur in a real production environment. I'm aware of the known lwp problem with Solaris not reaping threads. Is this the behaviour I'm seeing or is that problem more severe? Ideally I'd like to have a stable server with no resource leakage. Any suggestions? Also, I have installed the recommended Solaris threading patches.
changed notes changed state Open to Feedback
At 06:03 PM 9/17/99 GMT, trevor@pocketscience.com wrote: >Full_Name: Trevor Porter >Version: 1.2.7 >OS: Solaris 2.6 x86 >URL: ftp://ftp.openldap.org/incoming/ >Submission from: (NULL) (209.24.64.3) > > >I have been stress testing slapd under Solaris 2.6 x86 and am having stability >problems when slapd is built with posix threads: I believe Solaris2 Pthreads (and lwp) are preemptive threading subsystems and hence not supported. Use --without-threads or a third party user thread package. See the FAQ for details. http://www.openldap.org/faq/index.cgi?file=11
changed state Feedback to Closed
Preemptive threads not supported.