OSDN Git Service

09bffd4c9fd8f6393a78274a05fafd5dcf2dc69e
[linuxjm/LDP_man-pages.git] / draft / man5 / nscd.conf.5
1 .\" -*- nroff -*-
2 .\" Copyright (c) 1999, 2000 SuSE GmbH Nuernberg, Germany
3 .\" Author: Thorsten Kukuk <kukuk@suse.de>
4 .\"
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.
9 .\"
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.
14 .\"
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.
19 .\"
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
24 .\"
25 .TH NSCD.CONF 5 1999-10-01 "GNU" "Linux Programmer's Manual"
26 .\"O .SH NAME
27 .SH 名前
28 .\"O /etc/nscd.conf \- name service cache daemon configuration file
29 /etc/nscd.conf \- ネームサービスキャッシュデーモンの設定ファイル
30 .\"O .SH DESCRIPTION
31 .SH 説明
32 .\"O The file
33 .\"O .I /etc/nscd.conf
34 .\"O is read from
35 .\"O .BR nscd (8)
36 .\"O at startup.
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.
44 .BR nscd (8)
45 は起動時にファイル
46 .I /etc/nscd.conf
47 を読み込む。
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 である。
54
55 .B logfile
56 .I debug-file-name
57 .RS
58 .\"O Specifies name of the file to which debug info should be written.
59 デバッグ情報が書き込まれるファイルの名前を指定する。
60 .RE
61
62 .B debug-level
63 .I value
64 .RS
65 .\"O Sets the desired debug level.
66 希望するデバッグレベルを設定する。
67 .RE
68
69 .B threads
70 .I number
71 .RS
72 .\"O This is the number of threads that are started to wait for
73 .\"O requests.
74 .\"O At least five threads will always be created.
75 スレッドをいくつ起動してリクエストを待つのかを指定する。
76 少なくとも 5 つのスレッドが常に作成される。
77 .RE
78
79 .B server-user
80 .I user
81 .RS
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 このオプションは無視される。
89 .RE
90
91 .B enable-cache
92 .I service
93 .I <yes|no>
94 .RS
95 .\"O Enables or disables the specified
96 .\"O .I service
97 .\"O cache.
98 指定した
99 .I service
100 のキャッシュを有効または無効にする。
101 .RE
102
103 .B positive-time-to-live
104 .I service
105 .I value
106 .RS
107 .\"O Sets the TTL (time-to-live) for positive entries (successful queries)
108 .\"O in the specified cache for
109 .\"O .IR service .
110 .\"O .I Value
111 .\"O is in seconds.
112 .\"O Larger values increase cache hit rates and reduce mean
113 .\"O response times, but increase problems with cache coherence.
114 指定した
115 .I service
116 のキャッシュにあるポジティブエントリ (成功した問い合わせ) の
117 TTL (time-to-live) を設定する。
118 .I value
119 の単位は秒である。
120 値を大きくすると、ヒット率が高くなり平均応答時間を短くできるが、
121 キャッシュのコヒーレンス (coherence,
122 キャッシュが実際のデータと一致していること) に問題が生じる。
123 .RE
124
125 .B negative-time-to-live
126 .I service
127 .I value
128 .RS
129 .\"O Sets the TTL (time-to-live) for negative entries (unsuccessful queries)
130 .\"O in the specified cache for
131 .\"O .IR service .
132 .\"O .I Value
133 .\"O is in seconds.
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.
138 指定した
139 .I service
140 のキャッシュにあるネガティブエントリ (失敗した問い合わせ) の
141 TTL (time-to-live) を設定する。
142 .I value
143 の単位は秒である。
144 システムデータベースにない UID (ユーザーID) で所有されるファイル
145 (たとえば root で tar を展開した linux カーネルのソース) が少ないと、
146 顕著な性能の向上が見られる。
147 キャッシュのコヒーレンス問題を少なくするために小さな値にすべきである。
148 .RE
149
150 .B suggested-size
151 .I service
152 .I value
153 .RS
154 .\"O This is the internal hash table size,
155 .\"O .I value
156 .\"O should remain a prime number for optimum efficiency.
157 内部ハッシュテーブルの大きさを指定する。
158 効率を最適にするために
159 .I value
160 は素数にしておくべきである。
161 .RE
162
163 .B check-files
164 .I service
165 .I <yes|no>
166 .RS
167 .\"O Enables or disables checking the file belonging to the specified
168 .\"O .I service
169 .\"O for changes.
170 .\"O The files are
171 .\"O .IR /etc/passwd ,
172 .\"O .IR /etc/group ,
173 .\"O and
174 .\"O .IR /etc/hosts .
175 指定した
176 .I service
177 に関連するファイルの変更のチェックを有効または無効にする。
178 ファイルは
179 .IR /etc/passwd ,
180 .IR /etc/group ,
181 .I /etc/hosts
182 である。
183 .RE
184
185 .B max-threads
186 .I threads
187 .RS
188 .\"O Specifies the maximum number of threads to be started.
189 開始するスレッドの最大数を指定する。
190 .RE
191
192 .B stat-user
193 .I username
194 .RS
195 .\"O Specifies the user who is allowed to request statistics.
196 統計情報の参照を許可するユーザを指定する。
197 .RE
198
199 .B reload-count
200 unlimited |
201 .I number
202 .RS
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 削除される前に何回リロードされるかを設定する。
208 .RE
209
210 .B paranoia
211 .I <yes|no>
212 .RS
213 .\"O Enabling paranoia mode causes nscd to restart itself periodically.
214 パラノイアモードを有効にする。
215 パラノイアモードでは nscd を定期的に再起動する。
216 .RE
217
218 .B restart-interval
219 .I time
220 .RS
221 .\"O Sets the restart interval to
222 .\"O .I time
223 .\"O seconds
224 .\"O if periodic restart is enabled by enabling
225 .\"O .B paranoia
226 .\"O mode.
227 パラノイアモードが有効で定期的に再起動する場合の、
228 再起動間隔を
229 .I time
230 秒に設定する。
231 .RE
232
233 .B persistent
234 .I service
235 .I <yes|no>
236 .RS
237 .\"O Keep the content of the cache for
238 .\"O .I service
239 .\"O over server restarts; useful when
240 .\"O .B paranoia
241 .\"O mode is set.
242 サーバの再起動の前後で
243 .I service
244 のキャッシュ内容を保持する。
245 .B paranoia
246 モードが有効の場合に便利である。
247 .RE
248
249 .B shared
250 .I service
251 .I <yes|no>
252 .RS
253 .\"O The memory mapping of the nscd databases for
254 .\"O .I service
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.
258 .I service
259 の nscd データベースのメモリ・マッピングをクライアント間で共有する。
260 これにより、検索を実行する度にソケット経由でデーモンに問い合わせを
261 行わずに、直接データベースを検索できるようになる。
262 .RE
263 .\"O .SH "SEE ALSO"
264 .SH 関連項目
265 .BR nscd (8)
266 .\"O .\" .SH AUTHOR
267 .\" .SH 著者
268 .\"O .\" .B nscd
269 .\"O .\" was written by Thorsten Kukuk and Ulrich Drepper.
270 .\" .B nscd
271 .\" は Thorsten Kukuk と Ulrich Drepper によって書かれた。