[BZ #1535]
[glibc.git] / nscd / nscd.conf
blob9491e1647232ac9b2346504c4ac5129267ecb83a
2 # /etc/nscd.conf
4 # An example Name Service Cache config file.  This file is needed by nscd.
6 # Legal entries are:
8 #       logfile                 <file>
9 #       debug-level             <level>
10 #       threads                 <initial #threads to use>
11 #       max-threads             <maximum #threads to use>
12 #       server-user             <user to run server as instead of root>
13 #               server-user is ignored if nscd is started with -S parameters
14 #       stat-user               <user who is allowed to request statistics>
15 #       reload-count            unlimited|<number>
16 #       paranoia                <yes|no>
17 #       restart-interval        <time in seconds>
19 #       enable-cache            <service> <yes|no>
20 #       positive-time-to-live   <service> <time in seconds>
21 #       negative-time-to-live   <service> <time in seconds>
22 #       suggested-size          <service> <prime number>
23 #       check-files             <service> <yes|no>
24 #       persistent              <service> <yes|no>
25 #       shared                  <service> <yes|no>
26 #       max-db-szie             <service> <number bytes>
28 # Currently supported cache names (services): passwd, group, hosts
32 #       logfile                 /var/log/nscd.log
33 #       threads                 6
34 #       max-threads             128
35 #       server-user             nobody
36 #       stat-user               somebody
37         debug-level             0
38 #       reload-count            5
39         paranoia                no
40 #       restart-interval        3600
42         enable-cache            passwd          yes
43         positive-time-to-live   passwd          600
44         negative-time-to-live   passwd          20
45         suggested-size          passwd          211
46         check-files             passwd          yes
47         persistent              passwd          yes
48         shared                  passwd          yes
49         max-db-size             passwd          33554432
51         enable-cache            group           yes
52         positive-time-to-live   group           3600
53         negative-time-to-live   group           60
54         suggested-size          group           211
55         check-files             group           yes
56         persistent              group           yes
57         shared                  group           yes
58         max-db-size             group           33554432
60         enable-cache            hosts           yes
61         positive-time-to-live   hosts           3600
62         negative-time-to-live   hosts           20
63         suggested-size          hosts           211
64         check-files             hosts           yes
65         persistent              hosts           yes
66         shared                  hosts           yes
67         max-db-size             hosts           33554432