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

Re: LinuxThreads, FAQ needs updating for 2.x



I have been running using OpenLDAP v2.0.7 with linuxthreads on some boxes... Redhat 6.2 and redhat 7.0 (with glibcv2.1) seems to work ok.

But, when Redhat changed over to glibc2.2 on redhat7.0 compiling with treads stopped working (ie. configure saw it as a broken implementation). Using gnu threads instead did compile but resulted in a server which hung whenever you tried to connect to it. I don't really know about other distributions or Redhat 7.1... I ended up recompiling without threads on these boxes.

So the short answer is that there is support for linuxthreads in OpenLDAP V2 but it is not useable in every instance (so no definitive answer).


at 14:01 09/05/2001 -0400, Ajit Nair wrote:
If you look at the roadmap it actually says that there is support for
pre-emptive threads with OpenLdap2.0. Here's the link
http://www.openldap.org/software/roadmap.html

and here's what you'll find on that page.
-------------------------------------
Current Releases
    OpenLDAP 2.0 (released 31 August 2000)
        LDAPv3 Support and much, much more!
        LDAPv3 (RFC2251-2256,2829-2831)
        Strong Authentication (SASL) (RFC2829)
        Start TLS (RFC2830)
        Language Tags (RFC2596)
        DNS-based service location (RFC2247+RFC3088)
        Password Modify (RFC3062)
        Enhanced Standalone Server
        Named References/ManageDsaIT ("nameref" I-D)
        Enhanced Access Control subsystem
        Thread pooling
        Preemptive threading support     --------------------------- I
believe this is what you're looking for.
        Multiple listener support
        LDIFv1 (RFC2849)
        Improved platform/subsystem detection
------------------------------------------

Ajit.

----- Original Message -----
From: "Christopher D. Audley" <Christopher.D.Audley@jhu.edu>
To: <openldap-software@OpenLDAP.org>
Sent: Wednesday, May 09, 2001 12:40 PM
Subject: LinuxThreads, FAQ needs updating for 2.x


> I've been trying to nail down what the status of OpenLDAP and > LinuxThreads is. > > The FAQ is very clear on OpenLDAP 1.x and pre-emptive threads, > DONT DO IT. > > However, nobody has gone back and updated this message for 2.x. I can't > seem to find the message that says 'I'm an OpenLDAP expert, I know what > the hell I'm talking about and (yes/no) you ( can/can't ) use > LinuxThreads and OpenLDAP'. > > Amoung highly informative messages, I found a message in -devel from > Kurt dated August 1999 explaining that the problem with LinuxThreads is > that signal handling is broken ( not spec compliant ). It suggested > that using the BINDv8 event library might be the way to go. I couldn't > find a follow up to this indicating that LinuxThreads had corrected its > problems or that a suitable replacement had been found (no further > mention of BINDv8). > > In October 2000, Julio Fernandez says threads wont work prior to 2.0, > try upgrading to 2.0.6 or recompile the 1.x server being used. He > doesn't specifically say that 2.x works with pre-emptive threading. I > hate to be pendantic, but I also don't want to get slammed for reading > in between the lines and being wrong. > > The release notes for 2.0 list amoung the enhancements 'Thread Pooling', > but again, this doesn't necessarilly scream "Re-engineered for > pre-emptive threading!" which I think would be something to scream > about. > > On this list you see a lot of conflicting answers to the regular > periodic request for information on LinuxThreads and OpenLDAP. > Recently, sobral@sj.univali.br assured that LinuxThreads and OpenLDAP > 1.2.11 is fine, despite the FAQ to the contrary. Then two weeks later, > herman.meerlo@cmg.nl states as part of his question that they have > definitely seen problems with OpenLDAP and thread support > > Can someone provide the finally, definitive answer. And please updated > the FAQ. > > Thanks > Chris >