Database Attributes under cn=NetscapeRoot, cn=ldbm database, cn=plugins, cn=config and cn=userRoot, cn=ldbm database, cn=plugins, cn=config
177
NOTE
The performance counter for this setting goes to the highest 64-bit integer, even on 32-
bit systems, but the setting itself is limited on 32-bit systems to the highest 32-bit integer
because of how the system addresses memory.
Parameter
Description
Entry DN
cn=
database_name
, cn=ldbm database,
cn=plugins, cn=config
Valid Range
1 to 2
32
-1 on 32-bit systems or 2
63
-1 on 64-bit
systems or -1, which means limitless
Default Value
-1
Syntax
Integer
Example
nsslapd-cachesize: -1
3.4.3.2. nsslapd-cachememsize
This performance tuning-related attribute specifies the size, in bytes, for the available memory
space for the entry cache. The simplest method is limiting cache size in terms of memory occupied.
Activating automatic cache resizing overrides this attribute, replacing these values with its own
guessed values at a later stage of the server startup.
The
BerkeleyDB documentation
9
offers a good explanation of what the entry cache is, along with
management information like how to monitor the cache with
db_stat -m
.
NOTE
The
nsslapd-cachememsize
attribute also defines the import buffer size. The
import buffer size is automatically configured to be 80% of whatever the
nsslapd-
cachememsize
setting is. When importing databases with very large attributes, be
sure to reset the
nsslapd-cachememsize
value to something high enough so
that .80*
cacheSize
is enough to allow the import to proceed.
Attempting to set a value that is not a number or is too big for a 32-bit signed integer (on 32-bit
systems) returns an
LDAP_UNWILLING_TO_PERFORM
error message with additional error information
explaining the problem.
NOTE
The performance counter for this setting goes to the highest 64-bit integer, even on 32-
bit systems, but the setting itself is limited on 32-bit systems to the highest 32-bit integer
because of how the system addresses memory.
Parameter
Description
Entry DN
cn=
database_name
, cn=ldbm database,
cn=plugins, cn=config
9
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am_conf/cachesize.html
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...