Service manual

Error Logging
144 Sun ONE Directory Server Installation and Tuning Guide • June 2003
Table 8-4 Tuning Recommendations for Error Logging
Configuration Attribute (on dn: cn=config) Short Description and Tuning Recommendations
nsslapd-errorlog Specifies the path and filename of the error log file.
For low volume deployments, the error log may share
a disk with theaccess and audit logs.
For high volume deployments, consider putting the
error log on its own disk, with its own controller.
Choose a disk with a large I/O buffer.
nsslapd-errorlog-logging-enabled Enables and disables error logging.
Leave on (default setting).
nsslapd-errorlog-logmaxdiskspace Specifies maximum disk space that all error logs
(current and rotated logs) may consume.
Set this value below the total amount of disk space
dedicated to error logging.
If using the same disk for audit, access, and error
logging, ensure sufficient disk space for all three.
If the error log resides on its own disk,set this
variable to the size of the disk.
nsslapd-errorlog-logminfreediskspace Specifies minimum freedisk space allowed before old
logs are purged.
When the amount of free disk space falls below the
value specified on this attribute, the oldest error logs
are deleted until enough disk space is freed to
correspond to the setting for this attribute. If the error
logs cannot be written because the disk is full, the
server shuts down.
nsslapd-infolog-area Specifies the components for which informational
messages are logged.
Leave at 0 (default) unless debugging a component.
Avoid setting for more than one component at a time
on production servers.