[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-technical
Subject:    RE: Slapd pegs CPU every ten minutes
From:       Singley, Norman <Norman.Singley () mso ! umt ! edu>
Date:       2018-01-18 20:44:48
Message-ID: C577C5765FAB0D4A99B7534FA5BAF8A1950C9923 () UMMAIL01 ! gs ! umt ! edu
[Download RAW message or body]


Hi Quanah. 


Thanks for the response.  Yes. Oldap 2.4.36.  I am hoping to update oldap versions \
and database backend soon, but trying to get this figured out first.  

We seem to have solved the issue by adding ram and processor capacity increased the \
cache setting and idlecache settings in slapd.conf.  

Thank you.

Norman Singley
Directory Services
University of Montana.






-----Original Message-----
From: Quanah Gibson-Mount [mailto:quanah(a)symas.com] 
Sent: Thursday, January 11, 2018 12:51 PM
To: Singley, Norman; openldap-technical(a)openldap.org
Subject: Re: Slapd pegs CPU every ten minutes

--On Thursday, January 11, 2018 7:06 PM +0000 "Singley, Norman" 
<Norman.Singley(a)mso.umt.edu> wrote:

> I have an issue with oldap 2.36 in which every ten minutes, slapd 
> starts consuming all available CPU resources briefly.  When this 
> happens ldap searches timeout.

I'm going to assume you mean openldap 2.4.36?  That release is over 4 years old, and \
there have been numerous fixes to OpenLDAP since that release.

> I have bumped up the cache size to 1.5 GB  dn2id.bdb and id2entry.bdb 
> are approx. 60 mb combined.

> I get errors (mismatched version) when I run DB_STAT  (database 
> environment version mismatch)

You probably need to use a version specific db_stat command, if you're using the \
OpenLDAP provided by your distribution (i.e., db_stat4.7 or similar, depending on \
what version of BDB OpenLDAP was linked to)

> Is there anything else I can look at to help troubleshoot? I am 
> wondering what would cause slapd to peg the cpu at exactly 10 minute intervals.

A cron job causing a large search or similar?  There's little information to work on \
here.

Finally, I would note that back-bdb/hdb are deprecated and back-mdb is the preferred \
backend with current OpenLDAP releases.  back-mdb has numerous advantages in relation \
to performance, etc, over back-bdb/hdb.

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic