From owner-freebsd-stable@FreeBSD.ORG Mon Mar 4 16:05:59 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7695BFDE for ; Mon, 4 Mar 2013 16:05:59 +0000 (UTC) (envelope-from pierre@guinoiseau.eu) Received: from mail.poildetroll.net (tritus.poildetroll.net [IPv6:2a01:4f8:160:72a3::6:1]) by mx1.freebsd.org (Postfix) with ESMTP id 0BB84332 for ; Mon, 4 Mar 2013 16:05:59 +0000 (UTC) Received: from tritus.poildetroll.net (tritus.poildetroll.net [IPv6:2a01:4f8:160:72a3::6:1]) by mail.poildetroll.net (Postfix) with ESMTP id C7386AA15 for ; Mon, 4 Mar 2013 17:05:57 +0100 (CET) X-Virus-Scanned: amavisd-new at poildetroll.net Received: from mail.poildetroll.net ([IPv6:2a01:4f8:160:72a3::6:1]) by tritus.poildetroll.net (mail.poildetroll.net [IPv6:2a01:4f8:160:72a3::6:1]) (amavisd-new, port 10024) with LMTP id qA0Af7YCH-NI for ; Mon, 4 Mar 2013 17:05:56 +0100 (CET) Received: from kyleck.poildetroll.net (master.obiwankeno.be [IPv6:2a01:4f8:160:72a3::7:1]) by mail.poildetroll.net (Postfix) with SMTP id AB92AAA0D for ; Mon, 4 Mar 2013 17:05:56 +0100 (CET) Date: Mon, 4 Mar 2013 17:05:56 +0100 From: Pierre Guinoiseau To: freebsd-stable@freebsd.org Subject: Re: FreeBSD 9.1 - openldap slapd lockups, mutex problems Message-ID: <20130304160556.GF83171@kyleck.poildetroll.net> References: <50FEB684.9040201@egr.msu.edu> <20130214021356.GJ46275@kyleck.poildetroll.net> <20130214091945.GZ38901@e-Gitt.NET> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GdbWtwDHkcXqP16f" Content-Disposition: inline In-Reply-To: <20130214091945.GZ38901@e-Gitt.NET> X-Operating-System: FreeBSD User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 16:05:59 -0000 --GdbWtwDHkcXqP16f Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've tested it in a 8.3R jail on a 9.1R host, same setup, and the problem is still there. So it may be a kernel bug on 9.1R. On 14/02/2013 10:19:45, Oliver Brandmueller wrote: > Hi, >=20 > On Thu, Feb 14, 2013 at 03:13:57AM +0100, Pierre Guinoiseau wrote: > > > I have seen openldap spin the cpu and even run out of memory to get= =20 > > > killed on some of our test systems running ~9.1-rel with zfs. > [...] > > I've the same problem too, inside a jail, stored on ZFS. I've tried var= ious > > tuning in slapd.conf, but none fixed the problem. While hanging, db_sta= t -c > > shows that all locks are being used, I've tried to set the limit really= high, > > far more than normally needed, but it didn't help. I may have the same = problem > > with amavisd-new but I've to verify that to be sure the symptoms are si= milar. >=20 > I have amd64 9.1-STABLE r245456 (about Jan 15) running. I have openldap= =20 > openldap-server-2.4.33_2 running, depending on libltdl-2.4.2 and=20 > db46-4.6.21.4 . >=20 > The system is zfs only (for the local filesystems, where openldap is=20 > running - it has several NFS mounts for other purposes though). It's up= =20 > and running for about a month now (29 days) and never showed any=20 > problematic behaviour regarding to slapd. >=20 > I have ~10 SEARCH requests per seconds avg and only minor=20 > ADD/MODIFY/DELETE operations. It has several binds und unbinds, about=20 > 1/10th of the requests. It runs in slurpd slave mode for my master LDAP. >=20 > zroot/var/db runs with compression=3Doff, dedup=3Doff, zroot is a mirrore= d=20 > pool on 2 Intel SATA SSD drives inside a GPT partition. Swap is on a ZFS= =20 > zvol. >=20 > - Oliver >=20 >=20 > --=20 > | Oliver Brandmueller http://sysadm.in/ ob@sysadm.in | > | Ich bin das Internet. Sowahr ich Gott helfe. | --GdbWtwDHkcXqP16f Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlE0xmQACgkQJikNJSAyef/XkQCgvWkxaOLDhQ9QP/Kv4Cf9U6OI 0uIAn3bNrMm/y/k2VblShovtePqmnQP+ =CuOo -----END PGP SIGNATURE----- --GdbWtwDHkcXqP16f--