Thread View: news.software.nntp
12 messages
12 total messages
Started by Xavier Roche
Wed, 08 Dec 2004 07:51
Why is 'enableoverview: false' in INN impossible with readers ?
Author: Xavier Roche
Date: Wed, 08 Dec 2004 07:51
Date: Wed, 08 Dec 2004 07:51
19 lines
2168 bytes
2168 bytes
Hi folks, I was wondering why setting 'enableoverview: false' in inn.conf was incompatible with readers ? (man inn.conf: "If set to false, INN will run much faster, but reading news from the system will be impossible" - and that's perfectly true: setting this parameter to false prevent from successfully logging on the server - with a 'enableoverview is not true'/'503 NNTP server unavailable. Try later.' message) As far as I can see, the overview contains the message index, subject, author, date, message-id, number of lines and xref. This is potentially quite useful for XOVER commands, but why is it required for normal server running ? Even XOVER could run by fetching messages one by one, and extracting relevant information (much slower, but it would work). Overview is (doesn't seems to be, AFAIKS) not used as hash index for storage, hence 'ARTICLE XXX' and 'POST' do not seems to require it ? Any clue would be welcome!
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Klaus Ellegaard
Date: Wed, 08 Dec 2004 08:17
Date: Wed, 08 Dec 2004 08:17
19 lines
1832 bytes
1832 bytes
Xavier Roche <xroche@free.fr.NOSPAM.invalid> writes: >As far as I can see, the overview contains the message index, subject, >author, date, message-id, number of lines and xref. This is potentially >quite useful for XOVER commands, but why is it required for normal >server running ? INN does not keep track of which newsgroups the articles belong to when overview is disabled. The server would have to traverse the entire spool for every "LIST" command issued unless overview is available. If the user issues an "ARTICLE 42" right after the "LIST" command, the server would have to traverse the entire spool again - or at least up until it finds the 42nd article in the group. In other words, no overview => no reading. Unless you limit yourself to using "ARTICLE <msgid>" and "POST". /Klaus.
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Xavier Roche
Date: Wed, 08 Dec 2004 08:57
Date: Wed, 08 Dec 2004 08:57
7 lines
1576 bytes
1576 bytes
Klaus Ellegaard wrote: > INN does not keep track of which newsgroups the articles belong to > when overview is disabled. Okay, now it makes sense. Too bad that overview can not be tuned to be "minimalistic" (that is, no Xref, no subject, no author and date) to spare disk and CPU.
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: F. Senault
Date: Wed, 08 Dec 2004 09:27
Date: Wed, 08 Dec 2004 09:27
22 lines
2006 bytes
2006 bytes
Le 08 décembre à 09:57, Xavier Roche a écrit : > Klaus Ellegaard wrote: >> INN does not keep track of which newsgroups the articles belong to >> when overview is disabled. > > Okay, now it makes sense. Too bad that overview can not be tuned to be > "minimalistic" (that is, no Xref, no subject, no author and date) to > spare disk and CPU. Theoretically, you could (cfr overview.fmt), but most conventional readers await the fields in the overview in a fixed order, established since the night of the times... BTW, Xref is the only mandatory field of the overview... Fred -- She reads the minds of all the people as they pass her by Hoping someone can see If I could fix myself I'd But it's too late for me I won't let you fall apart (Nine Inch Nails, The Fragile)
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Russ Allbery
Date: Wed, 08 Dec 2004 18:16
Date: Wed, 08 Dec 2004 18:16
25 lines
2360 bytes
2360 bytes
F Senault <fred@lacave.net> writes:
> Le 08 décembre à 09:57, Xavier Roche a écrit :
>> Okay, now it makes sense. Too bad that overview can not be tuned to be
>> "minimalistic" (that is, no Xref, no subject, no author and date) to
>> spare disk and CPU.
> Theoretically, you could (cfr overview.fmt), but most conventional
> readers await the fields in the overview in a fixed order, established
> since the night of the times...
> BTW, Xref is the only mandatory field of the overview...
Note that this will change in future versions of INN, since actually
readers will break horribly if you change the default fields.
In practice, a reader server without overview is pretty much useless,
since effectively all news readers use overview to thread and expect it to
be there.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Patrick Schreurs
Date: Wed, 08 Dec 2004 18:57
Date: Wed, 08 Dec 2004 18:57
13 lines
1894 bytes
1894 bytes
On Wed, 8 Dec 2004, Russ Allbery wrote: > In practice, a reader server without overview is pretty much useless, > since effectively all news readers use overview to thread and expect it to > be there. Unless you use an overview server like dreaderd (diablo) and use an INN server as a simple spool server. In this case, you don't want any overview data. You can do this by setting useoverchan to true and simply don't start overchan (from newsfeeds). Patrick Schreurs News-Service.com
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Xavier Roche
Date: Wed, 08 Dec 2004 19:05
Date: Wed, 08 Dec 2004 19:05
9 lines
1886 bytes
1886 bytes
Patrick Schreurs wrote: > Unless you use an overview server like dreaderd (diablo) and use > an INN server as a simple spool server. In this case, you don't want > any overview data. You can do this by setting useoverchan to true and > simply don't start overchan (from newsfeeds). But if you just need readers (but that don't need XOVER), this won't work (you will still have the "enableoverview is not true" error when trying to connect)
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Russ Allbery
Date: Wed, 08 Dec 2004 19:12
Date: Wed, 08 Dec 2004 19:12
20 lines
2309 bytes
2309 bytes
Patrick Schreurs <patrick+usenet@news-service.com> writes:
> Unless you use an overview server like dreaderd (diablo) and use an INN
> server as a simple spool server. In this case, you don't want any
> overview data. You can do this by setting useoverchan to true and simply
> don't start overchan (from newsfeeds).
Hm, yeah, good point.
For that particular configuration, I'd be inclined to just add support
for the ARTICLE command to innd and not use nnrpd at all, since all
article retrieval would be by message ID in that case. Adding ARTICLE to
innd is basically a quick cut and paste of the HEAD code, changing one
constant, and adding the new command to a table.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Xavier Roche
Date: Wed, 08 Dec 2004 19:20
Date: Wed, 08 Dec 2004 19:20
11 lines
1739 bytes
1739 bytes
F. Senault wrote: > BTW, Xref is the only mandatory field of the overview... Argh, it seems that I just missed the "overview.fmt" file (and the associated manpage). Changes seems to be fine when just keeping the Xref (overview is much smaller..) (man overview.fmt) ``Xref:full'' must be included, or innd(8) and other programs which utilize overview method cannot start.
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Bill Davidsen
Date: Wed, 08 Dec 2004 21:15
Date: Wed, 08 Dec 2004 21:15
43 lines
3729 bytes
3729 bytes
Russ Allbery wrote: > Patrick Schreurs <patrick+usenet@news-service.com> writes: > > >>Unless you use an overview server like dreaderd (diablo) and use an INN >>server as a simple spool server. In this case, you don't want any >>overview data. You can do this by setting useoverchan to true and simply >>don't start overchan (from newsfeeds). > > > Hm, yeah, good point. > > For that particular configuration, I'd be inclined to just add support > for the ARTICLE command to innd and not use nnrpd at all, since all > article retrieval would be by message ID in that case. Adding ARTICLE to > innd is basically a quick cut and paste of the HEAD code, changing one > constant, and adding the new command to a table. > Sure, it could be done, but that would give suck feed to every site now allowed to post. Which bypasses the whole idea of availability and visibility provided by giving access to a limited newsgroup set. I think this is generally opening a hole I don't want open. I would be happier to see it closed in nnrpd as well, by reading the newsgroups line on a fetch by msg-ID and applying the right rules. If that were done you could block some commands without overview, such as GROUP, NEXT, XHDR, and similar and then allow non-overchan access. Is overchan really a large enough load to be worth doing this? If you want readers, why not support them? I see overchan taking about 0.9% of the CPU, not enough to justify trying to save it, at least on my site. 2141 ? S 3371:35 /usr/local/news/bin/innd -p 3 -N 9239 ? SN 0:00 \_ /usr/bin/perl -w 9240 ? SN 23:27 \_ /usr/local/news/bin/innfeed 9241 ? SN 4:47 \_ /usr/local/news/bin/overchan -- bill davidsen (davidsen@darkstar.prodigy.com) SBC/Prodigy Yorktown Heights NY data center Project Leader, USENET news http://newsgroups.news.prodigy.com
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Russ Allbery
Date: Wed, 08 Dec 2004 21:53
Date: Wed, 08 Dec 2004 21:53
36 lines
3176 bytes
3176 bytes
Bill Davidsen <davidsen@deathstar.prodigy.com> writes:
> Russ Allbery wrote:
>> Patrick Schreurs <patrick+usenet@news-service.com> writes:
>>> Unless you use an overview server like dreaderd (diablo) and use an
>>> INN server as a simple spool server. In this case, you don't want any
>>> overview data. You can do this by setting useoverchan to true and
>>> simply don't start overchan (from newsfeeds).
>> Hm, yeah, good point.
>> For that particular configuration, I'd be inclined to just add support
>> for the ARTICLE command to innd and not use nnrpd at all, since all
>> article retrieval would be by message ID in that case. Adding ARTICLE to
>> innd is basically a quick cut and paste of the HEAD code, changing one
>> constant, and adding the new command to a table.
> Sure, it could be done, but that would give suck feed to every site now
> allowed to post. Which bypasses the whole idea of availability and
> visibility provided by giving access to a limited newsgroup set.
If INN is only being used as a spool server, the only hosts allowed to
connect to it are ones under your control, so this doesn't matter. I
think you're trying to solve a very different problem than the original
poster is trying to solve.
> I think this is generally opening a hole I don't want open. I would be
> happier to see it closed in nnrpd as well, by reading the newsgroups
> line on a fetch by msg-ID and applying the right rules.
nnrpd already does this.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Why is 'enableoverview: false' in INN impossible with readers ?
Author: Miquel van Smoorenburg
Date: Wed, 08 Dec 2004 23:12
Date: Wed, 08 Dec 2004 23:12
28 lines
2544 bytes
2544 bytes
In article <87eki0d2pn.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >Patrick Schreurs <patrick+usenet@news-service.com> writes: > >> Unless you use an overview server like dreaderd (diablo) and use an INN >> server as a simple spool server. In this case, you don't want any >> overview data. You can do this by setting useoverchan to true and simply >> don't start overchan (from newsfeeds). > >Hm, yeah, good point. > >For that particular configuration, I'd be inclined to just add support >for the ARTICLE command to innd and not use nnrpd at all, since all >article retrieval would be by message ID in that case. Adding ARTICLE to >innd is basically a quick cut and paste of the HEAD code, changing one >constant, and adding the new command to a table. You'd have to multithread innd first then .. with 20 clients asking for an article that's potentially on 20 different spool disks, requests get serialized and you'll have the performance of just one disk instead of 20. Right now, running an nnrpd for each connection isn't such a bad idea. Which reminds me .. I wrote a patch for innfeed "mode headfeed", it compiles, but I never actually tested it .. should do that one day I guess. Mike.
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