Bug 1452739
Summary: | Zero value of nsslapd-cache-autosize-split makes dbcache to be equal 0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Simon Pichugin <spichugi> |
Component: | 389-ds-base | Assignee: | mreynolds |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | nkinder, rmeggins |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.3.6.1-15.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 21:16:38 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: |
Description
Simon Pichugin
2017-05-19 14:21:38 UTC
Upstream ticket: https://pagure.io/389-ds-base/issue/49267 Build tested: 389-ds-base-1.3.6.1-15.el7.x86_64 Verification steps: 1. Setup the instance. 2. Set nsslapd-cache-autosize-split: 0 and restart the instance: [root@qeos-176 ds]# ldapmodify -h localhost -p 389 -D "cn=Directory manager" -w Secret123 dn: cn=config,cn=ldbm database,cn=plugins,cn=config changetype: modify replace: nsslapd-cache-autosize-split nsslapd-cache-autosize-split: 0 modifying entry "cn=config,cn=ldbm database,cn=plugins,cn=config" [root@qeos-176 ds]# restart-dirsrv Restarting instance "qeos-176" 3. Check nsslapd-dbcachesize value: [root@qeos-176 upstream]# ldapsearch -h localhost -p 389 -D "cn=Directory manager" -w Secret123 -b "cn=config,cn=ldbm database,cn=plugins,cn=config" -s base nsslapd-dbcachesize dn: cn=config,cn=ldbm database,cn=plugins,cn=config nsslapd-dbcachesize: 61719183 4. Check errors log: [root@qeos-176 ds]# tail /var/log/dirsrv/slapd-qeos-176/errors [30/May/2017:04:45:31.990055214 -0400] - INFO - connection_post_shutdown_cleanup - slapd shutting down - freed 1 work q stack objects - freed 1 op stack objects [30/May/2017:04:45:32.824174672 -0400] - INFO - main - slapd stopped. [30/May/2017:04:45:32.965716100 -0400] - INFO - main - 389-Directory/1.3.6.1 B2017.143.155 starting up [30/May/2017:04:45:32.976409178 -0400] - INFO - ldbm_instance_config_cachememsize_set - force a minimal value 512000 [30/May/2017:04:45:32.985001870 -0400] - NOTICE - ldbm_back_start - found 1883520k physical memory [30/May/2017:04:45:32.985681404 -0400] - NOTICE - ldbm_back_start - found 1499968k available [30/May/2017:04:45:32.986178920 -0400] - NOTICE - ldbm_back_start - cache autosizing: db cache: 75340k [30/May/2017:04:45:32.986747611 -0400] - NOTICE - ldbm_back_start - cache autosizing: userRoot entry cache (1 total): 131072k [30/May/2017:04:45:32.989662831 -0400] - NOTICE - ldbm_back_start - total cache size: 212714127 B; [30/May/2017:04:45:33.064815867 -0400] - INFO - slapd_daemon - slapd started. Listening on All Interfaces port 389 for LDAP requests Results: nsslapd-dbcachesize was set properly. 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-2017:2086 |