1NSCD.CONF(5)               Linux Programmer's 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.
12       A '#' (number sign) indicates the beginning  of  a  comment;  following
13       characters, up to the end of the line, are not interpreted by nscd.
14
15       Valid services are passwd, group, hosts or services.
16
17       logfile debug-file-name
18              Specifies  name  of the file to which debug info should be writ‐
19              ten.
20
21       debug-level value
22              Sets the desired debug level.  The default is 0.
23
24       threads number
25              This is the number of threads  that  are  started  to  wait  for
26              requests.  At least five threads will always be created.
27
28       server-user user
29              If  this  option  is  set, nscd will run as this user and not as
30              root.  If a separate cache for every user is  used  (-S  parame‐
31              ter), this option is ignored.
32
33       enable-cache service <yes|no>
34              Enables or disables the specified service cache.  The default is
35              no.
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.  The default is 211.
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,
58              /etc/hosts and /etc/services.  The default is yes.
59
60       max-threads threads
61              Specifies the maximum number of threads. The default is 32.
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.  The default is no.
73
74       restart-interval time
75              Sets the restart interval to time seconds if periodic restart is
76              enabled by enabling paranoia mode.  The default is 3600.
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.  The default is no.
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.  The default is no.
87
88       max-db-size service number-of-bytes
89              The maximum allowable size of the database files  in  bytes  for
90              the service.  The default is 33554432.
91
92       auto-propagate service <yes|no>
93              When  set  to  no  for passwd or group service, then the .byname
94              requests are not added to  passwd.byuid  or  group.bygid  cache.
95              This  may  help  for  tables containing multiple records for the
96              same id.  The default is yes. This option is valid only for ser‐
97              vices passwd and group.
98

SEE ALSO

100       nscd(8)
101

COLOPHON

103       This  page  is  part of release 3.22 of the Linux man-pages project.  A
104       description of the project, and information about reporting  bugs,  can
105       be found at http://www.kernel.org/doc/man-pages/.
106
107
108
109GNU                               1999-10-01                      NSCD.CONF(5)
Impressum