[Date Prev][Date Next]
Re: openldap core dumping under load
That certainly stopped the core dump.
The only issue now seems to be CPU. During these times of unusually high
load, slapd seems to use enough of the CPU to cause responses to be slow.
Slow enough for IMAP ldap auths to timeout. Everything comes good once the
mail flow slows.
Maybe I just need a faster box.
----- Original Message -----
From: "Howard Chu" <email@example.com>
To: "'Gordon Shumway'" <firstname.lastname@example.org>;
Sent: Thursday, March 27, 2003 1:25 PM
Subject: RE: openldap core dumping under load
> I ran into a similar problem myself earlier today. Try the ITS#2404 patch
> libldap_r/tpool.c in CVS and let us know how it goes, that should take
> of it.
> -- Howard Chu
> Chief Architect, Symas Corp. Director, Highland Sun
> http://www.symas.com http://highlandsun.com/hyc
> Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Gordon Shumway
> Can anyone help with this ?
> I'm running openldap 2.1.16 with a bdb db-4.1.25 backend. I have a
> server that queries ldap for its aliases.
> During times of high mail volume, ldap core dumps. Over a period of a
> of minutes i can watch slapd consume all system memory and then crash. I
> simulate this quite easily with a looping perl script sending a couple of
> thousand messages.
> I have configured the following indexes in an attempt to improve the
> index objectClass eq
> index cn pres,eq
> index uid pres,eq
> index sendmailMTAAliasGrouping pres,eq
> index sendmailMTAHost pres,eq
> index sendmailMTAKey pres,eq
> index sendmailMTAAliasValue pres,eq
> The ldap box is running FreeBSD 4.7 with a PII 350 and 512mb of ram.
> The sendmail server is a p4 2.4.
> Is it possible that the sendmail server is too grunty in comparison to the
> ldap server ?