From owner-freebsd-stable Wed Nov 1 13:46: 5 2000 Delivered-To: freebsd-stable@freebsd.org Received: from moon.harmonic.co.il (moon.harmonic.co.il [192.116.140.65]) by hub.freebsd.org (Postfix) with ESMTP id B7BE537B4CF for ; Wed, 1 Nov 2000 13:45:56 -0800 (PST) Received: (from nobody@localhost) by moon.harmonic.co.il (8.9.3/8.9.3) id XAA03989; Wed, 1 Nov 2000 23:43:45 +0200 To: "Jacques A. Vidrine" Subject: Re: Is it late already? (-pthread) Message-ID: <973115025.3a008e91d6f58@webmail.harmonic.co.il> Date: Wed, 01 Nov 2000 23:43:45 +0200 (IST) From: Roman Shterenzon Cc: freebsd-stable@freebsd.org References: <20001031185616.B5333@spawn.nectar.com> In-Reply-To: <20001031185616.B5333@spawn.nectar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.2 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting "Jacques A. Vidrine" : > 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