From owner-freebsd-stable@FreeBSD.ORG Wed Oct 28 05:52:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0EBD10656A3 for ; Wed, 28 Oct 2009 05:52:17 +0000 (UTC) (envelope-from alexs@ulgsm.ru) Received: from mail.ulgsm.ru (skuns.ulgsm.ru [93.93.136.26]) by mx1.freebsd.org (Postfix) with ESMTP id 88AA28FC23 for ; Wed, 28 Oct 2009 05:52:16 +0000 (UTC) Received: from mail.ulgsm.ru (localhost [127.0.0.1]) by mail.ulgsm.ru (Postfix) with ESMTP id 11507B849 for ; Wed, 28 Oct 2009 08:52:11 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.gsm900.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from mail.ulgsm.ru (localhost [127.0.0.1]) by mail.ulgsm.ru (Postfix) with ESMTP id DEADAB848 for ; Wed, 28 Oct 2009 08:52:10 +0300 (MSK) Received: from mail.ulgsm.ru (bazar.gsm900.net [192.168.0.160]) by mail.ulgsm.ru (Postfix) with ESMTP id A6760B843 for ; Wed, 28 Oct 2009 08:52:10 +0300 (MSK) Date: Wed, 28 Oct 2009 08:52:10 +0300 From: alexs@ulgsm.ru To: freebsd-stable@freebsd.org Message-ID: <20091028055210.GA72197@mail.ulgsm.ru> References: <20091027082516.GA88892@mail.ulgsm.ru> <20091027085647.GT95002@e-Gitt.NET> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091027085647.GT95002@e-Gitt.NET> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: openldap unstable on freebsd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 05:52:18 -0000 * Oliver Brandmueller [2009-10-27 09:56:48 +0100]: > Hi, > > On Tue, Oct 27, 2009 at 11:25:16AM +0300, alexs@ulgsm.ru wrote: > > Last 2 years (maybe when began using bdb backend), we get slapd crash on > > read load. > > System on low load work with monit monitoring and fails 1-3 in month. > > When load up crashes frequency up too. > > > > Tuning helped but not much. > > > > load about 20-30 queryes/sec in peak. > > and crashes every hour. > > > > Problem watched on Freebsd7,7.1,7.2 i386, amd64 and openldap2.3,2.4 > > (bdb,hdb backends) in any combinations. > > > > I tested openldap 2.4 on debian lenny, its work under my load without > > tuning (once was crashed whole linux :), but not slapd). > > > > Mybe some freebsd tuning needed? > > We have slapd running on several servers with read loads of between 50 > and 200 requests per second and it runs rock stable. > > What comes tomind, did your server crash at some point? Have you tried > to either do a db_recover on the database files (while slapd is not > running of course) or slapcat/slapadd to rebuild the BDB from scratch? I > get the feeling your BDB is somehow damaged. I reinstall opneldap, remove all tunung, make slapadd < backup.ldif and get about 50 failures at the night. :( > > - Oliver > > -- > | Oliver Brandmueller http://sysadm.in/ ob@sysadm.in | > | Ich bin das Internet. Sowahr ich Gott helfe. | > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Email: alexs@ulgsm.ru Email/Jabber: alexs@ulgsm.ru