Service manual

Sizing Physical Memory
82 Sun ONE Directory Server Installation and Tuning Guide • June 2003
Estimating memory size required to run Directory Server involves estimating the
memory needed both for a specific Directory Server configuration, and for the
underlying system on which Directory Server runs.
Sizing Memory for Directory Server
Given estimated configuration values for a specific deployment, you can estimate
physicalmemory neededforan instance ofDirectoryServer.Table 4-2 summarizes
the values used for the calculations in this section.
NOTE When deploying Directory Server in a production environment,
configure cache sizes well below theoretical process limits, leaving
appropriate resources available for general system operation.
Table 4-2 Values for Sizing Memory for Directory Server
Value Description
1
1. For complete descriptions, referto the Sun ONE Directory Server Reference Manual.
nsslapd-cachememsize Entry cache size for a suffix
An entry cache contains formatted entries, ready
to be sent in response to a client request. One
instance may handle several entry caches.
nsslapd-dbcachesize Database cache size
The database cache holds elements from
databases and indexes used by the server.
nsslapd-import-cachesize Database cache size for bulk import
Import cacheis used only when importing
entries. You may be able to avoid budgeting
extra memory for import cache, instead reusing
memory budgeted for entry or database cache if
you perform only offline imports.
nsslapd-maxconnections Maximum number of connections managed.
nsslapd-threadnumber Number of operation threads created at server
startup