Manpage of NSCD.CONF
NSCD.CONFSection: Linux Programmer's Manual (5)
NAMEnscd.conf - name service cache daemon configuration file
DESCRIPTIONThe file /etc/nscd.confis read from nscd(8) at startup. Each line specifies either an attribute and a value, or an attribute, service, and a value. Fields are separated either by SPACE or TAB characters. 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.
Valid services are passwd, group, hosts, services, or netgroup.
- Specifies name of the file to which debug info should be written.
- Sets the desired debug level. The default is 0.
- This is the number of threads that are started to wait for requests. At least five threads will always be created.
- Specifies the maximum number of threads. The default is 32.
- If this option is set, nscd will run as this user and not as root. If a separate cache for every user is used (-S parameter), this option is ignored.
- Specifies the user who is allowed to request statistics.
reload-countunlimited | number
- Limit on the number of times a cached entry gets reloaded without being used before it gets removed. The default is 5.
- Enabling paranoia mode causes nscd to restart itself periodically. The default is no.
- Sets the restart interval to timeseconds if periodic restart is enabled by enabling paranoiamode. The default is 3600.
- Enables or disables the specified servicecache. The default is no.
- Sets the TTL (time-to-live) for positive entries (successful queries) in the specified cache for service. Valueis in seconds. Larger values increase cache hit rates and reduce mean response times, but increase problems with cache coherence.
- Sets the TTL (time-to-live) for negative entries (unsuccessful queries) in the specified cache for service. Valueis in seconds. Can result in significant performance improvements if there are several files owned by UIDs (user IDs) not in system databases (for example untarring the Linux kernel sources as root); should be kept small to reduce cache coherency problems.
- This is the internal hash table size, valueshould remain a prime number for optimum efficiency. The default is 211.
- Enables or disables checking the file belonging to the specified servicefor changes. The files are /etc/passwd, /etc/group, /etc/hosts, /etc/servicesand /etc/netgroup. The default is yes.
- Keep the content of the cache for serviceover server restarts; useful when paranoiamode is set. The default is no.
- The memory mapping of the nscd databases for serviceis shared with the clients so that they can directly search in them instead of having to ask the daemon over the socket each time a lookup is performed. The default is no.
- The maximum allowable size, in bytes, of the database files for the service. The default is 33554432.
- When set to nofor passwdor groupservice, then the .bynamerequests are not added to passwd.byuidor group.bygidcache. This can help with tables containing multiple records for the same ID. The default is yes. This option is valid only for services passwdand group.
NOTESThe default values stated in this manual page originate from the source code of nscd(8) and are used if not overridden in the configuration file. The default values used in the configuration file of your distribution might differ.
This document was created by man2html, using the manual pages.
Time: 16:30:30 GMT, March 14, 2017 Click Here!