Bug 1466191
Summary: | Change the retrochangelog default cache size. And also if possible, the default caches. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | German Parente <gparente> | |
Component: | 389-ds-base | Assignee: | thierry bordaz <tbordaz> | |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 7.4 | CC: | mreynolds, msauton, nkinder, rmeggins, tbordaz, tmihinto, toneata | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | 389-ds-base-1.3.7.5-4.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1476162 (view as bug list) | Environment: | ||
Last Closed: | 2018-04-10 14:18:12 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1476162 |
Description
German Parente
2017-06-29 08:44:34 UTC
I would think it is solved by autotuning coming up in the next release, but certainly it's something we should look at just incase. Upstream ticket: https://pagure.io/389-ds-base/issue/49313 creation or update of large static group (>10K members) can easily overpass the size of 2Mb entry cache. Now I have not a clear understanding how it can conduct to DB panic and corruption. With a too small entrycache we can imagine that the cache contains a single entry and that the cache will try to flush it immediately. This is going into corner cases that can be a pb at server level but I do not understand how it can affect the DB itself. Anyway, increasing the retroCL entry cache prevents DB issue and is a very easy/safe fix. Upstream ticket pushed (https://pagure.io/389-ds-base/issue/49313) Build tested: 389-ds-base-1.3.7.5-6.el7.x86_64 # ldapmodify -D cn=Directory\ Manager -w Secret123 dn: cn=Retro Changelog Plugin,cn=plugins,cn=config changetype: modify replace: nsslapd-pluginEnabled nsslapd-pluginEnabled: on modifying entry "cn=Retro Changelog Plugin,cn=plugins,cn=config" # restart-dirsrv Restarting instance "standalone" # ldapsearch -LLLx -D cn=Directory\ Manager -w Secret123 -s base -b 'cn=changelog,cn=ldbm database,cn=plugins,cn=config' nsslapd-cachememsize dn: cn=changelog,cn=ldbm database,cn=plugins,cn=config nsslapd-cachememsize: 209715200 Previously, the default value of nsslapd-cachememsize was 2097152, now it's 100 times bigger. Marking as VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0811 |