Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2009 08:52:10 +0300
From:      alexs@ulgsm.ru
To:        freebsd-stable@freebsd.org
Subject:   Re: openldap unstable on freebsd
Message-ID:  <20091028055210.GA72197@mail.ulgsm.ru>
In-Reply-To: <20091027085647.GT95002@e-Gitt.NET>
References:  <20091027082516.GA88892@mail.ulgsm.ru> <20091027085647.GT95002@e-Gitt.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
* Oliver Brandmueller <ob@e-Gitt.NET> [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



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