HP-UX Directory Server 8.1 configuration, command, and file reference
The following attributes are common to both the cn=NetscapeRoot, cn=ldbm database,
cn=plugins, cn=config and the user database, such as cn=userRoot or cn=database_name,
cn=ldbm database, cn=plugins, and cn=config subtrees.
3.4.3.1 nsslapd-cachesize
This performance tuning-related attribute specifies the cache size in terms of the entries it can
hold. However, it is simpler to limit by memory size only (as in “nsslapd-cachememsize”).
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.
DescriptionParameter
cn=database_name, cn=ldbm database, cn=plugins, cn=config
Entry DN
1 to 2,147,483,647 (or -1, which means limitless) entriesValid Range
-1Default Value
IntegerSyntax
nsslapd-cachesize: -1Example
3.4.3.2 nsslapd-cachememsize
This performance tuning-related attribute specifies the cache size in terms of available memory
space. 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. 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.
DescriptionParameter
cn=database_name, cn=ldbm database, cn=plugins, cn=config
Entry DN
500 kilobytes to 4 gigabytes for 32-bit platforms and 500 kilobytes to 2^64-1 for 64-bit
platforms
Valid Range
10,485,760 (10 megabytes)Default Value
IntegerSyntax
nsslapd-cachememsize: 10485760Example
3.4.3.3 nsslapd-directory
This attribute specifies the path to the database instance. If it is a relative path, it starts from the
path specified by nsslapd-directory in the global database entry cn=config, cn=ldbm
database, cn=plugins, cn=config. The database instance directory is named after the
instance name and located in the global database directory, by default. After the database instance
has been created, do not modify this path, because any changes risk preventing the server from
accessing data.
DescriptionParameter
cn=database name, cn=ldbm database, cn=plugins, cn=config
Entry DN
Any valid path to the database instanceValid Values
3.4 Database plug-in attributes 145