Thread View: news.software.nntp
13 messages
13 total messages
Started by Russ Allbery
Mon, 23 Apr 2001 08:20
LISA 2000 Usenet BOF notes
Author: Russ Allbery
Date: Mon, 23 Apr 2001 08:20
Date: Mon, 23 Apr 2001 08:20
267 lines
16805 bytes
16805 bytes
I realized that I still hadn't posted these. Whoops. *wry grin* Figured
I should probably post them before summer Usenix.
Notes courtesy of Phoenix <phoenix@eyrie.org>. Note that this dates from
December of 2000.
about 40 people in attendance
inn, diablo, cyclone in use. no dnews users present (second LISA in a row).
nntprelay.
Future of INN
--------------------------------------------------------------------------
INN 2.3.1 not quite released before this BoF; nearly ready for release.
INN 2.4 has some major improvements, but none of the things Russ really
wants in there -- e.g. at least the beginnings of a new configuration
parser. So any release for that is likely some ways off. Many good
chunks of work in there to be done yet. Russ has plans for a
configuration file standardized library, allowing the ability to write
back parts of the files, wrapper them in pretty web frontends, etc.
(inn.conf and maybe storage.conf; readers.conf probably to be done later,
as it's more to tackle)
INN's moving toward a more modular construction. More of that needs to
occur. History file format is a prime example: at least four in common
use. This is also desired for 2.4, and may not be difficult to do.
Long-term: nice to see INN interoperate with Diablo to do header feed
stuff. Diablo doesn't store all articles on all servers, but instead has
a master server that stores all articles, and all reader servers store
headers only and fetch articles as needed for reader clients. Should be
easy to make INN feed just headers; the hard part is getting INN to
support a storage backend for article content like the Diablo server
does. Once INN can do this, should be easy to intermix INN with Diablo.
From this, can potentially generate an INN Light where you try to massively
reduce INN's general footprint. A new history API, allowing for a smaller
volume server, would also reduce INN's footprint -- let history go to
disk, instead of memory mapping it, for the case where little comes in but
what's held locally is held basically forever.
CURRENT is 2.4 in the making.
STABLE is 2.3.x with bug fixes.
There are snapshots available nightly, not compiled.
inn1.7.2 still available, as the feature-poor but rock-solid stable release
version from years ago.
NAS still undergoing development; draft submitted to IETF. They're looking
for people to program it; they have money for 2.5 people. This is a
replacement for the old control message handling method. Instead of PGP
verification of incoming control messages, connect a client to an NAS
server and pull down canonical newsgroup list or what's changed since you
last asked, etc. Each hierarchy administrator can run their own NAS
server, and that can be collected into a master server. So instead of
doing control message handling at all, you just connect to whatever list
of NAS servers you want to pull data from and generate your active list
from that. Has more fields than control messages carry; room for xter
set, moderator address, preferred language, URL to group charter.
Designed to be useful for readers as well as news server administrators,
so they can contact NAS servers also. See: http://nas.cis.fu-berlin.de
-- DNS was the first approach, years ago. Difficulty with zone transfers
found. So this is a new protocol. DNS doesn't iterate through a list of
things very well. NEXT records in BIND 9, with TSIG for security, work;
if you're running authoritative only, should be okay to do zone transfers.
Problems of signing in BIND 9 still.
[NHHS uses DNS, NAS doesn't.]
-- fine for INN to support both NAS and whatever anybody comes up with that
utilizes BIND.
ctlinnd newgroup/rmgroup still parses the entirety of newsfeeds and active.
Really should cache something, perhaps just the wildmat expressions for
the sites. Most performance gain likely to come from that alone. wildmat
is fast and CPU not usually a problem on a news server, so reparsing the
active file and rematching the groups is probably an okay thing to do, at
least as a transitional step.
Would be a nice internal bottleneck to get fixed, sometime, depending on
whether somebody has time for it.
If you use CNFS to store news (cyclic buffers), the articles expire
immediately when space is a problem, but the overview data for them
persists. You can add a flag to stat the files in overview and not send
back to clients anything that is no longer on disk. Without that, various
random error messages appear to the users depending on their news client.
Ideally, when overwrite article in CNFS, want to notify overview to mark it
as expired. Hard problem: the storage manager thinks of everything in
terms of tokens. Each article is that token. Cross-posting handled at a
different level. Article retrieval is by token. Overview thinks in terms
of groups. So this communication requires the Storage Manager to figure
out which article numbers in which groups has been removed so it can tell
overview. Basically a problem of figuring out how you want Storage
Manager to tell overview manager which articles have gone away.
Diablo: master can't tell slave servers all the time about things, so they
make sure overview expires before articles do. Seems to require a
predictable expiration time/retention rate.
The article stat solution doesn't grovel through the entire CNFS buffer, so
it's not *that* bad, but it's clearly a performance problem now because
people turn it on and INN gets really slow. Though one report of no
performance problems, with thousands of users.
If you teach overview about article-IDs as well as article numbers, then the
problem solves in reverse. This is a data storage solution approach,
which is one way to do it. The other way is to expire overview
information before the articles go away.
Not sure we can get from just the headers of the CNFS buffer the exact
tokens of the articles going away.
OR: make nnrp be aware of where CNFS is currently writing and just discard
any tokens that are prior to that point.
Reservation about changing control.ctl file format: so much existing
documentation about how this gets done, Diablo maintains the same format
to be INN-compatible.
Rather than saying control.ctl is the list of canonical newsgroups on your
server, you can rethink of it as a database format of describing what
hierarchies are available -- and the server can separately track what you
want to actually carry locally.
INN currently collides the information of what's available and what you
actually are carrying. This is a problem, particularly for non-PGP-signed
ones, of which there are many: codewarrior.*, us.* (well sort of), a whole
bunch of little regional hierarchies.
control.ctl won't be modified in the first, second, or third pass. This may
wait for NAS before being reworked.
Russ wants to kill the newsfeeds parser so he can say "I'm adding peering
with this site" in one place instead of five.
Parser will take a syntax of a configuration file and turn it into a tree of
hash tables; what keys you pull out of that are application-dependent.
Russ is going to wrap a keys and hash interface around that.
Sounds similar to XML, which is way more complex than the syntax Russ sees
as needed. If someone else writes it, it'll likely go into INN.
INN aims to keep user-visible bits simple and basic setup of a server fairly
simple; a proliferation of available other tools is fine.
A set of perl scripts to interactively generate an initial setup would be a
cool thing.
Documentation for managing server: INN 2.0 or later? Grab a distribution
and read the INSTALL file.
Russ is maintaining the beginnings of a 2.x FAQ under
http://www.eyrie.org/~eagle/faqs/inn.html
INN has a pretty thorough and fairly comprehensive set of manpages, useful
once you have a basic idea of what commands do generally what.
IETF Stuff and News Standards
--------------------------------------------------------------------------
Has usefor actually progressed since the last LISA usenet bofh?
This is the RFC-1036 replacement for article content. There's a full draft
now. Most of the really weird additional bits didn't get in. No decent
security, no decent moderation approval system, still arguments over
signing systems, does provide a good deal of clarification of 1036 header
information, has some really trippy Path: stuff. It should work, but Russ
hasn't seen it actually implemented anywhere. Cleans up syntax and header
confusions. Can be a decent RFC, just rather disappointing in that it
didn't solve any of the hard problems that needed to be solved.
Somebody needs to go work on the signing-articles problem, write code, and
come up with something that works. Ideally based on something like ssh,
so everyone can use it; ideally based on a certificate system so
moderation issues are handled. Need practical experience so people can
stop arguing at length about it and forward progress can happen.
Right now usefor is descending once again down the rathole of how to tag in
the headers that followup email should be sent, whether anybody should do
this, how one can procmail filter it out. The issue just never seems to
go away.
The nntp working group really took off last year. Lots of forward progress
made. Hopefully a lot closer to an RFC. Draft now is *much* closer to
being at a state where you could go off and write a news server against.
There's a giant mess over the PAT command. XPAT extension to INN says match
all these headers against wildmat and give me all those. Spaces are
common and used extensively in headers. Current implementation collapses
random whitespace into a single space; so you can't match on
double-spaces. Miscellaneous proposals to introduce an escape character,
various ones proposed.
mission: document RFC-977 as it was actually implemented, take the
extensions that you have to have to run a news server these days (like
overview), and publish it. No dramatic new features. The only thing
they're allowed to do is introduce an extension mechanism.
So there's a proposal on the list to not standardize XPAT, but standardize
XHDR. And encourage somebody else to implement PAT, hopefully using
regular expressions and not wildmat, as wildmat really isn't the right
tool.
Once this draft is released, all the servers will hopefully start supporting
the new commands: over instead of xover, HDR instead of XHDR, etc.
And maybe 20 years down the road, can start removing support for ones that
don't begin with X.
Also standardizing on unicode. This is the long-term solution for
supporting all character sets. So arguments to NNTP commands are going to
be in UTF-8. So non-English languages should be able to create newsgroups
in their language without trying to force themselves into ASCII.
Russ has a wildmat implementation that supports UTF8. If trying to match
ISO-LATIN-1, it generally works. UTF-8 very, very rarely collides
incompatibly with ISO-LATIN-1 text. INN 2.4 has the UTF-8 wildmat stuff
in it. Likely very little left in INN that needs modification; clients
are a whole 'nother issue, but need server-side support first.
Andrew Gierth believed to have another UTF-8 wildmat implementation, too.
Some discussion whether want to pipeline reader commands. SMTP developed
this as a completely separate extension. For NNTP, all the servers
support this out of the box except for MODE READER and post. They may
just document this as a fait accompli; unclear at this point.
Does IMAP have an out-of-band abort command? Can be done with FTP. (This
came up in the context of users cancelling requests for 2MB articles,
etc.)
NNTP is a lock-step protocol, even if you get it to pipeline, too.
NNTP is fundamentally a one-line response protocol -- except for stuff that
sends a dot-terminated list. To allow multiline responses is a
fundamental protocol change. Much of this rehashes things IMAP has
solved/tried to solve, even though it has some problems of its own.
Many, many more people working on IMAP than NNTP; many, many more people use
email than news; so a large resource to potentially tap.
Distributions of newnews are gone.
"newnews <time> <wildmat expr> <distribution expr>" used to exist. And the
meaning of the distribution is gone. Distribution header isn't utilized
as a reader service, it's used to control feeds, where it's used.
Distributions on NEWGROUPS are gone away too, where they made even less
sense.
Draft language about "most people don't support newnews" has also been
dropped, as it was there because of INN, and that's not an issue now.
Pull feeds love it, as they don't have to store as much information
locally. Servers can be made to do what's needed now, reasonably
efficiently. Still not a favorite command, but can be better implemented
now, so that it's less problematic for the server.
Miscellaneous
--------------------------------------------------------------------------
What to run?
* if you're trying to carry binaries, CNFS is nice.
* if you're trying to serve lots of users, Heath's OVDB is blazingly fast.
* if you're trying to take a full feed, Katsuhiro's buffindexed writes
faster than anything else.
* Do need more diskspace if going from 1.7 to 2.3: overview is bigger, but
CNFS can use your diskspace better than tradspool.
Filtering Tools
-- cleanfeed is under development, but slow. There's some motion afoot to
get it put onto sourceforge. Provides good support for some issues
affecting Diablo servers that aren't issues for INN.
-- Russ has entirely separate tools that have never been released.
-- For INN, wants to break out the stuff that handles filtering within INN,
which is all different for tcl, perl, python, etc. Russ wants to lift out
the binary-recognition regexps and put them in INN so they can be written
in C. Binary matching probably shouldn't be done in regexps. Joe Greco's
done work on this kind of thing for Diablo. He's also got work for
allowing you to set binary policies on outgoing side as distinct from
incoming.
Scaling in General
--------------------------------------------------------------------------
Most protocols have switched to a model where you tend to go to the
orignating site for content. Question is whether news can do that, so
everybody doesn't have 300GB of binaries everywhere. Argument that it's
the nature of news that's allowed such things to occur, as bandwidth is
prohibitive for most folks to pull it all down themselves. Nature of news
distribution sidesteps some legal issues: once it's out there, it's really
out there. Plusses and minusses there. Once articles are posted, they're
basically out there for the world, and they're difficult if not impossible
to completely eradicate later, despite sending cancels.
Is caching effective for protocols like HTTP? You can think of flood fill
as a form of caching for NNTP.
Another tack: how can you get news sites to peer and make reciprocal use of
resources?
If you have a backend that pulls down articles, perhaps you want some
servers to specialize some, be canonical for some topics, share resources
for others in a better-distributed fashion?
--
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: LISA 2000 Usenet BOF notes
Author: Marco d'Itri
Date: Mon, 23 Apr 2001 11:18
Date: Mon, 23 Apr 2001 11:18
30 lines
2410 bytes
2410 bytes
rra@stanford.edu wrote: >Long-term: nice to see INN interoperate with Diablo to do header feed > stuff. Diablo doesn't store all articles on all servers, but instead has > a master server that stores all articles, and all reader servers store > headers only and fetch articles as needed for reader clients. Should be > easy to make INN feed just headers; the hard part is getting INN to > support a storage backend for article content like the Diablo server > does. Once INN can do this, should be easy to intermix INN with Diablo. This has been already discussed on inn-workers. If somebody is interested in feeding a dreaderd box from INN a made an innxmit patch which is available and I think will be in inn 2.4. I know somebody from demon is working on an innfeed patch, but I don't know if it's finished and they want to share it. >-- cleanfeed is under development, but slow. There's some motion afoot to Cool, I really tought it was orphaned. I'm sure there are many people who'd like to contribute if it was put on sourceforge, or at least if snapshots were made publically available. BTW, I think this 1996 message is very interesting, and diablo developers may want to read it too. :-) http://www.isc.org/ml-archives/inn-workers/1996/06/msg00003.html -- ciao, | Marco | * The Internet is full. Go away. -- Joel Furr *
Re: LISA 2000 Usenet BOF notes
Author: Jeremy
Date: Mon, 23 Apr 2001 19:32
Date: Mon, 23 Apr 2001 19:32
17 lines
1431 bytes
1431 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote: >> -- cleanfeed is under development, but slow. There's some motion afoot to > > Cool, I really tought it was orphaned. I'm sure there are many people > who'd like to contribute if it was put on sourceforge, or at least if > snapshots were made publically available. I'm still here, I just have a job, and stuff. There've been some significant changes in what I'm running myself, thanks to some absolutely brilliant code by Andrew Gierth. I expect to be doing something with the whole mess at some point... -- Jeremy | jeremy@exit109.com
Re: LISA 2000 Usenet BOF notes
Author: Joe Greco
Date: Tue, 24 Apr 2001 00:19
Date: Tue, 24 Apr 2001 00:19
17 lines
1637 bytes
1637 bytes
In news.software.nntp article <9c132b$1cd$1@wonderland.linux.it>, Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote: :BTW, I think this 1996 message is very interesting, and diablo :developers may want to read it too. :-) :http://www.isc.org/ml-archives/inn-workers/1996/06/msg00003.html Whatever for? This was old hat even back in '96. Diablo has the ability to use header only feeds. Diablo slaves via xref. Diablo can create groups on the fly, as they are seen. Diablo propagates its posts back to the parent(s). ... JG
Sv.: LISA 2000 Usenet BOF notes
Author: BARRY BOUWSMA IS A PEDOPHILE!!!
Date: Tue, 24 Apr 2001 04:14
Date: Tue, 24 Apr 2001 04:14
28 lines
2295 bytes
2295 bytes
"'rra@stanford.edu'" <rra@stanford.edu> schrieb in im Newsbeitrag:ylhezghvrs.fsf@windlord.stanford.edu... :: * if you're trying to serve lots of users, Heath's OVDB is blazingly fast. Wow, I've totally forgotten about this facet of news over the past few months or so. Um, does the problem that plagued me still remain, with things locking up solid? Er, wait. This is from LISA, which is quite a while back, when I was actually doing news and was suffering these problems. I don't recall anyone else seeing them though, and I don't expect to ever have anything to do with news again, so it probably doesn't matter. Unless you intend this as a promo sheet for someone wanting to get started. :: * if you're trying to take a full feed, Katsuhiro's buffindexed writes :: faster than anything else. Again, at that time, I was seeing it dog-slow during expiry, if memory serves. I never got things working satisfactorily to the point where I could do full-feed performance level testing, though I settled on tradindex as the most stable and least buggy of the options at the time. How quickly the brane forgets these unpleasantries.
Re: LISA 2000 Usenet BOF notes
Author: Elizabeth Zaenger
Date: Wed, 25 Apr 2001 19:08
Date: Wed, 25 Apr 2001 19:08
18 lines
1566 bytes
1566 bytes
Hmmm, is this why my overview directories keep growing seemingly w/o bounds? What eventually will expire the overview data (or, how can I prune this useless data)? My history file is somewhat stable in size.... (INN 2.3experimental 14-Dec-1999, FreeBSD 3.4, CNFS, ovmethod-tradindex) Russ Allbery <rra@stanford.edu> writes: > If you use CNFS to store news (cyclic buffers), the articles expire > immediately when space is a problem, but the overview data for them > persists. -- Elizabeth Zaenger, Unix Support Departmental Computing Organization University of Michigan, Electrical Engineering and Computer Science Dept.
Re: LISA 2000 Usenet BOF notes
Author: Russ Allbery
Date: Wed, 25 Apr 2001 20:03
Date: Wed, 25 Apr 2001 20:03
15 lines
1525 bytes
1525 bytes
In news.software.nntp, Elizabeth Zaenger <liz@eecs.umich.edu> writes:
> Hmmm, is this why my overview directories keep growing seemingly w/o
> bounds? What eventually will expire the overview data (or, how can I
> prune this useless data)?
news.daily. The overview data for expired articles only persists until
the next run of expire.
--
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: LISA 2000 Usenet BOF notes
Author: Elizabeth Zaenger
Date: Wed, 25 Apr 2001 20:33
Date: Wed, 25 Apr 2001 20:33
21 lines
1742 bytes
1742 bytes
OK, let me rephrase this. If my history file size is fairly constant, at around 1.6G, why does my overview tree keep getting bigger? It seems like it should also stay fairly constant. Russ Allbery <rra@stanford.edu> writes: > In news.software.nntp, Elizabeth Zaenger <liz@eecs.umich.edu> writes: > > > Hmmm, is this why my overview directories keep growing seemingly w/o > > bounds? What eventually will expire the overview data (or, how can I > > prune this useless data)? > > news.daily. The overview data for expired articles only persists until > the next run of expire. -- Elizabeth Zaenger, Unix Support Departmental Computing Organization University of Michigan, Electrical Engineering and Computer Science Dept.
Re: LISA 2000 Usenet BOF notes
Author: Rasmus Bøg Hansen
Date: Wed, 25 Apr 2001 21:31
Date: Wed, 25 Apr 2001 21:31
23 lines
2160 bytes
2160 bytes
On 25 Apr 2001, Elizabeth Zaenger wrote:
> OK, let me rephrase this. If my history file size is fairly constant, at
> around 1.6G, why does my overview tree keep getting bigger? It seems like
> it should also stay fairly constant.
Yeah they should - and they do around here (although I have a _far_
smaller server :)...
Do you remember to run expireover when running news.daily?
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
Programming is a race between programmers, who try and make more and
more idiot-proof software, and universe, which produces more and more
remarkable idiots.
Until now, universe leads the race.
- R. Cooka
----------------------------------------- [ Remove 'spam' to reply ] --
Re: LISA 2000 Usenet BOF notes
Author: Elizabeth Zaenger
Date: Thu, 26 Apr 2001 14:44
Date: Thu, 26 Apr 2001 14:44
28 lines
1926 bytes
1926 bytes
<moffespam@amagerkollegiet.dk> writes:
>
> Do you remember to run expireover when running news.daily?
>
> Rasmus
My expire.log says:
expire begin Thu Apr 26 03:06:47 EDT 2001: (-v1 -z/news/log/expire.rm)
Article lines processed 11544991
Articles retained 10988162
Entries expired 556829
Articles dropped 0
Old entries dropped 985384
Old entries retained 9966882
expire end Thu Apr 26 03:16:31 EDT 2001
all done Thu Apr 26 03:16:31 EDT 2001
expireover start Thu Apr 26 03:16:32 EDT 2001
expireover end Thu Apr 26 03:34:26 EDT 2001
So I think I am.....
--
Elizabeth Zaenger, Unix Support
Departmental Computing Organization
University of Michigan, Electrical Engineering and Computer Science Dept.
Re: LISA 2000 Usenet BOF notes
Author: Mike O'Connor
Date: Thu, 26 Apr 2001 18:34
Date: Thu, 26 Apr 2001 18:34
33 lines
1894 bytes
1894 bytes
In article <wat1yqf67qj.fsf@che.eecs.umich.edu>, Elizabeth Zaenger <liz@eecs.umich.edu> wrote: : : <moffespam@amagerkollegiet.dk> writes: : :> :> Do you remember to run expireover when running news.daily? :> :> Rasmus : :My expire.log says: : :expire begin Thu Apr 26 03:06:47 EDT 2001: (-v1 -z/news/log/expire.rm) : Article lines processed 11544991 : Articles retained 10988162 : Entries expired 556829 : Articles dropped 0 : Old entries dropped 985384 : Old entries retained 9966882 :expire end Thu Apr 26 03:16:31 EDT 2001 : all done Thu Apr 26 03:16:31 EDT 2001 : expireover start Thu Apr 26 03:16:32 EDT 2001 : expireover end Thu Apr 26 03:34:26 EDT 2001 : :So I think I am..... Does a manual 'expireover -as' cause it to shrink? -- Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org Royal Oak, Michigan | (has my PGP & Geek Code info) | Phone: +1 248-427-4481
Re: LISA 2000 Usenet BOF notes
Author: Elizabeth Zaenger
Date: Thu, 26 Apr 2001 20:17
Date: Thu, 26 Apr 2001 20:17
19 lines
1668 bytes
1668 bytes
Mike O'Connor <mjo@dojo.mi.org> writes: > > Does a manual 'expireover -as' cause it to shrink? > Doh! Why don't I think of those things?!!? I ran it by hand (but what is "-as"? I don't have those options on my expireover) and got an error message back about my expire.ctl. I've made some changes to that file, and am re-running expireover by hand. We'll see what happens this time. Thanks, Mike! -- Elizabeth Zaenger, Unix Support Departmental Computing Organization University of Michigan, Electrical Engineering and Computer Science Dept.
Re: LISA 2000 Usenet BOF notes
Author: Mike O'Connor
Date: Thu, 26 Apr 2001 20:43
Date: Thu, 26 Apr 2001 20:43
23 lines
1572 bytes
1572 bytes
In article <waty9sn4dr6.fsf@che.eecs.umich.edu>, Elizabeth Zaenger <liz@eecs.umich.edu> wrote: :Mike O'Connor <mjo@dojo.mi.org> writes: : :> :> Does a manual 'expireover -as' cause it to shrink? :> : :Doh! Why don't I think of those things?!!? : :I ran it by hand (but what is "-as"? I don't have those options on my It's another way of doing "expireover -a -s". :expireover) and got an error message back about my expire.ctl. :I've made some changes to that file, and am re-running expireover by hand. :We'll see what happens this time. -- Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org Royal Oak, Michigan | (has my PGP & Geek Code info) | Phone: +1 248-427-4481
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