1NSCD.CONF(5)                  File Formats Manual                 NSCD.CONF(5)
2
3
4

NAME

6       /etc/nscd.conf - name service cache daemon configuration file
7

DESCRIPTION

9       The  file  /etc/nscd.conf  is  read  from nscd(8) at startup. Each line
10       specifies either an attribute and a value, or  an  attribute,  service,
11       and  a value. Fields are separated either by SPACE or TAB characters. A
12       `#' (number sign) indicates the beginning of a comment; following char‐
13       acters, up to the end of the line, are not interpreted by nscd.
14
15
16       Valid services are passwd, group, or hosts.
17
18       logfile debug-file-name
19              Specifies  name  of the file to which debug info should be writ‐
20              ten.
21
22       debug-level value
23              Sets the desired debug level.
24
25       threads number
26              This is the number of threads  that  are  started  to  wait  for
27              requests. At least five threads will always be created.
28
29       server-user user
30              If  this  option  is  set, nscd will run as this user and not as
31              root.  If a separate cache for every user is  used  (-S  parame‐
32              ter), this option is ignored.
33
34       enable-cache service <yes|no>
35              Enables or disables the specified service cache.
36
37       positive-time-to-live service value
38              Sets  the  TTL  (time-to-live)  for positive entries (successful
39              queries) in the specified cache for service.  Value is  in  sec‐
40              onds.  Larger  values  increase  cache hit rates and reduce mean
41              response times, but increase problems with cache coherence.
42
43       negative-time-to-live service value
44              Sets the TTL (time-to-live) for negative  entries  (unsuccessful
45              queries)  in  the specified cache for service.  Value is in sec‐
46              onds. Can result  in  significant  performance  improvements  if
47              there  are  several files owned by UIDs (user IDs) not in system
48              databases (for example untarring the  linux  kernel  sources  as
49              root); should be kept small to reduce cache coherency problems.
50
51       suggested-size service value
52              This  is  the  internal  hash  table size, value should remain a
53              prime number for optimum efficiency.
54
55       check-files service <yes|no>
56              Enables or disables checking the file belonging to the specified
57              service  for changes. The files are /etc/passwd, /etc/group, and
58              /etc/hosts.
59
60       max-threads threads
61              Specifies the maximum number of threads to be started.
62
63       stat-user username
64              Specifies the user who is allowed to request statistics.
65
66       reload-count unlimited | number
67              Limit on the number of times a cached entry gets reloaded  with‐
68              out being used before it gets removed. The default is 5.
69
70       paranoia <yes|no>
71              Enabling  paranoia  mode  causes nscd to restart itself periodi‐
72              cally.
73
74       restart-interval time
75              Sets the restart interval to time seconds if periodic restart is
76              enabled by enabling paranoia mode.
77
78       persistent service <yes|no>
79              Keep  the content of the cache for service over server restarts;
80              useful when paranoia mode is set.
81
82       shared service <yes|no>
83              The memory mapping of the nscd databases for service  is  shared
84              with  the  clients  so  that  they  can  directly search in them
85              instead of having to ask the daemon over the socket each time  a
86              lookup is performed.
87
88

SEE ALSO

90       nscd(8)
91

AUTHOR

93       nscd was written by Thorsten Kukuk and Ulrich Drepper.
94
95
96
97GNU C Library                       1999-10                       NSCD.CONF(5)
Impressum