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.

Parameter

Description

Entry DN

cn=database_name, cn=ldbm database, cn=plugins, cn=config

Valid Range

1 to 2,147,483,647 (or -1, which means limitless) entries

Default Value

-1

Syntax

Integer

Example

nsslapd-cachesize: -1

3.4.3.2nsslapd-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.

Parameter

Description

Entry DN

cn=database_name, cn=ldbm database, cn=plugins, cn=config

Valid Range

500 kilobytes to 4 gigabytes for 32-bit platforms and 500 kilobytes to 2^64-1 for 64-bit

 

platforms

Default Value

10,485,760 (10 megabytes)

Syntax

Integer

Example

nsslapd-cachememsize: 10485760

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.

Parameter

Description

Entry DN

cn=database name, cn=ldbm database, cn=plugins, cn=config

Valid Values

Any valid path to the database instance

3.4 Database plug-in attributes 145

Page 145
Image 145
HP UX Identity Security Software manual Nsslapd-cachesize, Nsslapd-cachememsize