Bug 1244926
| Summary: | Crash while triming the retro changelog | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Noriko Hosoi <nhosoi> |
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | mreynolds, nkinder, rmeggins, spichugi |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.4.0-8.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 11:43:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Noriko Hosoi
2015-07-20 18:58:17 UTC
Fixed upstream Verification steps: [1] Enable retro changelog plugin and set the retro changelog max age: ldapmodify .... dn: cn=retro changelog plugin,cn=plugins,cn=config changetype: modify replace: nsslapd-pluginEnabled nsslapd-pluginEnabled: on - replace: nsslapd-changelogmaxage nsslapd-changelogmaxage: 30 [2] Restart the server [3] Set a very small entry cache size for the retro changelog backend ldapmodify dn: cn=changelog,cn=ldbm database,cn=plugins,cn=config changetype: modify replace: nsslapd-cachememsize nsslapd-cachememsize: 512000 [4] Restart the server [5] Add 2000 entries [6] Wait 31 seconds [7] Make sure server is still running(or did not crash during the adds) Built tested: 389-ds-base-1.3.4.0-8.el7.x86_64 [1] Enable retro changelog plugin and set the retro changelog max age: ldapmodify -D "cn=Directory Manager" -w Secret123 -h localhost -p 389 -x -v dn: cn=retro changelog plugin,cn=plugins,cn=config changetype: modify replace: nsslapd-pluginEnabled nsslapd-pluginEnabled: on - replace: nsslapd-changelogmaxage nsslapd-changelogmaxage: 30 [2] Restart the server sudo restart-dirsrv [3] Set a very small entry cache size for the retro changelog backend ldapmodify -D "cn=Directory Manager" -w Secret123 -h localhost -p 389 -x -v dn: cn=changelog,cn=ldbm database,cn=plugins,cn=config changetype: modify replace: nsslapd-cachememsize nsslapd-cachememsize: 512000 [4] Restart the server sudo restart-dirsrv [5] Add 2000 entries ldclt -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 -f cn=MrXXXXX -b "dc=rhts,dc=eng,dc=bos,dc=redhat,dc=com" -e add,person,incr,noloop,commoncounter -r1 -R2000 [6] Wait 31 seconds [7] Make sure server is still running(or did not crash during the adds) ldapsearch -D "cn=Directory Manager" -w Secret123 -h localhost -p 389 -x -v -b "dc=rhts,dc=eng,dc=bos,dc=redhat,dc=com" cn=Mr02000 ldap_initialize( ldap://localhost:389 ) filter: cn=Mr02000 requesting: All userApplication attributes # extended LDIF # # LDAPv3 # base <dc=rhts,dc=eng,dc=bos,dc=redhat,dc=com> with scope subtree # filter: cn=Mr02000 # requesting: ALL # # Mr02000, rhts.eng.bos.redhat.com dn: cn=Mr02000,dc=rhts,dc=eng,dc=bos,dc=redhat,dc=com objectClass: person objectClass: top cn: Mr02000 sn: toto sn # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 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://rhn.redhat.com/errata/RHBA-2015-2351.html |