1 .\" Copyright (c) 1999, 2000 SuSE GmbH Nuernberg, Germany
2 .\" Author: Thorsten Kukuk <kukuk@suse.de>
4 .\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
5 .\" This program is free software; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of the
8 .\" License, or (at your option) any later version.
10 .\" This program is distributed in the hope that it will be useful,
11 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
12 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 .\" General Public License for more details.
15 .\" You should have received a copy of the GNU General Public
16 .\" License along with this manual; if not, see
17 .\" <http://www.gnu.org/licenses/>.
20 .TH NSCD.CONF 5 2020-12-21 "GNU" "Linux Programmer's Manual"
22 nscd.conf \- name service cache daemon configuration file
29 Each line specifies either an attribute and a value, or an
30 attribute, service, and a value.
31 Fields are separated either by SPACE
33 A \(aq#\(aq (number sign) indicates the beginning of a
34 comment; following characters, up to the end of the line,
35 are not interpreted by nscd.
37 Valid services are \fIpasswd\fP, \fIgroup\fP, \fIhosts\fP, \fIservices\fP,
43 Specifies name of the file to which debug info should be written.
49 Sets the desired debug level.
56 This is the number of threads that are started to wait for
58 At least five threads will always be created.
64 Specifies the maximum number of threads.
71 If this option is set, nscd will run as this user and not as root.
72 If a separate cache for every user is used (\-S parameter), this
79 Specifies the user who is allowed to request statistics.
86 Limit on the number of times a cached entry gets reloaded without being used
87 before it gets removed.
94 Enabling paranoia mode causes nscd to restart itself periodically.
101 Sets the restart interval to
104 if periodic restart is enabled by enabling
114 Enables or disables the specified
120 .B positive\-time\-to\-live
124 Sets the TTL (time-to-live) for positive entries (successful queries)
125 in the specified cache for
129 Larger values increase cache hit rates and reduce mean
130 response times, but increase problems with cache coherence.
133 .B negative\-time\-to\-live
137 Sets the TTL (time-to-live) for negative entries (unsuccessful queries)
138 in the specified cache for
142 Can result in significant performance improvements if there
143 are several files owned by UIDs (user IDs) not in system databases (for
144 example untarring the Linux kernel sources as root); should be kept small
145 to reduce cache coherency problems.
152 This is the internal hash table size,
154 should remain a prime number for optimum efficiency.
162 Enables or disables checking the file belonging to the specified
179 Keep the content of the cache for
181 over server restarts; useful when
191 The memory mapping of the nscd databases for
193 is shared with the clients so
194 that they can directly search in them instead of having to ask the
195 daemon over the socket each time a lookup is performed.
203 The maximum allowable size, in bytes, of the database files for the
205 The default is 33554432.
220 requests are not added to
225 This can help with tables containing multiple records for the same ID.
227 This option is valid only for services
233 The default values stated in this manual page originate
234 from the source code of
236 and are used if not overridden in the configuration file.
237 The default values used in the configuration file of
238 your distribution might differ.
243 .\" was written by Thorsten Kukuk and Ulrich Drepper.