.\"
.TH NSCD.CONF 5 2014-02-07 "GNU" "Linux Programmer's Manual"
.SH NAME
-/etc/nscd.conf \- name service cache daemon configuration file
+nscd.conf \- name service cache daemon configuration file
.SH DESCRIPTION
The file
.I /etc/nscd.conf
A \(aq#\(aq (number sign) indicates the beginning of a
comment; following characters, up to the end of the line,
are not interpreted by nscd.
-
+.PP
Valid services are \fIpasswd\fP, \fIgroup\fP, \fIhosts\fP, \fIservices\fP,
or \fInetgroup\fP.
-
+.PP
.B logfile
.I debug-file-name
.RS
Specifies name of the file to which debug info should be written.
.RE
-
+.PP
.B debug-level
.I value
.RS
Sets the desired debug level.
The default is 0.
.RE
-
+.PP
.B threads
.I number
.RS
requests.
At least five threads will always be created.
.RE
-
+.PP
.B max-threads
.I number
.RS
Specifies the maximum number of threads.
The default is 32.
.RE
-
+.PP
.B server-user
.I user
.RS
If a separate cache for every user is used (\-S parameter), this
option is ignored.
.RE
-
+.PP
.B stat-user
.I user
.RS
Specifies the user who is allowed to request statistics.
.RE
-
+.PP
.B reload-count
unlimited |
.I number
before it gets removed.
The default is 5.
.RE
-
+.PP
.B paranoia
.I <yes|no>
.RS
Enabling paranoia mode causes nscd to restart itself periodically.
The default is no.
.RE
-
+.PP
.B restart-interval
.I time
.RS
mode.
The default is 3600.
.RE
-
+.PP
.B enable-cache
.I service
.I <yes|no>
cache.
The default is no.
.RE
-
+.PP
.B positive-time-to-live
.I service
.I value
Larger values increase cache hit rates and reduce mean
response times, but increase problems with cache coherence.
.RE
-
+.PP
.B negative-time-to-live
.I service
.I value
example untarring the Linux kernel sources as root); should be kept small
to reduce cache coherency problems.
.RE
-
+.PP
.B suggested-size
.I service
.I value
should remain a prime number for optimum efficiency.
The default is 211.
.RE
-
+.PP
.B check-files
.I service
.I <yes|no>
.IR /etc/netgroup .
The default is yes.
.RE
-
+.PP
.B persistent
.I service
.I <yes|no>
mode is set.
The default is no.
.RE
-
+.PP
.B shared
.I service
.I <yes|no>
daemon over the socket each time a lookup is performed.
The default is no.
.RE
-
+.PP
.B max-db-size
.I service
.I bytes
.IR service .
The default is 33554432.
.RE
-
+.PP
.B auto-propagate
.I service
.I <yes|no>
.RS
When set to
-.IR no
+.I no
for
.I passwd
or
service, then the
.I .byname
requests are not added to
-.IR passwd.byuid
+.I passwd.byuid
or
.I group.bygid
cache.
This can help with tables containing multiple records for the same ID.
The default is yes.
This option is valid only for services
-.IR passwd
+.I passwd
and
.IR group .
.RE
The default values stated in this manual page originate
from the source code of
.BR nscd (8)
-and are used if not overriden in ithe configuration file.
+and are used if not overridden in the configuration file.
The default values used in the configuration file of
your distribution might differ.
.SH SEE ALSO