[Date Prev][Date Next]
slapd stability on Solaris 2.6 x86 (Solaris threads vs. Posix threads) (ITS#293)
Full_Name: Trevor Porter
OS: Solaris 2.6 x86
Submission from: (NULL) (184.108.40.206)
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"
The server dies (usually within a minute or two) under high load. No core file
I was able to get a stable server if I compile with Solaris threads:
setenv LIBS -lthread
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.
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
This is a concern as this is not likely to occur in a real production
I'm aware of the known lwp problem with Solaris not reaping threads. Is this
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.