[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Openldap periodic cpu spikes in one of the servers in two node MMR



--On Friday, September 29, 2017 2:31 PM -0700 rammohan ganapavarapu <rammohanganap@gmail.com> wrote:


Quanah,


Sorry i was searching for one attribute, i have close to 80mil entries.

Then these settings may be too low:

cachesize    100000
idlcachesize 300000

Essentally, cachesize needs to hold your working set of data (active entries). So this is saying slapd will only cache 100,000 active entries. It will then be removing/adding entries in blocks of one (cachefree defaults to 1 if not set). idlcachesize generally is 3x cachesize.

If your active set is > 100,000 users, then you need to increase the cachesize and idlcachesize parameters accordingly. You may also need to increase cachefree from its default of "1".

Overall, you would likely be much better served to switch to back-mdb, where you do not have to set any of these parameters at all.

--Quanah

--

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