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=Small
  • dc=example,dc=com

The suffix o=Small stores 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 SmallDB 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
Red Hat Directory Server 11
Red Hat Enterprise Linux 8

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