Hello,
We are running OpenLDAP with a relatively small user base (15K users) and the server does not seem to be able to keep up with demand when there are multiple concurrent logins (20 users X 70 searches each) during user login. When users login to the server all cores in the server (8) run at 100% utilization, sometimes for as long as 20 minutes (depending on how many users are logging in concurrently).
We have experimented and read and re-read the Tuning guidance but with very little success.
We have tried increasing the number of available cores to slapd, but it does not use more than 8. We have also increased the number of threads from 16 to 32, but that also does not seem to have an effect nor does it seem to allow slapd to use all 16 cores (slapd seems limited to 8 cores regardless of the number of threads defined).
The server has plenty of memory available and configured the db cache to use as much as in needs, but that does not seem to improve matters.
Can you offer any guidance? Thanks.
--On Tuesday, June 30, 2020 10:49 PM +0000 daniel.zuniga@gmail.com wrote:
Can you offer any guidance? Thanks.
The OpenLDAP 2.4.44 release is over 4 years old.
You need to:
a) Upgrade to a current release b) Migrate off of the back-bdb/hdb backend it seems like is being used to back-mdb. They are deprecated and have serious performance issues vs back-mdb (https://mishikal.wordpress.com/2013/05/16/openldap-a-comparison-of-back-mdb-and-back-hdb-performance/).
If you are using RHEL7 or RHEL8, my company provides a free drop-in replacement:
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
We are using the version that comes with CentOS/RHEL7.
Will try a new deployment using back-mdb.
Thanks.
--On Wednesday, July 1, 2020 2:38 PM +0000 daniel.zuniga@gmail.com wrote:
We are using the version that comes with CentOS/RHEL7.
Will try a new deployment using back-mdb.
Note that it's still critical to update to a current release.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
Share some comparison performance charts ;)
-----Original Message----- Subject: Re: slapd 2.4.44 Performance problems
We are using the version that comes with CentOS/RHEL7.
Will try a new deployment using back-mdb.
Thanks.
openldap-technical@openldap.org