2 .\" Copyright (c) 1999, 2000 SuSE GmbH Nuernberg, Germany
3 .\" Author: Thorsten Kukuk <kukuk@suse.de>
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 program; see the file COPYING. If not,
17 .\" write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 .\" Boston, MA 02111-1307, USA.
20 .\" Japanese Version Copyright (c) 2001 Yuichi SATO
21 .\" all rights reserved.
22 .\" Translated 2001-06-09, Yuichi SATO <ysato@h4.dion.ne.jp>
23 .\" Updated 2006-07-19, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.36
25 .TH NSCD.CONF 5 1999-10-01 "GNU" "Linux Programmer's Manual"
28 .\"O /etc/nscd.conf \- name service cache daemon configuration file
29 /etc/nscd.conf \- ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥å¥Ç¡¼¥â¥ó¤ÎÀßÄê¥Õ¥¡¥¤¥ë
33 .\"O .I /etc/nscd.conf
37 .\"O Each line specifies either an attribute and a value, or an
38 .\"O attribute, service, and a value.
39 .\"O Fields are separated either by SPACE
40 .\"O or TAB characters.
41 .\"O A \(aq#\(aq (number sign) indicates the beginning of a
42 .\"O comment; following characters, up to the end of the line,
43 .\"O are not interpreted by nscd.
48 ³Æ¹Ô¤Ë¤Ï¡Ö°À¡¦Ã͡פޤ¿¤Ï¡Ö°À¡¦¥µ¡¼¥Ó¥¹¡¦Ã͡פò»ØÄꤹ¤ë¡£
49 ¥Õ¥£¡¼¥ë¥É¤Ï¥¹¥Ú¡¼¥¹Ê¸»ú¤Þ¤¿¤Ï¥¿¥Öʸ»ú¤Ç¶èÀÚ¤é¤ì¤ë¡£
50 \(aq#\(aq (¥Ê¥ó¥Ð¡¼µ¹æ) ¤Ï¥³¥á¥ó¥È¤Î»Ï¤Þ¤ê¤òɽ¤¹¡£
51 ¤³¤Îµ¹æ¤«¤é¹ÔËö¤Þ¤Ç¤Ï nscd ¤Ë¤è¤Ã¤Æ²ò¼á¤µ¤ì¤Ê¤¤¡£
52 .\"O Valid services are \fIpasswd\fP, \fIgroup\fP, or \fIhosts\fP.
53 »ØÄê²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Ï \fIpasswd\fP, \fIgroup\fP, \fIhosts\fP ¤Ç¤¢¤ë¡£
58 .\"O Specifies name of the file to which debug info should be written.
59 ¥Ç¥Ð¥Ã¥°¾ðÊ󤬽ñ¤¹þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¡£
65 .\"O Sets the desired debug level.
66 ´õ˾¤¹¤ë¥Ç¥Ð¥Ã¥°¥ì¥Ù¥ë¤òÀßÄꤹ¤ë¡£
72 .\"O This is the number of threads that are started to wait for
74 .\"O At least five threads will always be created.
75 ¥¹¥ì¥Ã¥É¤ò¤¤¤¯¤Äµ¯Æ°¤·¤Æ¥ê¥¯¥¨¥¹¥È¤òÂԤĤΤ«¤ò»ØÄꤹ¤ë¡£
76 ¾¯¤Ê¤¯¤È¤â 5 ¤Ä¤Î¥¹¥ì¥Ã¥É¤¬¾ï¤ËºîÀ®¤µ¤ì¤ë¡£
82 .\"O If this option is set, nscd will run as this user and not as root.
83 .\"O If a separate cache for every user is used (\-S parameter), this
84 .\"O option is ignored.
85 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤ë¤È¡¢
86 nscd ¤Ï root ¤Ç¤Ï¤Ê¤¯¡¢¤³¤Î user ¤È¤·¤Æ¼Â¹Ô¤µ¤ì¤ë¡£
87 (\-S ¥Ñ¥é¥á¡¼¥¿¤Ë¤è¤ê) ³Æ¥æ¡¼¥¶¡¼Ëè¤ËÊÌ¡¹¤Î¥¥ã¥Ã¥·¥å¤¬»È¤ï¤ì¤ë¾ì¹ç¡¢
88 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï̵»ë¤µ¤ì¤ë¡£
95 .\"O Enables or disables the specified
100 ¤Î¥¥ã¥Ã¥·¥å¤ò͸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤¹¤ë¡£
103 .B positive-time-to-live
107 .\"O Sets the TTL (time-to-live) for positive entries (successful queries)
108 .\"O in the specified cache for
112 .\"O Larger values increase cache hit rates and reduce mean
113 .\"O response times, but increase problems with cache coherence.
116 ¤Î¥¥ã¥Ã¥·¥å¤Ë¤¢¤ë¥Ý¥¸¥Æ¥£¥Ö¥¨¥ó¥È¥ê (À®¸ù¤·¤¿Ì䤤¹ç¤ï¤») ¤Î
117 TTL (time-to-live) ¤òÀßÄꤹ¤ë¡£
120 ÃͤòÂ礤¯¤¹¤ë¤È¡¢¥Ò¥Ã¥ÈΨ¤¬¹â¤¯¤Ê¤êÊ¿¶Ñ±þÅú»þ´Ö¤òû¤¯¤Ç¤¤ë¤¬¡¢
121 ¥¥ã¥Ã¥·¥å¤Î¥³¥Ò¡¼¥ì¥ó¥¹ (coherence,
122 ¥¥ã¥Ã¥·¥å¤¬¼ÂºÝ¤Î¥Ç¡¼¥¿¤È°ìÃפ·¤Æ¤¤¤ë¤³¤È) ¤ËÌäÂ꤬À¸¤¸¤ë¡£
125 .B negative-time-to-live
129 .\"O Sets the TTL (time-to-live) for negative entries (unsuccessful queries)
130 .\"O in the specified cache for
134 .\"O Can result in significant performance improvements if there
135 .\"O are several files owned by UIDs (user IDs) not in system databases (for
136 .\"O example untarring the linux kernel sources as root); should be kept small
137 .\"O to reduce cache coherency problems.
140 ¤Î¥¥ã¥Ã¥·¥å¤Ë¤¢¤ë¥Í¥¬¥Æ¥£¥Ö¥¨¥ó¥È¥ê (¼ºÇÔ¤·¤¿Ì䤤¹ç¤ï¤») ¤Î
141 TTL (time-to-live) ¤òÀßÄꤹ¤ë¡£
144 ¥·¥¹¥Æ¥à¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¤Ê¤¤ UID (¥æ¡¼¥¶¡¼ID) ¤Ç½êͤµ¤ì¤ë¥Õ¥¡¥¤¥ë
145 (¤¿¤È¤¨¤Ð root ¤Ç tar ¤òŸ³«¤·¤¿ linux ¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹) ¤¬¾¯¤Ê¤¤¤È¡¢
146 ¸²Ãø¤ÊÀǽ¤Î¸þ¾å¤¬¸«¤é¤ì¤ë¡£
147 ¥¥ã¥Ã¥·¥å¤Î¥³¥Ò¡¼¥ì¥ó¥¹ÌäÂê¤ò¾¯¤Ê¤¯¤¹¤ë¤¿¤á¤Ë¾®¤µ¤ÊÃͤˤ¹¤Ù¤¤Ç¤¢¤ë¡£
154 .\"O This is the internal hash table size,
156 .\"O should remain a prime number for optimum efficiency.
157 ÆâÉô¥Ï¥Ã¥·¥å¥Æ¡¼¥Ö¥ë¤ÎÂ礤µ¤ò»ØÄꤹ¤ë¡£
158 ¸úΨ¤òºÇŬ¤Ë¤¹¤ë¤¿¤á¤Ë
160 ¤ÏÁÇ¿ô¤Ë¤·¤Æ¤ª¤¯¤Ù¤¤Ç¤¢¤ë¡£
167 .\"O Enables or disables checking the file belonging to the specified
171 .\"O .IR /etc/passwd ,
172 .\"O .IR /etc/group ,
174 .\"O .IR /etc/hosts .
177 ¤Ë´ØÏ¢¤¹¤ë¥Õ¥¡¥¤¥ë¤ÎÊѹ¹¤Î¥Á¥§¥Ã¥¯¤ò͸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤¹¤ë¡£
188 .\"O Specifies the maximum number of threads to be started.
189 ³«»Ï¤¹¤ë¥¹¥ì¥Ã¥É¤ÎºÇÂç¿ô¤ò»ØÄꤹ¤ë¡£
195 .\"O Specifies the user who is allowed to request statistics.
196 Åý·×¾ðÊó¤Î»²¾È¤òµö²Ä¤¹¤ë¥æ¡¼¥¶¤ò»ØÄꤹ¤ë¡£
203 .\"O Limit on the number of times a cached entry gets reloaded without being used
204 .\"O before it gets removed.
205 .\"O The default is 5.
206 ¥¥ã¥Ã¥·¥å¤µ¤ì¤¿¥¨¥ó¥È¥ê¤¬»ÈÍѤµ¤ì¤Ê¤«¤Ã¤¿¤È¤¤Ë¡¢
207 ºï½ü¤µ¤ì¤ëÁ°¤Ë²¿²ó¥ê¥í¡¼¥É¤µ¤ì¤ë¤«¤òÀßÄꤹ¤ë¡£
213 .\"O Enabling paranoia mode causes nscd to restart itself periodically.
214 ¥Ñ¥é¥Î¥¤¥¢¥â¡¼¥É¤ò͸ú¤Ë¤¹¤ë¡£
215 ¥Ñ¥é¥Î¥¤¥¢¥â¡¼¥É¤Ç¤Ï nscd ¤òÄê´üŪ¤ËºÆµ¯Æ°¤¹¤ë¡£
221 .\"O Sets the restart interval to
224 .\"O if periodic restart is enabled by enabling
227 ¥Ñ¥é¥Î¥¤¥¢¥â¡¼¥É¤¬Í¸ú¤ÇÄê´üŪ¤ËºÆµ¯Æ°¤¹¤ë¾ì¹ç¤Î¡¢
237 .\"O Keep the content of the cache for
239 .\"O over server restarts; useful when
242 ¥µ¡¼¥Ð¤ÎºÆµ¯Æ°¤ÎÁ°¸å¤Ç
244 ¤Î¥¥ã¥Ã¥·¥åÆâÍƤòÊÝ»ý¤¹¤ë¡£
246 ¥â¡¼¥É¤¬Í¸ú¤Î¾ì¹ç¤ËÊØÍø¤Ç¤¢¤ë¡£
253 .\"O The memory mapping of the nscd databases for
255 .\"O is shared with the clients so
256 .\"O that they can directly search in them instead of having to ask the
257 .\"O daemon over the socket each time a lookup is performed.
259 ¤Î nscd ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥á¥â¥ê¡¦¥Þ¥Ã¥Ô¥ó¥°¤ò¥¯¥é¥¤¥¢¥ó¥È´Ö¤Ç¶¦Í¤¹¤ë¡£
260 ¤³¤ì¤Ë¤è¤ê¡¢¸¡º÷¤ò¼Â¹Ô¤¹¤ëÅ٤˥½¥±¥Ã¥È·Ðͳ¤Ç¥Ç¡¼¥â¥ó¤ËÌ䤤¹ç¤ï¤»¤ò
261 ¹Ô¤ï¤º¤Ë¡¢Ä¾Àܥǡ¼¥¿¥Ù¡¼¥¹¤ò¸¡º÷¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ë¡£
269 .\"O .\" was written by Thorsten Kukuk and Ulrich Drepper.
271 .\" ¤Ï Thorsten Kukuk ¤È Ulrich Drepper ¤Ë¤è¤Ã¤Æ½ñ¤«¤ì¤¿¡£