Database Plug-in Attributes
166 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
nsslapd-db-idl-divisor
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.
Before modifying the value of this attribute, export all databases using the
db2ldif
script. Once the modification has been made, reload the databases using
the
ldif2db
script.
NOTE The directory referenced by the
nsslapd-db-home-directory
attribute must be a subdirectory of a filesystem of type
tempfs
(such as
/tmp
). However, Directory Server does not create the
subdirectory referenced by this attribute. You must create the
directory either manually or by using a script. Failure to create the
directory referenced on the
nsslapd-db-home-directory
attribute
will result in Directory Server being unable to start.
Also, if you have multiple Directory Servers on the same machine,
their
nsslapd-db-home-directory
attributes must be configured
with different directories. Failure to do so will result in the
databases for both directories becoming corrupted.
Finally, 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 your server. If this happens, reduce
the size of your database cache size to a value where the server will
start again.
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: N/A
Syntax: DirectoryString
Example: nsslapd-db-home-directory: /tmp/slapd-phonebook