openldap unstable on freebsd

Oliver Brandmueller ob at e-Gitt.NET
Tue Oct 27 08:56:50 UTC 2009


Hi,

On Tue, Oct 27, 2009 at 11:25:16AM +0300, alexs at 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.

- Oliver

-- 
| Oliver Brandmueller          http://sysadm.in/         ob at sysadm.in |
|                        Ich bin das Internet. Sowahr ich Gott helfe. |


More information about the freebsd-stable mailing list