RHDS - How to manually set a value for a cache while auto-sizing is enabled?

Solution Verified - Updated -


Starting with Red Hat Directory Server 10.1.1, the cache auto-sizing feature is enabled by default.
In some deployments, one might want to manually set a value for the entry cache of a given backend.
For instance a customer has an instance with two suffixes:

  • o=NetscapeRoot
  • dc=example, dc=com

The suffix o=NetscapeRoot stores the Admin Server configuration data. It has typically only a few hundreds of entries.
The other suffix could have millions of entries.
In such case, the entry cache should be much lower for the NetscapeRoot backend.

But the entry caches will have the same value if they are automatically computed:

$ grep "nsslapd-cache-autosize:" dse.ldif
nsslapd-cache-autosize: 20

$ grep nsslapd-cachememsize: dse.ldif
nsslapd-cachememsize: 134217728
nsslapd-cachememsize: 134217728


Red Hat Directory Server 10.1.1 or later
Red Hat Enterprise Linux 7.x

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