RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1883708 - tune nsslapd-db-locks in 10-config.update
Summary: tune nsslapd-db-locks in 10-config.update
Keywords:
Status: CLOSED DUPLICATE of bug 1882340
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.2
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-29 23:33 UTC by Marc Sauton
Modified: 2023-12-15 19:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:05:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marc Sauton 2020-09-29 23:33:17 UTC
Description of problem:

customer's system are often updated for years, instead of adding fresh and clean and up to date RHEL-8 and RHEL-7 systems into an IdM topology.

this often result in some parameters that are no long properly tuned as databases and usage grow overtime.

one example is the IPA LDAP server with the configuration parameter called nsslapd-db-locks.

there has been a customer case and situation with an updated system to RHEL-7.8, but carrying an older setting.

dn: cn=config,cn=ldbm database,cn=plugins,cn=config
nsslapd-db-locks: 10000

the newer default had been 50K in RHEL-8.2 and RHEL-7.8


so the file
/usr/share/ipa/updates/10-config.update

could re-tune

dn: cn=config,cn=ldbm database,cn=plugins,cn=config
nsslapd-db-locks: 50000


but on the other hand, this may overwrite those deployments that had been manually tuned with higher values like 100 or 200K dblocks


the symptom is typically an IPA LDAP error with this string:
id2entry - db error 12 (Cannot allocate memory) 


Version-Release number of selected component (if applicable):
RHEL-8
RHEL-7
389-ds-base


How reproducible:
N/A , this is about old configurations carried overtime by RHEL IdM application successive updates

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Rob Crittenden 2020-09-30 00:19:38 UTC
In other words, if it is the default 10000 then bump it up to 50k, correct?

Comment 2 Kaleem 2020-09-30 07:54:33 UTC
(In reply to Rob Crittenden from comment #1)
> In other words, if it is the default 10000 then bump it up to 50k, correct?

Is this not being taken care of in https://bugzilla.redhat.com/show_bug.cgi?id=1882340 ?

Comment 4 Rob Crittenden 2020-09-30 14:22:51 UTC
Yes, exactly. That is why I was trying to get clarification on the request.

Comment 7 François Cami 2020-10-27 13:05:00 UTC

*** This bug has been marked as a duplicate of bug 1882340 ***

Comment 8 Red Hat Bugzilla 2023-09-14 06:08:56 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.