Database Plug-in Attributes
nsslapd-dbncache
This attribute allows you to split the ldbm cache into equally sized separate pieces
of memory. It is possible to specify caches that are large enough so that they cannot
be allocated contiguously on some architectures, e.g., some releases of Solaris limit
the amount of memory that may be allocated contiguously by a process. If
nsslapd-dbncache
it is greater than 1, the cache will be broken up into ncache equally sized separate
pieces of memory.
This attribute is provided only for system modification/diagnostics and should be
changed only with the guidance of Netscape engineering staff and Netscape
Professional Services. Inconsistent settings of this attribute and other configuration
attributes may cause the Directory Server to be unstable.
nsslapd-import-cachesize
This performance tuning related attribute determines the size of the database cache
used in the bulk import process. By setting this attribute value so that the
maximum available system physical memory is used for the database cache during
bulk importing, you can optimize bulk import speed. If you attempt to set a value
that is not a number or is too big for a 32-bit signed integer you will receive an
LDAP_UNWILLING_TO_PERFORM error message with additional error
information explaining the problem.
NOTE
Entry DN
Valid Range
Default Value
Syntax
Example
144
Netscape Directory Server Configuration, Command, and File Reference • December 2001
is 0 or 1, the cache will be allocated contiguously in memory. If
A cache is created for each load that occurs. For example, if the user
sets the
nsslapd-import-cachesize
used when loading one database, 2GB is used when loading 2
databases, etc.
Ensure that you have sufficient physical memory to prevent
swapping from occuring, as this would result in performance
degradation.
cn=config,cn=ldbm database,cn=plugins,cn=config
500KB to 4GB for 32-bit platforms and 500KB to 2^64-1 for 64-bit
platforms
20 000 000
Integer
nsslapd-import-cachesize: 20 000 000
attribute to 1GB, then 1GB is
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.0 and is the answer not in the manual?
Questions and answers