Nsslapd-cache-autosize, Note, Nsslapd-cache-autosize-split – Red Hat 8.1 User Manual
Page 121: Nsslapd-dbcachesize

cn=config
Valid Range
100 to the maximum 32-bit integer value
(2147483647) entry IDs
Default Value
4000
Syntax
Integer
Example
nsslapd-idlistscanlimit: 4000
3.4 .1.3. nsslapd-cache-autosize
This performance tuning-related attribute, which is turned off by default, specifies the percentage of free
memory to use for all the combined caches. For example, if the value is set to 80, then 80 percent of the
remaining free memory would be claimed for the cache. To run other servers on the machine, then set
the value lower. Setting the value to 0 turns off the cache autosizing and uses the normal nsslapd-
cachememsize and nsslapd-dbcachesize attributes.
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 an
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
Description
Entry DN
cn=config, cn=ldbm database, cn=plugins,
cn=config
Valid Range
0 (turns cache autosizing off) to 100
Default Value
0
Syntax
Integer
Example
nsslapd-cache-autosize: 80
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
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
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
Red Hat Directory Server 8.1 Configuration and Command Reference
121