ParameterDescription

SyntaxDirectoryString

Example

nsslapd-db-durable-transactions: on

3.4.1.9 nsslapd-db-home-directory

To move the database to another physical location for performance reasons, use this parameter to specify the home directory.

This situation will occur only for certain combinations of the database cache size, the size of physical memory, and kernel tuning attributes. In particular, this situation should not occur if the database cache size is less than 100 megabytes.

Reset the nsslapd-db-home-directoryattribute for any of the following conditions:

The disk is heavily used (more than 1 megabyte per second of data transfer).

There is a long service time (more than 100ms).

There is mostly write activity.

If these are all true, use the nsslapd-db-home-directoryattribute to specify a subdirectory of a tempfs type filesystem.

Directory Server does not create the subdirectory referenced by this attribute. This directory must be created either manually or by using a script. Failure to create the directory referenced by the nsslapd-db-home-directoryattribute will result in Directory Server being unable to start.

Also, if there are multiple Directory Servers on the same machine, their nsslapd-db-home-directoryattributes must be configured with different directories. Failure to do so will result in the databases for both directories becoming corrupted.

The use of this attribute causes internal Directory Server database files to be moved to the directory referenced by the attribute. It is possible, but unlikely, that the server will no longer start after the files have been moved because not enough memory can be allocated. This is a symptom of an overly large database cache size being configured for the server. If this happens, reduce the size of the database cache size to a value where the server will start again.

Parameter

Description

Entry DN

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

Valid Values

Any valid directory name in a tempfs filesystem, such as /tmp

Default Value

 

Syntax

DirectoryString

Example

nsslapd-db-home-directory: /tmp/slapd-phonebook

3.4.1.10nsslapd-db-idl-divisor

This attribute specifies the index block size in terms of the number of blocks per database page. The block size is calculated by dividing the database page size by the value of this attribute. A value of 1 makes the block size exactly equal to the page size. The default value of 0 sets the block size to the page size minus an estimated allowance for internal database overhead. For the majority of installations, the default value should not be changed unless there are specific tuning needs.

136 Plug-in implemented server functionality reference

Page 136
Image 136
HP UX Identity Security Software manual Nsslapd-db-home-directory, Nsslapd-db-idl-divisor