{"id":4417,"date":"2022-12-20T17:49:14","date_gmt":"2022-12-20T20:49:14","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/nscd-conf-man5\/"},"modified":"2022-12-20T17:49:14","modified_gmt":"2022-12-20T20:49:14","slug":"nscd-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/nscd-conf-man5\/","title":{"rendered":"NSCD.CONF (man5)"},"content":{"rendered":"<h1 align=\"center\">NSCD.CONF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COLOPHON\">COLOPHON<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">nscd.conf \u2212 name service cache daemon configuration file<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The file <i>\/etc\/nscd.conf<\/i> is read from <b>nscd<\/b>(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 &#8216;#&#8217; (number sign) indicates the beginning of a comment; following characters, up to the end of the line, are not interpreted by nscd.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Valid services are <i>passwd<\/i>, <i>group<\/i>, <i>hosts<\/i>, <i>services<\/i>, or <i>netgroup<\/i>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>logfile<\/b> <i>debug-file-name<\/i><\/p>\n<p style=\"margin-left:22%;\">Specifies name of the file to which debug info should be written.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>debug\u2212level<\/b> <i>value<\/i><\/p>\n<p style=\"margin-left:22%;\">Sets the desired debug level. The default is 0.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>threads<\/b> <i>number<\/i><\/p>\n<p style=\"margin-left:22%;\">This is the number of threads that are started to wait for requests. At least five threads will always be created.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>max\u2212threads<\/b> <i>number<\/i><\/p>\n<p style=\"margin-left:22%;\">Specifies the maximum number of threads. The default is 32.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>server\u2212user<\/b> <i>user<\/i><\/p>\n<p style=\"margin-left:22%;\">If this option is set, nscd will run as this user and not as root. If a separate cache for every user is used (\u2212S parameter), this option is ignored.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>stat\u2212user<\/b> <i>user<\/i><\/p>\n<p style=\"margin-left:22%;\">Specifies the user who is allowed to request statistics.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>reload\u2212count<\/b> unlimited | <i>number<\/i><\/p>\n<p style=\"margin-left:22%;\">Limit on the number of times a cached entry gets reloaded without being used before it gets removed. The default is 5.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>paranoia<\/b> <i><yes|no><\/i><\/p>\n<p style=\"margin-left:22%;\">Enabling paranoia mode causes nscd to restart itself periodically. The default is no.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>restart\u2212interval<\/b> <i>time<\/i><\/p>\n<p style=\"margin-left:22%;\">Sets the restart interval to <i>time<\/i> seconds if periodic restart is enabled by enabling <b>paranoia<\/b> mode. The default is 3600.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>enable\u2212cache<\/b> <i>service <yes|no><\/i><\/p>\n<p style=\"margin-left:22%;\">Enables or disables the specified <i>service<\/i> cache. The default is no.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>positive\u2212time\u2212to\u2212live<\/b> <i>service value<\/i><\/p>\n<p style=\"margin-left:22%;\">Sets the TTL (time-to-live) for positive entries (successful queries) in the specified cache for <i>service<\/i>. <i>Value<\/i> is in seconds. Larger values increase cache hit rates and reduce mean response times, but increase problems with cache coherence.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>negative\u2212time\u2212to\u2212live<\/b> <i>service value<\/i><\/p>\n<p style=\"margin-left:22%;\">Sets the TTL (time-to-live) for negative entries (unsuccessful queries) in the specified cache for <i>service<\/i>. <i>Value<\/i> is 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.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>suggested\u2212size<\/b> <i>service value<\/i><\/p>\n<p style=\"margin-left:22%;\">This is the internal hash table size, <i>value<\/i> should remain a prime number for optimum efficiency. The default is 211.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>check\u2212files<\/b> <i>service <yes|no><\/i><\/p>\n<p style=\"margin-left:22%;\">Enables or disables checking the file belonging to the specified <i>service<\/i> for changes. The files are <i>\/etc\/passwd<\/i>, <i>\/etc\/group<\/i>, <i>\/etc\/hosts<\/i>, <i>\/etc\/services<\/i>, and <i>\/etc\/netgroup<\/i>. The default is yes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>persistent<\/b> <i>service <yes|no><\/i><\/p>\n<p style=\"margin-left:22%;\">Keep the content of the cache for <i>service<\/i> over server restarts; useful when <b>paranoia<\/b> mode is set. The default is no.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>shared<\/b> <i>service <yes|no><\/i><\/p>\n<p style=\"margin-left:22%;\">The memory mapping of the nscd databases for <i>service<\/i> is 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.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>max\u2212db\u2212size<\/b> <i>service bytes<\/i><\/p>\n<p style=\"margin-left:22%;\">The maximum allowable size, in bytes, of the database files for the <i>service<\/i>. The default is 33554432.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>auto\u2212propagate<\/b> <i>service <yes|no><\/i><\/p>\n<p style=\"margin-left:22%;\">When set to <i>no<\/i> for <i>passwd<\/i> or <i>group<\/i> service, then the <i>.byname<\/i> requests are not added to <i>passwd.byuid<\/i> or <i>group.bygid<\/i> cache. This can help with tables containing multiple records for the same ID. The default is yes. This option is valid only for services <i>passwd<\/i> and <i>group<\/i>.<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The default values stated in this manual page originate from the source code of <b>nscd<\/b>(8) and are used if not overridden in the configuration file. The default values used in the configuration file of your distribution might differ.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nscd<\/b>(8)<\/p>\n<h2>COLOPHON <a name=\"COLOPHON\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This page is part of release 5.10 of the Linux <i>man-pages<\/i> project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https:\/\/www.kernel.org\/doc\/man\u2212pages\/.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  nscd.conf \u2212 name service cache daemon configuration file <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1291,702],"class_list":["post-4417","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-nscd"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4417"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4417\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}