4 # An example Name Service Cache config file. This file is needed by nscd.
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>
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-size <service> <number bytes>
27 # auto-propagate <service> <yes|no>
29 # Currently supported cache names (services): passwd, group, hosts, services
33 # logfile /var/log/nscd.log
41 # restart-interval 3600
43 enable-cache passwd yes
44 positive-time-to-live passwd 600
45 negative-time-to-live passwd 20
46 suggested-size passwd 211
47 check-files passwd yes
50 max-db-size passwd 33554432
51 auto-propagate passwd yes
53 enable-cache group yes
54 positive-time-to-live group 3600
55 negative-time-to-live group 60
56 suggested-size group 211
60 max-db-size group 33554432
61 auto-propagate group yes
63 enable-cache hosts yes
64 positive-time-to-live hosts 3600
65 negative-time-to-live hosts 20
66 suggested-size hosts 211
70 max-db-size hosts 33554432
72 enable-cache services yes
73 positive-time-to-live services 28800
74 negative-time-to-live services 20
75 suggested-size services 211
76 check-files services yes
77 persistent services yes
79 max-db-size services 33554432
81 enable-cache netgroup yes
82 positive-time-to-live netgroup 28800
83 negative-time-to-live netgroup 20
84 suggested-size netgroup 211
85 check-files netgroup yes
86 persistent netgroup yes
88 max-db-size netgroup 33554432