gethostid: Do not include alloca.h
[glibc.git] / nscd / nscd.conf
blob487ffe461d7c6ceea91792cfb3b4922eb006ed8e
2 # /etc/nscd.conf
4 # An example Name Service Cache config file.  This file is needed by nscd.
6 # WARNING: Running nscd with a secondary caching service like sssd may lead to
7 #          unexpected behaviour, especially with how long entries are cached.
9 # Legal entries are:
11 #       logfile                 <file>
12 #       debug-level             <level>
13 #       threads                 <initial #threads to use>
14 #       max-threads             <maximum #threads to use>
15 #       server-user             <user to run server as instead of root>
16 #               server-user is ignored if nscd is started with -S parameters
17 #       stat-user               <user who is allowed to request statistics>
18 #       reload-count            unlimited|<number>
19 #       paranoia                <yes|no>
20 #       restart-interval        <time in seconds>
22 #       enable-cache            <service> <yes|no>
23 #       positive-time-to-live   <service> <time in seconds>
24 #       negative-time-to-live   <service> <time in seconds>
25 #       suggested-size          <service> <prime number>
26 #       check-files             <service> <yes|no>
27 #       persistent              <service> <yes|no>
28 #       shared                  <service> <yes|no>
29 #       NOTE: Setting 'shared' to a value of 'yes' will accelerate the lookup,
30 #             but those lookups will not be counted as cache hits
31 #             i.e. 'nscd -g' may show '0%'.
32 #       max-db-size             <service> <number bytes>
33 #       auto-propagate          <service> <yes|no>
35 # Currently supported cache names (services): passwd, group, hosts, services
39 #       logfile                 /var/log/nscd.log
40 #       threads                 4
41 #       max-threads             32
42 #       server-user             nobody
43 #       stat-user               somebody
44         debug-level             0
45 #       reload-count            5
46         paranoia                no
47 #       restart-interval        3600
49         enable-cache            passwd          yes
50         positive-time-to-live   passwd          600
51         negative-time-to-live   passwd          20
52         suggested-size          passwd          211
53         check-files             passwd          yes
54         persistent              passwd          yes
55         shared                  passwd          yes
56         max-db-size             passwd          33554432
57         auto-propagate          passwd          yes
59         enable-cache            group           yes
60         positive-time-to-live   group           3600
61         negative-time-to-live   group           60
62         suggested-size          group           211
63         check-files             group           yes
64         persistent              group           yes
65         shared                  group           yes
66         max-db-size             group           33554432
67         auto-propagate          group           yes
69         enable-cache            hosts           yes
70         positive-time-to-live   hosts           3600
71         negative-time-to-live   hosts           20
72         suggested-size          hosts           211
73         check-files             hosts           yes
74         persistent              hosts           yes
75         shared                  hosts           yes
76         max-db-size             hosts           33554432
78         enable-cache            services        yes
79         positive-time-to-live   services        28800
80         negative-time-to-live   services        20
81         suggested-size          services        211
82         check-files             services        yes
83         persistent              services        yes
84         shared                  services        yes
85         max-db-size             services        33554432
87         enable-cache            netgroup        yes
88         positive-time-to-live   netgroup        28800
89         negative-time-to-live   netgroup        20
90         suggested-size          netgroup        211
91         check-files             netgroup        yes
92         persistent              netgroup        yes
93         shared                  netgroup        yes
94         max-db-size             netgroup        33554432