mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
10
install/updates/10-db-locks.update
Normal file
10
install/updates/10-db-locks.update
Normal 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
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user