[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Openldap periodic cpu spikes in one of the servers in two node MMR
- To: rammohan ganapavarapu <rammohanganap@gmail.com>
- Subject: Re: Openldap periodic cpu spikes in one of the servers in two node MMR
- From: Quanah Gibson-Mount <quanah@symas.com>
- Date: Fri, 29 Sep 2017 13:38:02 -0700
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- In-reply-to: <WM!e66d31cede5836f26c4273de3e7fec72a0181562e6ca21269a4c50b088959fbca7cb515386724e231f0602fe7fdb5aed!@mailstronghold-2.zmailcloud.com>
- References: <CALm_VjhRBg+AWkhPd0GHd=NDc4-82OtfmJLb0PgTUiu19GvV+w@mail.gmail.com> <CALm_VjgdWd8RPf=Fo-F=+96C97QUM40if9WOE+_jO6wpSkZijQ@mail.gmail.com> <CALm_VjjtxJM+dEDbERPKQOz3pO84ONddvC+EzwznH2=gNwgNMw@mail.gmail.com> <WM!8da26b4f80011603174bcace5f718c479f9b99613645a659c453d239ecd54c0297ed8936f8391063f4aab6eb8291eb72!@mailstronghold-1.zmailcloud.com> <AE9EDCE85863062685A4DE7C@192.168.1.30> <CALm_VjieQEfqMLRf2HPYawJZLR94e1sijHhC1NnymNar4Vqmbw@mail.gmail.com> <WM!9fe4739a409053d0ff3ffaf40af368574a62aa684ae5554d968e4bfc1261dc80604696593a1af1bd0c7b1334fa8f6f8d!@mailstronghold-3.zmailcloud.com> <11413236DBF6046B2A9DA43F@192.168.1.30> <CALm_VjjCPOMn-4FdS2JMdiv479-akpqFFFWbWBADmrBpz6d0EQ@mail.gmail.com> <WM!6fb6af226c68b05ae6bf28a5efa591a9d0086857035053847969ad7473daf546155c3007b0c5d86302887661a2a0e964!@mailstronghold-3.zmailcloud.com> <D7E33F61FB7F3C9811984851@192.168.1.30> <CALm_Vji1EpmdVAoRpGef3oCrsre2vuKhmpC5CaBU72g8KVEuvA@mail.gmail.com> <WM!25ba8479caad5fdd6defe2f8e5de92dc0ae4b19bf39ee3808e7091454a0b368bbc60b95e25b3f131933837a9411bd4e5!@mailstronghold-1.zmailcloud.com> <9FF3CC0581E375D3A03C125F@192.168.1.30> <CALm_VjhTsVjiJMiD=jrW9re6gALqgy3=RssutJOc+yCpOkAjOQ@mail.gmail.com> <WM!e66d31cede5836f26c4273de3e7fec72a0181562e6ca21269a4c50b088959fbca7cb515386724e231f0602fe7fdb5aed!@mailstronghold-2.zmailcloud.com>
--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>