Red Hat DIRECTORY SERVER 8.1 Command Reference Manual page 179

Hide thumbs Also See for DIRECTORY SERVER 8.1:
Table of Contents

Advertisement

3.4.1.4. nsslapd-cache-autosize-split
This performance tuning-related attribute specifies the percentage of cache space to allocate to the
database cache. For example, setting this to 60 would give the database cache 60 percent of the
cache space and split the remaining 40 percent between the backend entry caches. That is, if there
were two databases, each of them would receive 20 percent. This attribute only applies when the
nsslapd-cache-autosize attribute has a value of 0.
NOTE
If the nsslapd-cache-autosize attribute and nsslapd-cache-autosize-split
attribute are both set to high values, such as 100, then the Directory Server may fail to
start and return error message. To fix this issue, reset the 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
Entry DN
Valid Range
Default Value
Syntax
Example
3.4.1.5. nsslapd-dbcachesize
This performance tuning-related attribute specifies the database index cache size, in bytes. This 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
http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/
reference guide at
env_set_cachesize.html.
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
Entry DN
Database Attributes under cn=config, cn=ldbm database, cn=plugins, cn=config
Description
cn=config, cn=ldbm database, cn=plugins,
cn=config
0 to 99
50 (This will not necessarily optimize operations.)
Integer
nsslapd-cache-autosize-split: 50
Description
cn=config, cn=ldbm database, cn=plugins,
cn=config
165

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 8.1 and is the answer not in the manual?

Questions and answers

Table of Contents