Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Nov 2000 23:43:45 +0200 (IST)
From:      Roman Shterenzon <roman@harmonic.co.il>
To:        "Jacques A. Vidrine" <n@nectar.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Is it late already? (-pthread)
Message-ID:  <973115025.3a008e91d6f58@webmail.harmonic.co.il>
In-Reply-To: <20001031185616.B5333@spawn.nectar.com>
References:  <Pine.BSF.4.21.0010301942160.90486-100000@iclub.nsu.ru> <Pine.LNX.4.10.10010301553540.17779-100000@shark.harmonic.co.il> <20001031185616.B5333@spawn.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Jacques A. Vidrine" <n@nectar.com>:

> On Mon, Oct 30, 2000 at 03:56:47PM +0200, Roman Shterenzon wrote:
> > Example failure is real-world application: OpenLDAP cannot be shut
> down
> > properly (other than kill it, then telnet localhost 389 - then it
> exits).
> > Kill -9 kills it and data could be lost.
> 
> What mean you?
> 
>  sp:~# uname -a
>  FreeBSD spawn.nectar.com 4.1-STABLE FreeBSD 4.1-STABLE #3: Fri Oct 13
> 14:13:04 CDT 2000     root@spawn.nectar.com:/var/obj/usr/src/sys/SPAWN 
> i386
>  sp:~# ps ax | grep slap
>  3765  ??  Ss     0:02.74 /opt/libexec/slapd -h ldapi:///
>  sp:~# kill -HUP 3765 
>  sp:~# ps ax | grep slap
>  sp:~# 
> 
> 
> This is OpenLDAP 2.  It is threaded.
> 
> Hmm.. that's why the slapd.sh script looks so funny .. obviously someone
> else
> has encountered this as well (with OpenLDAP 1.x).  But perhaps this is
> (was) an
> OpenLDAP bug?
Perhaps there's workaround in this version of OpenLDAP.
There's a bug and Daniel has verified and fixed it in -current.
There even more bugs.
The shipping pthreads implementation is almost unusable for serious things.

--Roman Shterenzon, UNIX System Administrator and Consultant
[ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?973115025.3a008e91d6f58>