Thread View: news.software.nntp
16 messages
16 total messages
Started by Rich Skrenta
Sun, 24 Dec 2000 18:57
INN newsfeeds file question
Author: Rich Skrenta
Date: Sun, 24 Dec 2000 18:57
Date: Sun, 24 Dec 2000 18:57
12 lines
1296 bytes
1296 bytes
Is it legal to have two lines in newsfeeds for the same innfeed host, in order to create an "or" in the fed article selection logic? In other words, suppose I want to send every locally posted article in any group or hierarchy to a host, as well as any articles in comp.foo.*. Can I have two entries in newsfeeds to construct this "or": news.host.net:!control*/!local:Tm,H2:innfeed! news.host.net:!*,comp.foo.*/!local:Tm:innfeed! or will something bad happen. ;-)
Re: INN newsfeeds file question
Author: Russ Allbery
Date: Mon, 25 Dec 2000 03:25
Date: Mon, 25 Dec 2000 03:25
31 lines
1972 bytes
1972 bytes
Rich Skrenta <skrenta@textport.net> writes:
> Is it legal to have two lines in newsfeeds for the same innfeed host, in
> order to create an "or" in the fed article selection logic?
No.
> In other words, suppose I want to send every locally posted article in
> any group or hierarchy to a host, as well as any articles in comp.foo.*.
> Can I have two entries in newsfeeds to construct this "or":
> news.host.net:!control*/!local:Tm,H2:innfeed!
> news.host.net:!*,comp.foo.*/!local:Tm:innfeed!
> or will something bad happen. ;-)
I think one of them will just be ignored, or you may get a syntax error.
The way I do this is to set up two feeds with path aliases to make sure
that not refeeding still works.
host-local/news.host.net:!control*/!local:Ap,Tm,H2:innfeed!
host/news.host.net:!*,comp.foo.*/!local:Ap,Tm:innfeed!
The Ap tells INN to ignore "host" and "host-local" for Path exclusions and
only exclude news.host.net. Note that you then need to set up entries for
host and host-local in innfeed.conf so that it knows what host to feed.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN newsfeeds file question
Author: Rich Skrenta
Date: Mon, 25 Dec 2000 04:08
Date: Mon, 25 Dec 2000 04:08
15 lines
1532 bytes
1532 bytes
Russ Allbery <rra@stanford.edu> writes: > I think one of them will just be ignored, or you may get a syntax error. No syntax error, and stuff is going out, so it must be just ignoring one. > The Ap tells INN to ignore "host" and "host-local" for Path exclusions and > only exclude news.host.net. Note that you then need to set up entries for > host and host-local in innfeed.conf so that it knows what host to feed. Should I split the number of outgoing connections for each of these between the total number of incoming connections allowed for the host? Could this run into any problems if the target host was set to only allow one incoming connection at a time?
Re: INN newsfeeds file question
Author: Russ Allbery
Date: Mon, 25 Dec 2000 05:28
Date: Mon, 25 Dec 2000 05:28
18 lines
1571 bytes
1571 bytes
Rich Skrenta <skrenta@textport.net> writes: > Should I split the number of outgoing connections for each of these > between the total number of incoming connections allowed for the host? The comp.foo.* is likely to only use one connection, so I'd give it one connection and then give the other feed the others. > Could this run into any problems if the target host was set to only > allow one incoming connection at a time? Yeah, unfortunately. In that case, what I generally do is switch to using nntpsend/innxmit for that feed (since you're not feeding them that much, that will probably work fine). -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN newsfeeds file question
Author: Rich Skrenta
Date: Mon, 25 Dec 2000 05:53
Date: Mon, 25 Dec 2000 05:53
11 lines
1327 bytes
1327 bytes
Russ Allbery <rra@stanford.edu> writes: > The comp.foo.* is likely to only use one connection, This brings up something else I've been wondering -- what governs the number of connections innfeed decides to use? I can't discern any correlation between my configuration for outgoing feeds and the number of connections innfeed seems to want to use. Some of my incoming feeds get by with a few connections, while one hovers around 9, but sometimes spikes up over 12.
Re: INN newsfeeds file question
Author: Russ Allbery
Date: Mon, 25 Dec 2000 06:00
Date: Mon, 25 Dec 2000 06:00
34 lines
2401 bytes
2401 bytes
Rich Skrenta <skrenta@textport.net> writes:
> Russ Allbery <rra@stanford.edu> writes:
>> The comp.foo.* is likely to only use one connection,
> This brings up something else I've been wondering -- what governs the
> number of connections innfeed decides to use? I can't discern any
> correlation between my configuration for outgoing feeds and the number
> of connections innfeed seems to want to use. Some of my incoming feeds
> get by with a few connections, while one hovers around 9, but sometimes
> spikes up over 12.
See the innfeed.conf man page under dynamic method. It's complicated.
I'm also fairly unconvinced that it really works all that well in
practice. I tend to configure innfeed with parameters like:
dynamic-method: 0
min-queue-connection: true
close-period: 36000
which tells innfeed to open a number of connections equal to
max-connections and then distribute articles between all open connections
so that they go to the connection with the shortest queue length, only
closing connections if they're really complete idle. It also keeps
connections open for about a day before doing a periodic close and reopen.
This stops the "connection trashing" that I was seeing with innfeed a lot
earier, where it would open up more connections and then close them down
again a bit for being idle after only sending an article or two through
them.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN newsfeeds file question
Author: Rich Skrenta
Date: Wed, 27 Dec 2000 03:40
Date: Wed, 27 Dec 2000 03:40
13 lines
1196 bytes
1196 bytes
Russ Allbery <rra@stanford.edu> writes: > I tend to configure innfeed with parameters like: > > dynamic-method: 0 > min-queue-connection: true > close-period: 36000 What do you typically set for max-connections? Is fiddling with max-connections a reasonable way to bandwidth limit certain peers? -- Rich
Re: INN newsfeeds file question
Author: Russ Allbery
Date: Wed, 27 Dec 2000 11:23
Date: Wed, 27 Dec 2000 11:23
29 lines
2038 bytes
2038 bytes
Rich Skrenta <skrenta@textport.net> writes: > Russ Allbery <rra@stanford.edu> writes: >> I tend to configure innfeed with parameters like: >> dynamic-method: 0 >> min-queue-connection: true >> close-period: 36000 > What do you typically set for max-connections? I fiddle with it a bit, but I've built up an instinct for how many work well for different sizes of feeds. Usually about three for a feed of everything I carry. The most useful stat to look at in the innfeed status reports for tuning this is the "no queue" count; if practically every article went through without being put in a queue, you can try reducing the number of connections by one and see if that's still true. I try to keep my feeds at the point where most articles don't have to be queued. > Is fiddling with max-connections a reasonable way to bandwidth limit > certain peers? Kinda but not really. You can push somewhat more bandwidth by using multiple feeds, but dropping to one feed doesn't really limit the bandwidth as much as you might want. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN newsfeeds file question
Author: Kai Henningsen
Date: Thu, 28 Dec 2000 22:25
Date: Thu, 28 Dec 2000 22:25
18 lines
1607 bytes
1607 bytes
rra@stanford.edu (Russ Allbery) wrote on 24.12.00 in <ylwvcpchbv.fsf@windlord.stanford.edu>:
> Rich Skrenta <skrenta@textport.net> writes:
>
> > Is it legal to have two lines in newsfeeds for the same innfeed host, in
> > order to create an "or" in the fed article selection logic?
>
> No.
I'm pretty sure someone said "yes". Ah yes, man newsfeeds does claim that
it's legal ("The same /sitename/ can be used more than once").
Kai
--
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
- Russ Allbery (rra@stanford.edu)
Re: INN newsfeeds file question
Author: bill davidsen
Date: Tue, 09 Jan 2001 00:00
Date: Tue, 09 Jan 2001 00:00
24 lines
2149 bytes
2149 bytes
In article <7solHkz1w-B@khms.westfalen.de>,
Kai Henningsen <kaih=7solHkz1w-B@khms.westfalen.de> wrote:
| rra@stanford.edu (Russ Allbery) wrote on 24.12.00 in <ylwvcpchbv.fsf@windlord.stanford.edu>:
|
| > Rich Skrenta <skrenta@textport.net> writes:
| >
| > > Is it legal to have two lines in newsfeeds for the same innfeed host, in
| > > order to create an "or" in the fed article selection logic?
| >
| > No.
|
| I'm pretty sure someone said "yes". Ah yes, man newsfeeds does claim that
| it's legal ("The same /sitename/ can be used more than once").
So is this legal or not? I thought the site stuff was initialized in
the parse, but I don't see it happening in the code, so ???
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
The line from the immutable past to the desired future is useful to
justify continuing to tack into the wind, making a major change in
course, or coasting into safe harbor. It is not a map of where you are
going, just how to get where you want to go.
Re: INN newsfeeds file question
Author: Russ Allbery
Date: Tue, 09 Jan 2001 01:16
Date: Tue, 09 Jan 2001 01:16
14 lines
1499 bytes
1499 bytes
bill davidsen <davidsen@tmr.com> writes:
> Kai Henningsen <kaih=7solHkz1w-B@khms.westfalen.de> wrote:
> | I'm pretty sure someone said "yes". Ah yes, man newsfeeds does claim that
> | it's legal ("The same /sitename/ can be used more than once").
> So is this legal or not? I thought the site stuff was initialized in the
> parse, but I don't see it happening in the code, so ???
I think it's legal but not a good idea.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN newsfeeds file question
Author: bill davidsen
Date: Tue, 09 Jan 2001 18:29
Date: Tue, 09 Jan 2001 18:29
19 lines
1857 bytes
1857 bytes
In article <yln1d1sexj.fsf@windlord.stanford.edu>,
Russ Allbery <rra@stanford.edu> wrote:
| bill davidsen <davidsen@tmr.com> writes:
| > Kai Henningsen <kaih=7solHkz1w-B@khms.westfalen.de> wrote:
|
| > | I'm pretty sure someone said "yes". Ah yes, man newsfeeds does claim that
| > | it's legal ("The same /sitename/ can be used more than once").
|
| > So is this legal or not? I thought the site stuff was initialized in the
| > parse, but I don't see it happening in the code, so ???
|
| I think it's legal but not a good idea.
So many things in life are that way ;-)
--
Bill Davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
Re: INN newsfeeds file question
Author: Bettina Fink
Date: Tue, 09 Jan 2001 19:29
Date: Tue, 09 Jan 2001 19:29
8 lines
1030 bytes
1030 bytes
bill davidsen <davidsen@tmr.com> wrote: >> I think it's legal but not a good idea. > > So many things in life are that way ;-) Oh, I thought it's exactly the other way round. ;-)
Re: INN newsfeeds file question
Author: Charlie Mootpoint
Date: Tue, 09 Jan 2001 22:46
Date: Tue, 09 Jan 2001 22:46
14 lines
2041 bytes
2041 bytes
"Bettina Fink" <laura@hydrophil.de> skrev i en nyhedsmeddelelse:93foql$ctg$1@krell.zikzak.de... :: >> I think it's legal but not a good idea. :: > So many things in life are that way ;-) :: :: Oh, I thought it's exactly the other way round. ;-) That's because you are in Germany. ;-) Es ist alles verboten, was nicht ausdr�cklich erlaubt ist. Besonders wenn es 'ne gute Idee ist. In [insert country name here] ist alles erlaubt, was nicht verboten ist. In Frankreich ist alles erlaubt, und auch wenn es verboten ist. In Russland ist alles verboten, auch wenn's erlaubt ist.
Re: INN newsfeeds file question
Author: Bettina Fink
Date: Tue, 09 Jan 2001 23:46
Date: Tue, 09 Jan 2001 23:46
19 lines
1798 bytes
1798 bytes
Charlie Mootpoint <autocyberretributionmeowbot@plonk.invalid> wrote: > :: >> I think it's legal but not a good idea. > :: > So many things in life are that way ;-) > :: > :: Oh, I thought it's exactly the other way round. ;-) > > That's because you are in Germany. ;-) "It's illegal but it's a good idea. So weigh up risk and fun." ;-) > Es ist alles verboten, was nicht ausdr�cklich erlaubt ist. Besonders > wenn es 'ne gute Idee ist. Naah, it's not _that_ extreme. But I agree that sometimes you can get that impression ... But overall it's a nice place. F'up
Re: INN newsfeeds file question
Author: Victor Sudakov
Date: Wed, 10 Jan 2001 17:35
Date: Wed, 10 Jan 2001 17:35
14 lines
2034 bytes
2034 bytes
Charlie Mootpoint <autocyberretributionmeowbot@plonk.invalid> wrote: > That's because you are in Germany. ;-) Es ist alles verboten, was nicht > ausdr�cklich erlaubt ist. Besonders wenn es 'ne gute Idee ist. > In [insert country name here] ist alles erlaubt, was nicht verboten ist. > In Frankreich ist alles erlaubt, und auch wenn es verboten ist. > In Russland ist alles verboten, auch wenn's erlaubt ist. Nein, in Russland ist alles verboten, doch wenn man heiss will, ist alles erlaubt. :-) -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/149@fidonet http://vas.tomsk.ru/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads