chiark / gitweb /
check fd watches; other bugfixes
[inn-innduct.git] / samples / innfeed.conf
1 # $Revision: 7559 $
2 #
3 # Sample innfeed config file. See the comment block at the
4 # end for a fuller description of the format, and innfeed.conf(5) for a
5 # description of the entries.
6 #
7
8 ##
9 ## Global values. Not specific to any peer. These are optional, but if
10 ## used will override the compiled in values.
11 ##
12
13 pid-file:                       innfeed.pid             # relative to pathrun
14 debug-level:                    0
15 use-mmap:                       false
16 log-file:                       innfeed.log             # relative to pathlog
17 stdio-fdmax:                    0
18
19 ## Uncomment the next line to include the contents
20 ## of ``testfile'' at this point.
21
22 #$INCLUDE testfile
23
24 backlog-directory:              innfeed                 # relative to pathspool
25 backlog-rotate-period:          60
26 backlog-ckpt-period:            30
27 backlog-newfile-period:         600
28
29 dns-retry:                      900
30 dns-expire:                     86400
31 close-period:                   86400
32 gen-html:                       false
33 status-file:                    innfeed.status          # relative to pathlog
34 connection-stats:               false
35 host-queue-highwater:           200
36 stats-period:                   600
37 stats-reset:                    43200
38
39 max-reconnect-time:             3600
40 initial-reconnect-time:         30
41
42
43 ##
44 ## Defaults for all peers. These must all exist at
45 ## global scope. Any of them can be redefined
46 ## inside a peer or group definition.
47 ##
48
49 article-timeout:                600
50 response-timeout:               300
51 initial-connections:            1
52 max-connections:                5
53 max-queue-size:                 5
54 streaming:                      true
55 no-check-high:                  95.0
56 no-check-low:                   90.0
57 no-check-filter:                50.0
58 port-number:                    119
59 force-ipv4:                     false
60 drop-deferred:                  false
61 min-queue-connection:           false
62 backlog-limit:                  0
63 backlog-factor:                 1.10
64 backlog-limit-highwater:        0
65 dynamic-method:                 3
66 dynamic-backlog-filter:         0.7
67 dynamic-backlog-low:            25.0
68 dynamic-backlog-high:           50.0
69 no-backlog:                     false
70 backlog-feed-first:             false
71
72 ##
73 ## Peers. 
74 ##
75 #peer decwrl {
76 #        ip-name:                news1.pa.dec.com
77 #}
78
79 #peer uunet {
80 #        ip-name:                news.uunet.uu.net
81 #        max-connections:        10
82 #}
83
84
85 ##
86 ## Group peers together to give second level defaults.
87 ## 
88 #group fast-sites {
89 #       max-connections: 7
90 #
91 #       peer data.ramona.vix.com {
92 #               # ip-name defaults to data.ramona.vix.com
93 #               streaming:              false
94 #       }
95 #
96 #       peer bb.home.vix.com {
97 #               ip-name:        192.5.5.33
98 #       }
99 #}
100
101
102
103 # Blank lines are ignored. Exerything after a '#'
104 # is ignored too.
105 #
106 # Format is:
107 #               key : value
108 #
109 # See innfeed.conf(5) for a description of
110 # necessary & useful keys. Unknown keys and their
111 # values are ignored.
112 #
113 # Values may be a integer, floating-point, c-style
114 # single-quoted characters, boolean, and strings.
115 #
116 # If a string value contains whitespace, or
117 # embedded quotes, or the comment character
118 # (``#''), then the whole string must be quoted
119 # with double quotes.  Inside the quotes, you may
120 # use the standard c-escape sequence
121 # (\t,\n,\r,\f,\v,\",\').
122 #
123 # Examples:
124 #       eg-string:      "New\tConfig\tfile\n"
125 #       eg-long-string: "A long string that goes
126 #                       over multiple lines. The
127 #                       newline is kept in the
128 #                       string except when quoted 
129 #                       with a backslash \
130 #                       as here."
131 #       eg-simple-string: A-no-quote-string
132 #       eg-integer:     10
133 #       eg-boolean:     true
134 #       eg-char:        'a'
135 #       eg-ctrl-g:      '\007'