nsslapd-db-cache-size-byte becomes greater than the value set as nsslapd-dbcachesize

Solution Unverified - Updated -

Issue

  • The nsslapd-db-cache-size-byte becomes a greater number than the value set as nsslapd-dbcachesize.
[ Test Case 1 ]
Setting nsslapd-dbcachesize to 10000000.

$ ldapsearch -D "cn=Directory manager" -W -LLL  -s base -b "cn=config,cn=ldbm database,cn=plugins,cn=config" nsslapd-dbcachesize 
Enter LDAP Password: 
dn: cn=config,cn=ldbm database,cn=plugins,cn=config
nsslapd-dbcachesize: 10000000

$ ldapsearch -D "cn=Directory manager" -w redhat123 -LLL -s base -b "cn =database,cn=monitor,cn=ldbm database,cn=plugins,cn=config" nsslapd-db-cache-size-bytes
Enter LDAP Password: 
dn: cn=database,cn=monitor,cn=ldbm database,cn=plugins,cn=config
nsslapd-db-cache-size-bytes: 12509184

$
[ Test Case 2 ]
Setting nsslapd-dbcachesize to 4294900000.

$ ldapsearch -D "cn=Directory manager" -W -LLL -s base -b "cn=config,cn=ldbm database,cn=plugins,cn=config" nsslapd-dbcachesize 
Enter LDAP Password: 
dn: cn=config,cn=ldbm database,cn=plugins,cn=config
nsslapd-dbcachesize: 4294900000

$ ldapsearch -D "cn=Directory manager" -w redhat123 -LLL -s base -b "cn =database,cn=monitor,cn=ldbm database,cn=plugins,cn=config" nsslapd-db-cache-size-bytes
Enter LDAP Password: 
dn: cn=database,cn=monitor,cn=ldbm database,cn=plugins,cn=config
nsslapd-db-cache-size-bytes: 4294901760

$

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Directory Server 10
  • 389-ds-base

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content