From owner-freebsd-stable@FreeBSD.ORG Thu Feb 14 09:19:50 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DE6B2B9A for ; Thu, 14 Feb 2013 09:19:50 +0000 (UTC) (envelope-from prvs=07574758ac=ob@gruft.de) Received: from main.mx.e-gitt.net (service.rules.org [IPv6:2001:1560:2342::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A92BFB5 for ; Thu, 14 Feb 2013 09:19:50 +0000 (UTC) Received: from ob by main.mx.e-gitt.net with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U5uyn-000F6w-CS for freebsd-stable@freebsd.org; Thu, 14 Feb 2013 10:19:45 +0100 Date: Thu, 14 Feb 2013 10:19:45 +0100 From: Oliver Brandmueller To: freebsd-stable@freebsd.org Subject: Re: FreeBSD 9.1 - openldap slapd lockups, mutex problems Message-ID: <20130214091945.GZ38901@e-Gitt.NET> Mail-Followup-To: freebsd-stable@freebsd.org References: <50FEB684.9040201@egr.msu.edu> <20130214021356.GJ46275@kyleck.poildetroll.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <20130214021356.GJ46275@kyleck.poildetroll.net> X-Face: "TT~P'b_)-jKU_0^a=usXryz`YTz)z.[FZrI,A~PREI2U}frrZ`>_J&; ^t|^.dR/mqtC,Vb.Y>~u8(|aL)vAv(k">zY"]*m*y|b8S7:WK[/qP5i>HO#Ek; C[X:b|FP0*Ly_4Ni User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Oliver Brandmueller 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: Thu, 14 Feb 2013 09:19:50 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, 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 vario= us > tuning in slapd.conf, but none fixed the problem. While hanging, db_stat = -c > shows that all locks are being used, I've tried to set the limit really h= igh, > far more than normally needed, but it didn't help. I may have the same pr= oblem > with amavisd-new but I've to verify that to be sure the symptoms are simi= lar. 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 . 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. 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. zroot/var/db runs with compression=3Doff, dedup=3Doff, zroot is a mirrored= =20 pool on 2 Intel SATA SSD drives inside a GPT partition. Swap is on a ZFS=20 zvol. - Oliver --=20 | Oliver Brandmueller http://sysadm.in/ ob@sysadm.in | | Ich bin das Internet. Sowahr ich Gott helfe. | --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEcrDEACgkQiqtMdzjafynbhQCfWJTEf3+87ImP3I/EyhRWSXKR 5ZEAnivCDpKCN4MjGl7xNNbIbq2es3mY =d86z -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--