Fix nsslapd-db-lock tuning of BDB backend

nsslapd-db-lock was moved from cn=config,cn=ldbm database,cn=plugins,cn=config
entry to cn=bdb subentry. Manual patching of dse.ldif was no longer
working. Installations with 389-DS 1.4.3 and newer are affected.

Low lock count can affect performance during high load, e.g. mass-import
of users or lots of concurrent connections.

Bump minimal DS version to 1.4.3. Fedora 32 and RHEL 8.3 have 1.4.3.

Fixes: https://pagure.io/freeipa/issue/8515
See: https://pagure.io/freeipa/issue/5914
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
Christian Heimes
2020-09-24 12:32:37 +02:00
parent 29b41aef0a
commit 69ebe41525
9 changed files with 48 additions and 17 deletions

View File

@@ -0,0 +1,10 @@
# Fix nsslapd-db-locks move
# https://pagure.io/freeipa/issue/8515
# replace 389-DS default with 50000 locks
dn: cn=bdb,cn=config,cn=ldbm database,cn=plugins,cn=config
replace: nsslapd-db-locks:10000::50000
# remove setting from old location
dn: cn=config,cn=ldbm database,cn=plugins,cn=config
remove: nsslapd-db-locks: 50000

View File

@@ -4,6 +4,7 @@ appdir = $(IPA_DATA_DIR)/updates
app_DATA = \
05-pre_upgrade_plugins.update \
10-config.update \
10-db-locks.update \
10-enable-betxn.update \
10-ipapwd.update \
10-selinuxusermap.update \