[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapd stability on Solaris 2.6 x86 (Solaris threads vs. Posix threads) (ITS#293)



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.