Red Hat Directory Server 8.0 Configuration, Command, and File Reference
nsslapd-cache-autosize and nsslapd-cache-autosize-split attributes to a
more reasonable level. For example:
nsslapd-cache-autosize: 60
nsslapd-cache-autosize-split: 60
Parameter Description
Entry DN cn=config, cn=ldbm database, cn=plugins,
cn=config
Valid Range 0 to 99
Default Value 50 (This will not necessarily optimize
operations.)
Syntax Integer
Example nsslapd-cache-autosize-split: 50
4.1.5. nsslapd-dbcachesize
This performance tuning-related attribute specifies the database index cache size, and is one of
the most important values for controlling how much physical RAM the directory server uses.
This is not the entry cache. This is the amount of memory the Berkeley database backend will
use to cache the indexes (the .db4 files) and other files. This value is passed to the Berkeley
DB API function set_cachesize. If automatic cache resizing is activated, this attribute is
overridden when the server replaces these values with its own guessed values at a later stage
of the server startup. For more technical information on this attribute, see the cache size section
of the Berkeley DB reference guide.
Attempting to set a value that is not a number or is too big for a 32-bit signed integer returns an
LDAP_UNWILLING_TO_PERFORM error message with additional error information explaining the
problem.
The server has to be restarted for changes to this attribute to go into effect.
Parameter Description
Entry DN cn=config, cn=ldbm database, cn=plugins,
cn=config
Valid Range 500 kilobytes to 4 gigabytes for 32-bit
platforms and 500 kilobytes to 2^64-1 for
64-bit platforms
Default Value 10000000 bytes
Syntax Integer
Chapter 3. Plug-in Implemented Server Functionality Reference
134