Thread View: news.software.nntp
50 messages
50 total messages
Started by Matt Dillon
Wed, 07 Oct 1998 00:00
Diablo 1.18-REL available
Author: Matt Dillon
Date: Wed, 07 Oct 1998 00:00
Date: Wed, 07 Oct 1998 00:00
34 lines
1885 bytes
1885 bytes
Diablo 1.18-REL, my news transit and reading system, is now available:
http://www.backplane.com/diablo/
Diablo V1.18-REL ***** RELEASE ****
Fixed compiler error, some compilers don't like dynamic struct
initialization.
Fixed '.' escaping bug with POST command.
POST command now mails the moderator if an unapproved posting is
sent to a moderated group. (POST does not yet (should it???) mail
any To: lines).
Control messages were generating article number assignments in
the Diablo feeder. Since control messages are out of band, this
is incorrect and created gaps on the reader. The feeder no longer
generates group:artno in the Xref: line for control messages.
'listgroup' command no longer lists article numbers that do not
exist in overview (but still may list articles that no longer exist
in the spools, since checking spool(s) is expensive).
Dist now includes Iain's feeder-stats-3.80. NOTE: Iain changed the
passed date format from a two to a four digit year.
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.18-REL available
Author: Matt Dillon
Date: Thu, 08 Oct 1998 00:00
Date: Thu, 08 Oct 1998 00:00
23 lines
1340 bytes
1340 bytes
:In article <6vhtvq$k4k$1@samba.rahul.net>,
:Rahul Dhesi <c.c.eiftj@28.usenet.us.com> wrote:
:>In <6vhjml$oqb$1@flea.best.net> dillon@best.net (Matt Dillon) writes:
:>
:>> Diablo 1.18-REL, my news transit and reading system, is now available:
:>
:>> http://www.backplane.com/diablo/
:>
:>Haven't tried it yet, but a big thank-you for making this available.
:>I am running an older version for transit only and it sings.
:>--
:>Rahul Dhesi <dhesi@spams.r.us.com>
You are welcome!
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.18-REL available
Author: Thomas Neumann
Date: Thu, 08 Oct 1998 00:00
Date: Thu, 08 Oct 1998 00:00
20 lines
1259 bytes
1259 bytes
dillon@best.net (Matt Dillon) writes: > Diablo 1.18-REL, my news transit and reading system, is now available: [...] > 'listgroup' command no longer lists article numbers that do not > exist in overview (but still may list articles that no longer exist > in the spools, since checking spool(s) is expensive). Matt, do you already have some ideas on how to fix this, i.e. how to make sure that an article doesn't get offered to readers if it doesn't exists in the spool(s)? I'm asking because this is an ever reoccuring problem on the inn-workers mailing list (INN has an equivalent problem if the new storage api is used). -t
Re: Diablo 1.18-REL available
Author: Rahul Dhesi
Date: Thu, 08 Oct 1998 00:00
Date: Thu, 08 Oct 1998 00:00
12 lines
997 bytes
997 bytes
In <6vhjml$oqb$1@flea.best.net> dillon@best.net (Matt Dillon) writes: > Diablo 1.18-REL, my news transit and reading system, is now available: > http://www.backplane.com/diablo/ Haven't tried it yet, but a big thank-you for making this available. I am running an older version for transit only and it sings. -- Rahul Dhesi <dhesi@spams.r.us.com>
Re: Diablo 1.18-REL available
Author: Andrew Gierth
Date: Thu, 08 Oct 1998 00:00
Date: Thu, 08 Oct 1998 00:00
15 lines
1187 bytes
1187 bytes
>>>>> "Matt" == Matt Dillon <dillon@best.net> writes: Matt> (POST does not yet (should it???) mail any To: lines). POST should not mail to arbitrary addresses, only to moderators. Some client software apparently adds entirely spurious "To:" headers. Other software adds a "Cc:" header for recipients of courtesy copies, but these will already have been mailed by the time the article is handed to the news server. -- Andrew.
Re: Diablo 1.18-REL available
Author: Matt Dillon
Date: Thu, 08 Oct 1998 00:00
Date: Thu, 08 Oct 1998 00:00
39 lines
2207 bytes
2207 bytes
:In article <86k92b9xtv.fsf@sucks.tmr.net>,
:Thomas Neumann <tn@tmr-online.de> wrote:
:>
:>dillon@best.net (Matt Dillon) writes:
:..
:>[...]
:>> 'listgroup' command no longer lists article numbers that do not
:>> exist in overview (but still may list articles that no longer exist
:>> in the spools, since checking spool(s) is expensive).
:>
:>Matt, do you already have some ideas on how to fix this,
:>i.e. how to make sure that an article doesn't get offered
:>to readers if it doesn't exists in the spool(s)? I'm asking
:>because this is an ever reoccuring problem on the inn-workers
:>mailing list (INN has an equivalent problem if the new
:>storage api is used).
:>
:>-t
I don't think it is possible to 'fix' this. I think nntp clients have
to deal with the fact that 'listgroup' and other commands might return
article numbers that wind up being nonexistant.
Diablo's specific problem is that while it can check for the existance
of the article in overview, it cannot check for the existance of the
article in the spool(s) without a huge resource cost.... expecially
considering that the diablo reader is capable of using one or more
prioritized remote spools... expecially considering that the diablo
reader is capable of using one or more prioritized remote spools.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Matt Dillon
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
28 lines
1821 bytes
1821 bytes
:In article <86btnlpf5j.fsf@sucks.tmr.net>,
:Thomas Neumann <tn@tmr-online.de> wrote:
:>dillon@best.net (Matt Dillon) writes:
:>>
:>> The only way it could possibly be done would be to 'test' the
:>> existance of the article in the remote spool(s) in real time (i.e.
:>> at the time of overview record retrieval) in order to determine if
:>> the overview record is stale.
:>>
:>> That is an extremely expensive prospect. Diablo retrieves articles
:>> from remote spools by message-id and only by message-id. [...]
:>
:>Now for something completely ugly: Can we special-case this
:>for the scenario where Diablo feeder+reader run on the
:>same box and _NO_ remote spools are involved? I realize that
No way. Making it 'work' for a subset of viable configurations is worse
then making it uniformly not work over all configurations.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.18-REL available
Author: Rahul Dhesi
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
47 lines
2826 bytes
2826 bytes
In <6vltck$2ls$1@flea.best.net> dillon@best.net (Matt Dillon) writes:
>:>Hmm. I think all articles should have Xref to make an INN slave work.
>:>Unfortunately, the newsgroup name for the control articles differ from
>:>site to site (some have one humongous control-group, others have a
>:>separate control.cancel, still others have separate groups for all the
>:>different control types). Icky.
>:>
>:>
>:>Kjetil T.
> Yes, I'm not quite sure how to handle the situation. Right now I pass
> an Xref: header for control messages but it does not contain any
> newsgroup:artno fields. BEST users were complaining that article numbers
> were skipping too much due to cancels being assigned article numbers but
> then (obviously) not being stored in the overview for the group.
> This case occurs when you tell a Diablo *feeder* to assign the article
> numbers (in order to then feed articles + XRef: headers to multiple
> readers in slave mode and thus keep the article numbers synchronized
> between them). If you have the leaf-node Diablo reader do the article
> number assignment, the control messages are filtered out prior to the
> article numbers being assigned and there is no problem.
Suppose you force the Xref header to only show the article in the
appropriate control.* group. This will leave article numbers untouched
in the actual group, will it not? But downstream feeds will still route
the article based on the Newsgroups header.
Xref: mynewsmachine.rahul.net control.cancel:345657
Newsgroups: ba.internet
I haven't verified that the mismatch between Xref and Newsgroups will
work correctly. The above is just an idea to be considered.
If you need to support sites that put all control articles in the same
newsgroup, you could also include the 'control' newsgroup:
Xref: mynewsmachine.rahul.net control.cancel:345657 control:93847
Newsgroups: ba.internet
Or make it a configuration option to use either 'control.*' or
'control', whichever the site admin prefers.
--
Rahul Dhesi <dhesi@spams.r.us.com>
Re: Diablo 1.18-REL available
Author: Matt Dillon
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
69 lines
3988 bytes
3988 bytes
:In article <1ru31egcy2.fsf@haey.ifi.uio.no>,
:Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
:>[Matt Dillon]
:>> assignments in the Diablo feeder. Since control messages
:>> are out of band, this is incorrect and created gaps on the
:>> reader. The feeder no longer generates group:artno in the
:>> Xref: line for control messages.
:>
:>Hmm. I think all articles should have Xref to make an INN slave work.
:>Unfortunately, the newsgroup name for the control articles differ from
:>site to site (some have one humongous control-group, others have a
:>separate control.cancel, still others have separate groups for all the
:>different control types). Icky.
:>
:>
:>Kjetil T.
Yes, I'm not quite sure how to handle the situation. Right now I pass
an Xref: header for control messages but it does not contain any
newsgroup:artno fields. BEST users were complaining that article numbers
were skipping too much due to cancels being assigned article numbers but
then (obviously) not being stored in the overview for the group.
This case occurs when you tell a Diablo *feeder* to assign the article
numbers (in order to then feed articles + XRef: headers to multiple
readers in slave mode and thus keep the article numbers synchronized
between them). If you have the leaf-node Diablo reader do the article
number assignment, the control messages are filtered out prior to the
article numbers being assigned and there is no problem.
I have a similar problem with my header-only feeds, if you look at the
description of that :-). The definition of a diablo-compatible header-only
feed is:
* Bytes: header required (so the reader can assign the proper
expiration slot).
* Message bodies required for control messages
* Message bodies not required for non-control messages.
Of course, you can pass a normal header+body feed to the diablo reader
without any of the odd restrictions so Diablo is still fully compatible
with other newsfeeding systems, but if you want to use the extremely
low-bandwidth header-only feeding option to feed the diablo reader,
at the moment only a Diablo feeder can supply it.
If the Diablo reader stuff catches on, the header-only feeding option
will become much more important as it will allow smaller ISPs to take
'full feeds' that are header-only (i.e. only 6 KBytes/sec of bandwidth)
and operate with remote internet-based spools, thus only having to store
overview locally. This would allow the ISPs to purchase remote spool
services from one or more spool providers without becoming beholden to
those providers (because article numbering and overview is handled by
the ISP, not the spool provider).
I also expect that if header-only feeding catches on, news providers such
as supernews will be forced to lower their prices to ISP customers using
the Diablo software with a header-only feed from the outside. Now
wouldn't that be a cry'n shame <evil grin>!
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.18-REL available
Author: Curt Welch
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
36 lines
2563 bytes
2563 bytes
Russ Allbery <rra@stanford.edu> wrote: > Curt Welch <curt@kcwc.com> writes: > > > But it seems to me that the server should be able to fix this as well. > > In the case of INN 2.0 with the storage API, couldn't something be done > > to remember what was canceled? I understand that it's too expensive to > > go back and update the overview info every time something is canceled. > > Why? Isn't that what pre-2.0 versions do? I haven't looked at that > code, but I don't seem to see this problem in 1.7.2.... Well, maybe you can update the overview data and not kill performance, but that's not what 1.7.2. does. INN 2.0 with Storage API on one of my machines can accept in the range of 75 articles per second. On the same machine running 1.7.2, it does about 15 articles per second. If you are not careful in what you do to 2.0 when trying to fix the holes caused by canceles, then you will bring the performance back down to what it was without the storage API stuff. The way the old versions of INN checked for missing aritcles (and excluded them from the XOVER data) was by reading the spool directory every time you did a GROUP command. It used the list of current files (articles) to know what XOVER data to send and what not to send. It did not try to go back and update the overview data files every time an article was canceled. Overview files were only cleaned up at expireover time. 2.0 with storage API no longer has a spool directory for each newsgroup that it can read. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Diablo 1.18-REL available
Author: Kim DeVaughn
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
32 lines
2265 bytes
2265 bytes
In article <6vltck$2ls$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: | | Yes, I'm not quite sure how to handle the situation. Right now I pass | an Xref: header for control messages but it does not contain any | newsgroup:artno fields. BEST users were complaining that article numbers | were skipping too much due to cancels being assigned article numbers but | then (obviously) not being stored in the overview for the group. Well ... the "skipping" problem is there alright, but is largely a matter of the user's perception that real articles are being missed. Annoying, but not a majorly big deal. No, the real problem that I was complaining about, was that by assigning article numbers to cancels/etc, the 1024 articles/group limit was being effectively reduced by a considerable amount, since like any other article numbers, cancels were being counted against the limit. This, of course, can result in a much reduced *effective* expiry for groups that get hit with a cancel-flood, etc. So much so, that in the example I used to illustrate the problem (news.groups, about a week ago), the effective expiry was down to one day. The 1024 limit is way too small as it is, to allow high-traffic newsgroups to have a decent expiry. That cancel cmsgs were also being included in the count, was only exacerbating an already bad situation. /kim ============================================================= "And that's the rest of the story." --Paul Harvey, Goodday.
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Matt Dillon
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
43 lines
2655 bytes
2655 bytes
:In article <87lnmqunu2.fsf_-_@smart.ruhr.de>,
:Thomas Neumann <tom@smart.ruhr.de> wrote:
:>
:>> I don't know enough about how Diablo's reader code is working to know
:>> if something like this is even an option there...
:>
:>Me neither, but remote spools in itself make this hard.
:>Matt, what do you think?
:>
:>
:>-t
The only way it could possibly be done would be to 'test' the
existance of the article in the remote spool(s) in real time (i.e.
at the time of overview record retrieval) in order to determine if
the overview record is stale.
That is an extremely expensive prospect. Diablo retrieves articles
from remote spools by message-id and only by message-id. While it
is possible to do a 'stat' command on a message-id, the prospect of
loading down one's remote spools with thousands of 'stat' commands...
one every time an overview entry is accessed by some NNTP client,
is not fun to think about... the load on the remote spool's history file
would be ten times the nominal load of a full feed.
It works even less well when one utilizes Diablo's ability to specify
multiple prioritized spools. For example, a small ISP may be given
access to the modest news spool managed by their parent ISP, but may also
wish to purchase access to a larger news spool such as, say, supernews,
as a backup when the parent ISP's spool does not contain the requested
article. The backup spool costs the small ISP money. Running stat
commands through from the small ISP to the backup spool would almost
certainly cost significantly more money then simply using it to retrieve
an occassional article.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.18-REL available
Author: Kjetil Torgrim Homme
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
22 lines
1550 bytes
1550 bytes
[Matt Dillon] > Diablo 1.18-REL, my news transit and reading system, is now available: And we just upgraded to 1.17 yesterday! :-) > Control messages were generating article number > assignments in the Diablo feeder. Since control messages > are out of band, this is incorrect and created gaps on the > reader. The feeder no longer generates group:artno in the > Xref: line for control messages. Hmm. I think all articles should have Xref to make an INN slave work. Unfortunately, the newsgroup name for the control articles differ from site to site (some have one humongous control-group, others have a separate control.cancel, still others have separate groups for all the different control types). Icky. Kjetil T.
Re: Diablo 1.18-REL available
Author: Curt Welch
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
72 lines
4387 bytes
4387 bytes
dillon@best.net (Matt Dillon) wrote: > :In article <86k92b9xtv.fsf@sucks.tmr.net>, > :Thomas Neumann <tn@tmr-online.de> wrote: > :> > :>dillon@best.net (Matt Dillon) writes: > :>> 'listgroup' command no longer lists article numbers that do > :>> not exist in overview (but still may list articles that no > :>> longer exist in the spools, since checking spool(s) is > :>> expensive). > :> > :>Matt, do you already have some ideas on how to fix this, > :>i.e. how to make sure that an article doesn't get offered > :>to readers if it doesn't exists in the spool(s)? I'm asking > :>because this is an ever reoccuring problem on the inn-workers > :>mailing list (INN has an equivalent problem if the new > :>storage api is used). > :> > :>-t > > I don't think it is possible to 'fix' this. I think nntp clients > have to deal with the fact that 'listgroup' and other commands might > return article numbers that wind up being nonexistant. Well I agree that newsreaders have to deal with that potential - it can't be avoided. The article in question might have been cancled or expired between the time the newsreader did the listgroup and the article command. But, if you accept spam cancels, then in many groups, you end up with very large numbers of the articles being missing (as high as 50% sometimes). And in this case, the user (depending on how the newsreader works and how the user is using it), can end up getting tons of "article canceled" messages. And that's a real problem (at least I think it is). And it's one the newsreader can't avoid without killing the server with hundreds of commands to select each article to test if it's on the server or not. It seems to me that either the newsadmins or the news server must fix this. The newsadmin can choose not to accept spam cancels - either ignoring the spam problem or addressing it only with filters. Or they can set up a front-end machine which accepts the cancels and does a delayed feed to the "reader" machine which gets the same result but solves the "ton of holes" problem for the reader machine. These (especially the filter only option) might be the best way to go. But it seems to me that the server should be able to fix this as well. In the case of INN 2.0 with the storage API, couldn't something be done to remember what was canceled? I understand that it's too expensive to go back and update the overview info every time something is canceled. But what if you just built a seperate list of the article numbers that were canceled (for each group)? I would see this as a file in the overview hierarch next to .oviewview.index file (something like a .cancel.list file). Every time an article was cancled, data would be added to the end of this file listing the article number that was canceled. Then, when comands like LISTGROUP or XOVER were called, the server would read the entire .cancel.list file for the group and match that up against the data it was returning - filtering out the canceled articles. This adds more overhead to cancel processing, and the LISTGROUP and XOVER commands - as well as requiring more clean-up to be done at expire time. But it seems at first glance to be workable to me. I don't know enough about how Diablo's reader code is working to know if something like this is even an option there... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
stale overview data [was Re: Diablo 1.18-REL available]
Author: Thomas Neumann
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
100 lines
5033 bytes
5033 bytes
[ note: subject changed to be more on-topic ] curt@kcwc.com (Curt Welch) writes: > dillon@best.net (Matt Dillon) wrote: > > > > I don't think it is possible to 'fix' this. I think nntp clients > > have to deal with the fact that 'listgroup' and other commands might > > return article numbers that wind up being nonexistant. > Well I agree that newsreaders have to deal with that potential - it can't > be avoided. The article in question might have been cancled or expired > between the time the newsreader did the listgroup and the article command. > > But, if you accept spam cancels, then in many groups, you end up with very > large numbers of the articles being missing (as high as 50% sometimes). Sure, but that's not really a problem, because the fact that an article got cancelled is marked in the history entry for that article (at least w/ INN, don't know what diablo does). When INN cosults the overview data for a group to create the respective information to send to the newsreader, it can make sure that the newsreader does not get overview information for cancelled articles just by looking at the history--which is a (relatively) cheap operation. The more serious problem arises when overview data and article spool get out of sync. This could not happen with older version of INN using the classic spool because expiration of articles and overview data happened in one swoop during news.daily. With newer versions of INN using the CNFS Storagi API method and (I guess) with diablo articles can disappear by other means than a planned expire, namely by being overwritten or aging out of the spool. The fact that an article suddenly disappears from the spool like that is not propagated to the overview subsystem, so stale overview data hangs around (and will be presented to newsreaders) as long as the next news.daily run re-syncs the overview data to the actual article spool, which can at worst be a full day later. One can think of ways how to fix this for INN-2.x, but with diablo's remote spools it is indeed close to impossible for the event of an article disappearing for an arbitrary spool to be propagated to the frontend reader so that it can adjust it's overview information accordingly. > Or they can set up > a front-end machine which accepts the cancels and does a delayed feed > to the "reader" machine which gets the same result but solves the "ton > of holes" problem for the reader machine. These (especially the filter > only option) might be the best way to go. This is good practice indeed, but see below, cancels are not the main problem in the case we're talking about. > But it seems to me that the server should be able to fix this as well. > In the case of INN 2.0 with the storage API, couldn't something be > done to remember what was canceled? As I mentioned above cancels are already recorded in the history. > I understand that it's too expensive > to go back and update the overview info every time something is > canceled. But what if you just built a seperate list of the article > numbers that were canceled (for each group)? I would see this as a file > in the overview hierarch next to .oviewview.index file (something like > a .cancel.list file). Yes, I was thinking of this as well. For INN-2.x it should be possible to recognize the event that an article is about to be overwritten by a new one in the CNFS spool. We could than, prior to nuking the old article, add relevant information for the old article to a list of ``dead articles''. When overview data is generated for newsreaders, INN could check the list of dead articles to see if the article is already gone. Problem is, I'm not that sure if this will be any faster than just using the spool itself as your list of dead (or rather not dead) articles and simply go and check the spool to see if the article is still there, which is exactly what INN does now iff "nnrpdcheckart: true" is in your inn.conf. A separate list of dead articles is yet another database to maintain and adds complexity but may not buy us much. > I don't know enough about how Diablo's reader code is working to know > if something like this is even an option there... Me neither, but remote spools in itself make this hard. Matt, what do you think? -t
Re: Diablo 1.18-REL available
Author: Thomas Neumann
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
41 lines
2501 bytes
2501 bytes
curt@kcwc.com (Curt Welch) writes: > > INN 2.0 with Storage API on one of my machines can accept in the > range of 75 articles per second. On the same machine running 1.7.2, > it does about 15 articles per second. If you are not careful in what > you do to 2.0 when trying to fix the holes caused by canceles, then > you will bring the performance back down to what it was without the > storage API stuff. INN-2.x rulez at article storage, but its overview subsystem is comparatively slow. Slower than 1.7.x anyway. > The way the old versions of INN checked for missing aritcles (and > excluded them from the XOVER data) was by reading the spool directory > every time you did a GROUP command. It used the list of current files > (articles) to know what XOVER data to send and what not to send. It did > not try to go back and update the overview data files every time an article > was canceled. Overview files were only cleaned up at expireover time. > > 2.0 with storage API no longer has a spool directory for each newsgroup > that it can read. True, but it can still do the check you describe (and indeed does if you configure it to do so) --only it's really slooow 'cause (like you explained) there's no easy way to traverse all the articles for one newsgroup in the spool because the spool is not partitioned into chunks that represent groups. Therefore INN-2.x uses the ``unified overview'' data (which exists per-newsgroup) for that group, reads a set of article ids, fetches the Storage API tokens for those ids from the history and then uses the tokens to actually access the spool and check whether the articles exist or not. All that steps make it slow for XOVER operations. -t
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Matt Dillon
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
24 lines
1707 bytes
1707 bytes
:In article <87lnmqunu2.fsf_-_@smart.ruhr.de>,
:Thomas Neumann <tom@smart.ruhr.de> wrote:
:>
:>history entry for that article (at least w/ INN, don't
:>know what diablo does). When INN cosults the overview
Diablo cancels the article in the overview (and also maintains a pre-cancel
cache for cancels received prior to the article). Diablo does not process
cancels into the history database.
Basically, the diablo feeder code does not process control messages at all
but does maintain the history, and the diablo reader code processes all
control messages (including cancels) but does not maintain the history.
Typically, both the feeder and reader sides are running on the same box
but it doesn't have to be this way.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.18-REL available
Author: Jeremy
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
27 lines
2042 bytes
2042 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Fluffy <-- The Other White Meat <fluffy@NO-EMAIL.vszbr.cz>> writes:
>
>> I've seen that a lot of reading is being done (no wait, not reading
>> per se but viewing of nekkid pictures one after another in rapid
>> succession) by making a connection, entering a group, downloading one
>> article, and disconnecting, immediately reconnecting, again issuing
>> the GROUP command to download one more article, and so on ad infinitum.
>
> I've noticed this too. What the hell is with this? Is this some
> behavior of Netscape or something, and why are they using NNTP in that
> fashion? It's horribly inefficient for both the client and the server.
It can be quite educational to fire up that awful Netscape newsreader,
tail -f your news.notice, and start poking on some binaries groups.
If you click on an article before the previous one is completely done
downloading, or click "stop", or click "next" before the previous
article is done downloading, or breathe the wrong way, Netscape will
rather rudely drop the first connection and open up a new one. It's
really quite horrible.
--
Jeremy | jeremy@exit109.com
"Bunch of savages in this town!" --Dante ("Clerks")
Re: Diablo 1.18-REL available
Author: Fluffy -- The Other White Meat
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
41 lines
2910 bytes
2910 bytes
On 9 Oct 1998, Curt Welch wrote: > The way the old versions of INN checked for missing aritcles (and > excluded them from the XOVER data) was by reading the spool directory > every time you did a GROUP command. You know, I've been wondering about this, as I sit, downing a bottle of rotgut while tirelessly sharpening a knife and through bleary eyes watching the commands our lusers give as they fly up the screen, trying to decide how best to deal with them. I've seen that a lot of reading is being done (no wait, not reading per se but viewing of nekkid pictures one after another in rapid succession) by making a connection, entering a group, downloading one article, and disconnecting, immediately reconnecting, again issuing the GROUP command to download one more article, and so on ad infinitum. We're spawning nnrpd processes directly rather than relying on innd to do that for us, and we haven't added any sort of rate limiting to knock these abusers down to size. Well, in theory, the directory should be in the cache after the first hit, provided we have enough memory to keep it in cache, but when we get too many such lusers pounding their pu^H^Hfavourite froups, I would imagine we'd have to be repeatedly rescanning the same directories repeatedly to refresh them, far more than is reasonable. There seems to be code in nnrpd's group.c that won't rescan the group within a given time in the same nnrpd session, but I don't think that helps much with these machine-gun attacks, or with simply having large numbers of people hitting the same popular groups frequently. Wouldn't it be an improvement to cache the results of the directory scan, updating it periodically on demand when the old data is likely to be obsolete (every few minutes, depending on how bastardly you want to be), rather than having to make a disk scan that is far more resource- intensive than other things that might be being cached instead? Oh well, maybe not.... ignore me.... I'll just keep polishing my weaponry
Re: Diablo 1.18-REL available
Author: Jeremy
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
20 lines
1449 bytes
1449 bytes
Rahul Dhesi <c.c.eiftj@28.usenet.us.com> wrote: > Suppose you force the Xref header to only show the article in the > appropriate control.* group. This will leave article numbers untouched > in the actual group, will it not? But downstream feeds will still route > the article based on the Newsgroups header. > > Xref: mynewsmachine.rahul.net control.cancel:345657 > Newsgroups: ba.internet > > I haven't verified that the mismatch between Xref and Newsgroups will > work correctly. The above is just an idea to be considered. This is how INN does it. -- Jeremy | jeremy@exit109.com Cleanfeed spam filter - http://www.exit109.com/~jeremy/news/cleanfeed.html
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Thomas Neumann
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
34 lines
2270 bytes
2270 bytes
dillon@best.net (Matt Dillon) writes: > > The only way it could possibly be done would be to 'test' the > existance of the article in the remote spool(s) in real time (i.e. > at the time of overview record retrieval) in order to determine if > the overview record is stale. > > That is an extremely expensive prospect. Diablo retrieves articles > from remote spools by message-id and only by message-id. [...] Now for something completely ugly: Can we special-case this for the scenario where Diablo feeder+reader run on the same box and _NO_ remote spools are involved? I realize that this is conceptually the same, i.e. the local reader retrieves an article from the local feeder by msg-id just as if it were a remote spool, but ... > is possible to do a 'stat' command on a message-id, the prospect of > loading down one's remote spools with thousands of 'stat' commands... > one every time an overview entry is accessed by some NNTP client, > is not fun to think about... the load on the remote spool's history file > would be ten times the nominal load of a full feed. yep, but in the abovementioned case of local feeder+reader = 1 machine could you posibly imagine a way to short-circuit that operation? That might involve the reader accessing the spool directly, and if I understand the Diablo reader concept, doing so would be very bad engineering. I better stop thinking loud before we all start to vomit all over our keyboards :) -t
Re: Diablo 1.18-REL available
Author: Fluffy -- The Other White Meat
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
63 lines
3576 bytes
3576 bytes
Mrrrow purrr hiss 10 Oct 1998, rowr meow growl Fluffy scratch spray pffft: > > Or maybe something as simple as an xoverd thingie sorta like actived. > > GROUP works pretty well by presenting the numbers from actived instead > of scanning the directory You sure about that? Note that the numbers given by the difference between watermarks in the active file can be drastically different from the actual article count in the group. Note two too that the spec for the GROUP command does not require that the second field returned be an exact match for the number of articles in the group, but rather an approximation. There is at least one reader server out there which does in fact not always return the exact number, which I found was causing problems for the newsreading part of Pine in very early code, back when I was in Brno brno brno brno, but I can't remember which of the sites I was reading from caused this problem. This was back when B News was running on the central swerver there, and things have slightly changed somewhat since. Maybe I have the old e-mail slugfest that ensued. Anyway, let's make a quick check of your theory on an actived-equipped nnrpd: 200 news.inet.tele.dk TeleDanmarkInterNetNews NNRP server INN 1.7 16-Oct-1997 ready (posting ok). list active control.cancel 215 list: control.cancel 71703242 71663060 n .. group control.cancel 211 1046 71702210 71703255 control.cancel 503 Timeout after 3 seconds, closing connection. Either I haven't properly made use of all the features of actived, or else I claim you are speaking in forked tongues of misleading untruth. So there. Pffft. > and ARTICLE/HEAD/BOSY/STAT <number> can > really bypass the scan too. Of course, in order for the <number> parameter to have any context, you first have to select the group, which you do with, surprise, the GROUP command, and the alleged directory scan penalty. bosy 666 500 What? I agree, you are bypassing the scan. Perhaps you made a simple typo. boursy 666 500 Eh? > I thought about the daemon thingy, but there's still going to be a lot > of I/O to populate the article array, albeit through a socket instead > of a disk cache. It doesn't seem like it would pay that well. On the other hand, it's rumoured that the actual solution involves methods which are illegal in these parts, or if the parts of the lusers weilding those browsers can be located after the deed. back to honing the blade, barry bouwsma
Re: Diablo 1.18-REL available
Author: Matt Ranney
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
23 lines
1688 bytes
1688 bytes
Jeremy <jeremy@exit109.com> writes: > If you click on an article before the previous one is completely done > downloading, or click "stop", or click "next" before the previous > article is done downloading, or breathe the wrong way, Netscape will > rather rudely drop the first connection and open up a new one. It's > really quite horrible. Not only that, but if you are reading a group with actual text-based articles in it, and you hold down the space bar to scroll down several screens, you'll find out that the space bar also conveniently advances you to the next article. But before that article comes down all the way, you'll have interrupted it with the space bar, and then you'll get to open lots more connections, dropping them all before you send any commands. Speaking of the Subject line, this kind of thing is actually much less painful with diablo than it was with INN. -- Matt Ranney - mjr@ranney.com Let's not let the students run the High School.
Re: Diablo 1.18-REL available
Author: brian moore
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
28 lines
2234 bytes
2234 bytes
On 10 Oct 1998 06:55:32 GMT,
Fluffy <fluffy@meow.org> wrote:
> Meow meow Fluffy -- The Other White Meat meow meow meow
> fluffy@NO-EMAIL.vszbr.cz meow Kitty?
>
> > Wouldn't it be an improvement to cache the results of the directory
> > scan, updating it periodically on demand when the old data is likely
> > to be obsolete (every few minutes, depending on how bastardly you want
> > to be), rather than having to make a disk scan that is far more resource-
> > intensive than other things that might be being cached instead?
>
> This looks interesting. I remember reading about it long ago in
> inn-workers, and just found a WWW home for it:
>
> http://www.acme.com/java/software/Package-Acme.Nnrpd.html
>
> Multithreaded nnrpd. Don't know how good or bad it is, but it should
> at least be interesting to check out.
Or maybe something as simple as an xoverd thingie sorta like actived.
--
Brian Moore | "The Zen nature of a spammer resembles
Sysadmin, C/Perl Hacker | a cockroach, except that the cockroach
Usenet Vandal | is higher up on the evolutionary chain."
Netscum, Bane of Elves. Peter Olson, Delphi Postmaster
Re: Diablo 1.18-REL available
Author: Fluffy
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
20 lines
2122 bytes
2122 bytes
Brno brno brian moore brno brno brno bem@news.cmc.net brno Kitty? > Or maybe something as simple as an xoverd thingie sorta like actived. GROUP works pretty well by presenting the numbers from actived instead of scanning the directory, and ARTICLE/HEAD/BOSY/STAT <number> can really bypass the scan too. It's only really XOVER/XHDR <range>, NEXT, LAST and A/H/S/B (no param) that care, so delaying the scan 'til those come up works pretty well. That's still a lot of commands, but not the most frequent cases. I thought about the daemon thingy, but there's still going to be a lot of I/O to populate the article array, albeit through a socket instead of a disk cache. It doesn't seem like it would pay that well. Maybe I'll dig up those patches and fit them onto a few common nnrpd versions, instead of one that no longer exists =)
Re: Diablo 1.18-REL available
Author: Fluffy
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
19 lines
1936 bytes
1936 bytes
Meow meow Fluffy -- The Other White Meat meow meow meow fluffy@NO-EMAIL.vszbr.cz meow Kitty? > Wouldn't it be an improvement to cache the results of the directory > scan, updating it periodically on demand when the old data is likely > to be obsolete (every few minutes, depending on how bastardly you want > to be), rather than having to make a disk scan that is far more resource- > intensive than other things that might be being cached instead? This looks interesting. I remember reading about it long ago in inn-workers, and just found a WWW home for it: http://www.acme.com/java/software/Package-Acme.Nnrpd.html Multithreaded nnrpd. Don't know how good or bad it is, but it should at least be interesting to check out.
Re: Diablo 1.18-REL available
Author: Fluffy
Date: Sun, 11 Oct 1998 00:00
Date: Sun, 11 Oct 1998 00:00
59 lines
3818 bytes
3818 bytes
Brno brno Fluffy -- The Other White Meat brno brno brno fluffy@NO-EMAIL.vszbr.cz brno Kitty? > Mrrrow purrr hiss 10 Oct 1998, rowr meow growl Fluffy scratch spray pffft: > > > > GROUP works pretty well by presenting the numbers from actived instead > > of scanning the directory > > You sure about that? Note that the numbers given by the difference > between watermarks in the active file can be drastically different from > the actual article count in the group. Yup. I don't see it as that big a deal, since there have been newsreaders relying on LIST instead of GROUP forever. > Note two too that the spec for the GROUP command does not require > that the second field returned be an exact match for the number of > articles in the group, but rather an approximation. Yup, it allows it to come straight out of active, for instance =) > There is at least one reader server out there which > does in fact not always return the exact number, which I found was > causing problems for the newsreading part of Pine in very early code, > back when I was in Brno brno brno brno, but I can't remember which of > the sites I was reading from caused this problem. Recent Pines still kind of suck at news, but the recent builds have been a defnite improvement over the stuff from a few years ago. The thing does know about LISTGROUP and such; can it really be building an array based on numbers that were never guaranteed to be right? Ugh. > group control.cancel > 211 1046 71702210 71703255 control.cancel > 503 Timeout after 3 seconds, closing connection. > > Either I haven't properly made use of all the features of actived, or > else I claim you are speaking in forked tongues of misleading untruth. > So there. Pffft. Normally, nnrpd isn't coded to use actived there :/ > > and ARTICLE/HEAD/BOSY/STAT <number> can > > really bypass the scan too. > > Of course, in order for the <number> parameter to have any context, > you first have to select the group, which you do with, surprise, the > GROUP command, and the alleged directory scan penalty. Which is the reason for shutting off that 'feature.' GROUOP itself doesn't really need to be building the article array; the counting and ordering ought to wait until they're really needed. -- "Fluffy sometimes works in mysterious ways; we cannot always understand them, but they are For The Best." --Sexzilla.NET Newsmaster
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Joe Greco
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
30 lines
2244 bytes
2244 bytes
In news.software.nntp article <6vm3nd$c71$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote: ::In article <86btnlpf5j.fsf@sucks.tmr.net>, ::Thomas Neumann <tn@tmr-online.de> wrote: ::>dillon@best.net (Matt Dillon) writes: ::>> ::>> The only way it could possibly be done would be to 'test' the ::>> existance of the article in the remote spool(s) in real time (i.e. ::>> at the time of overview record retrieval) in order to determine if ::>> the overview record is stale. ::>> ::>> That is an extremely expensive prospect. Diablo retrieves articles ::>> from remote spools by message-id and only by message-id. [...] ::> ::>Now for something completely ugly: Can we special-case this ::>for the scenario where Diablo feeder+reader run on the ::>same box and _NO_ remote spools are involved? I realize that : : No way. Making it 'work' for a subset of viable configurations is worse : then making it uniformly not work over all configurations. Agree. The way to do this, and it's totally impractical and impossible, would be to give the reader server a way to track article existence more closely, which assumes some changes to NNTP and imposes some nasty limits on what you could use for a remote article server. Then the reader could track _which_ servers actually had an article, which would be nice, but again, also impossible as things stand. ... JG
Re: Diablo 1.18-REL available
Author: Frank Durda IV
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
56 lines
4141 bytes
4141 bytes
> Fluffy <-- The Other White Meat <fluffy@NO-EMAIL.vszbr.cz>> writes:
> > I've seen that a lot of reading is being done (no wait, not reading per
> > se but viewing of nekkid pictures one after another in rapid succession)
> > by making a connection, entering a group, downloading one article, and
> > disconnecting, immediately reconnecting, again issuing the GROUP command
> > to download one more article, and so on ad infinitum.
(Side comment - Might want to check out the poorly propagated:
rec.pets.cats.the.other.white.meat 0000000034 0000000032 y :-)
)
> Russ Allbery wrote:
> I've noticed this too. What the hell is with this? Is this some behavior
> of Netscape or something, and why are they using NNTP in that fashion?
> It's horribly inefficient for both the client and the server.
We traced almost all of the instances of this behaviour that we are
seeing here as people running caching software who were trying to feed
their office or ISP off of a handfull of connections to our servers,
or several people connected to their dorm computer.
You'd see connect, group X, read article N, close, connect, group X,
read article N+1, close, connect group X, read article N+2, close, etc,
all just a few seconds apart. Absolutely no attempt to manage the
connections and hold them open for a while. Telnet back to the offending
IP address and find a NNRP caching server lurking there, sometimes
in 200 mode too.
We even have one case of someone doing the above but also doing NNRP
authentication (user/pass) for each connection, so you would see
open connect, authenticate, group, read, close, repeat. Duh.
Another cacher package opens and holds several connections open, but makes
no attempt to optimize requests, so connection 1 will do a group X and ask
for article N, then after several seconds of connection 1 being idle,
connection 3 will go to group X and ask for article N+1 (connection 1 is
still open and idle), then connection 12 will go to group X and ask for
article N+2 and so on. Perhaps this looks efficient from the caching
side of things, but not on the server side. This cacher always issues
a GROUP command prior to each HEAD/BODY command, even if it is already
in the right group, thus wasting even more time on the server. We've
changed nnrpd to ignore this particular wastage.
These various goofy caching implementations are real unfortunate, because
you would sorta expect a caching system to reduce load on the main
server, not increase it.
Frank Durda IV - only these addresses work:|"Brad, are you pondering what I'm
<uhclem.oct98%nemesis.lonestar.org> | pondering?" "I think so, Bill,
| but I don't think Larry Ellison
This Anti-spam address expires Oct. 31st | would ever agree to star in the
(c) 1998, ask before reprinting. re-make of 'My Favorite Martian'."
Re: Diablo 1.18-REL available
Author: Joe Greco
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
30 lines
2105 bytes
2105 bytes
In news.software.nntp article <ylu31cq5fm.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: :Fluffy <-- The Other White Meat <fluffy@NO-EMAIL.vszbr.cz>> writes: : :> I've seen that a lot of reading is being done (no wait, not reading per :> se but viewing of nekkid pictures one after another in rapid succession) :> by making a connection, entering a group, downloading one article, and :> disconnecting, immediately reconnecting, again issuing the GROUP command :> to download one more article, and so on ad infinitum. : :I've noticed this too. What the hell is with this? Is this some behavior :of Netscape or something, and why are they using NNTP in that fashion? :It's horribly inefficient for both the client and the server. This is something that I've been complaining about for YEARS. Where has everybody been? THIS WAS WHY I WROTE ACTIVED. I WAS GETTING HAMMERED BY THESE IDIOTS. It is not only Netscape, although Netscape is among the worst offenders, since Netscape "allows" a luser to "stop" a picture from downloading by clicking on something else... other software does it too. But I suppose all the newsadmins from that era are now burnt out, and most of the readers here are now new. :-) ... JG
Re: Diablo 1.18-REL available
Author: Greg Andrews
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
13 lines
1072 bytes
1072 bytes
Frank Durda IV <uhclem.oct98@nemesis.lonestar.org> writes: > >These various goofy caching implementations are real unfortunate, because >you would sorta expect a caching system to reduce load on the main >server, not increase it. > So name some names and let's apply peer pressure to the authors of such awful software. -Greg
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Joe Greco
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
46 lines
3050 bytes
3050 bytes
In news.software.nntp article <6vts8t$qju@newsops.execpc.com>, jgreco@ns.sol.net (Joe Greco) wrote: :In news.software.nntp article <6vm3nd$c71$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote: :::In article <86btnlpf5j.fsf@sucks.tmr.net>, :::Thomas Neumann <tn@tmr-online.de> wrote: :::>dillon@best.net (Matt Dillon) writes: :::>> :::>> The only way it could possibly be done would be to 'test' the :::>> existance of the article in the remote spool(s) in real time (i.e. :::>> at the time of overview record retrieval) in order to determine if :::>> the overview record is stale. :::>> :::>> That is an extremely expensive prospect. Diablo retrieves articles :::>> from remote spools by message-id and only by message-id. [...] :::> :::>Now for something completely ugly: Can we special-case this :::>for the scenario where Diablo feeder+reader run on the :::>same box and _NO_ remote spools are involved? I realize that :: :: No way. Making it 'work' for a subset of viable configurations is worse :: then making it uniformly not work over all configurations. : :Agree. The way to do this, and it's totally impractical and impossible, :would be to give the reader server a way to track article existence more :closely, which assumes some changes to NNTP and imposes some nasty limits :on what you could use for a remote article server. Then the reader could :track _which_ servers actually had an article, which would be nice, but :again, also impossible as things stand. Although... to follow up to myself, a really bad practice... It would seem quite reasonable, in the current scenario, to provide a flag in the overview that conceptually has the values "article might exist"/"article didn't exist". In other words, set the flag to "might- exist" when creating the overview. If any reader tries to read the article and gets negative acknowledgements from all possible article servers, then that reader should mark the article as "didn't exist", and in doing so, cache that result for future readers. It means that only one client would see an unavailable article, and then only once. This has obvious performance advantages. ... JG
Re: Diablo 1.18-REL available
Author: Curt Welch
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
23 lines
1820 bytes
1820 bytes
davidsen@tmr.com (bill davidsen) wrote:
> In article <19981009012105.852$Sd@newsreader.com>,
> Curt Welch <curt@kcwc.com> wrote:
>
> | But, if you accept spam cancels, then in many groups, you end up with
> | very large numbers of the articles being missing [but not removed
from the overview ]
> I thought that was fixed in 2.1, no? The complaints went away, and I
> don't see a lot of missing articles. With the database overview you
> should have less overhead from a cancel deletion.
I don't know. From what I've read I thought the problem wasn't fixed.
The last version I tried was a 2.0 snapshot from shortly before the
2.1 release and it still had the problem. Maybe I should check out
2.1 before I say anything else about its "problems" :)
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Diablo 1.18-REL available
Author: Vince Vielhaber
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
37 lines
2419 bytes
2419 bytes
In article <6vtrs3$eso@newsops.execpc.com>, jgreco@ns.sol.net (Joe Greco) writes: > In news.software.nntp article <ylu31cq5fm.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >: >:I've noticed this too. What the hell is with this? Is this some behavior >:of Netscape or something, and why are they using NNTP in that fashion? >:It's horribly inefficient for both the client and the server. > > This is something that I've been complaining about for YEARS. Where has > everybody been? > > THIS WAS WHY I WROTE ACTIVED. I WAS GETTING HAMMERED BY THESE IDIOTS. > > It is not only Netscape, although Netscape is among the worst offenders, > since Netscape "allows" a luser to "stop" a picture from downloading by > clicking on something else... other software does it too. > > But I suppose all the newsadmins from that era are now burnt out, and > most of the readers here are now new. Nope, you're not all alone here. I remember many of us begging the authors at Netscape to stop doing it to no avail, they listened to us as well as they did about HTML posts. I tried delays on reconnections, limiting connections (M$ was one of the worst for multiple connections that it'd abandon). On some of the lower quality servers that I run (just a few heirarchies on a wimpy machine) I don't allow those readers to even be used - if they try I visit them personally!!! Vince.
Re: Diablo 1.18-REL available
Author: Fluffy
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
35 lines
2978 bytes
2978 bytes
Zrbj zrbj XOXO Fluffy zrbj zrbj zrbj bofh@newsmangler.inet.tele.dk zrbj Kitty? > Yahbut, doing a CMDfetch on a message number also has the result of > setting ARTindex, the pointer to the current article, which is then used > by future commands. Which is why I took the easy way out and put that > scan back in at that point. What I do is set a global boolean flag that notes whether the contents of the article array are valid (it gets set by a directory scan, unset whenever the current group changes). I can then decide whether to trust the other vars. > Do I really want to populate the array with the numbers from the active > file watermarks gp->Low to gp->High inclusive, in order to get some value > for ARTindex which may or may not match when the array is scanned from the > disk? I'm not sure yet, but the night is early, and there's still a > bottle of fortitude in front of me that hasn't fallen empty to the floor > yet. Nope, just make a point of ignoring that step until you actually need it. Then, if you're flag says dirty, go scan the directory. > I'm not sure yet if there is much of an advantage to be seen from the > previous hackery to eliminate the gratuitous directory scans when the > clients update the available articles in their subscribed groups. I want > to think so, and things look good so far, but it could also be that people > are discouraged by our b0rken swerver and are going elsewhere to download > their pr0nz. All I know is that on the reader end, slrn is a *lot* quicker to return when I whap that 'g' key every ten seconds. It's even noticeable on my Mac which gets to the LAN through localtalk.
Re: Diablo 1.18-REL available
Author: Frank Durda IV
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
34 lines
2402 bytes
2402 bytes
: Frank Durda IV <uhclem.oct98@nemesis.lonestar.org> writes: : >These various goofy caching implementations are real unfortunate, because : >you would sorta expect a caching system to reduce load on the main : >server, not increase it. Greg Andrews (gerg@shell1.ncal.verio.com) wrote: : So name some names and let's apply peer pressure to the authors : of such awful software. NNTPCache for a start. Perhaps not all versions, but certainly the versions a couple of my customers are using. They consume several times the resources that someone sitting there using Netscape 3.x to read news is using. I know a lot of automatically people flame Netscape on this point, but Netscape Navigators newsreader doesn't seem to do this nonsense nearly as often as the various cachers do. I consider Netscape inefficient and in some areas blunderously stupid, but only a five on a scale of ten when you include these Caching servers. (Agent doesn't win any Einstein awards either.) Maybe people here are really complaining about Netscape Collabra or one particular version of navigator/communicator that is particularly badly behaved. Perhaps people should be naming platforms, applications and specific versions to focus on exactly what is badly or very-badly behaved. Frank Durda IV - only these addresses work:|"Look! They're having a <uhclem.oct98%nemesis.lonestar.org> | going into business sale!" This Anti-spam address expires Oct. 31st | (c) 1998, ask before reprinting.
Re: Diablo 1.18-REL available
Author: Fluffy
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
42 lines
3217 bytes
3217 bytes
Zrbj zrbj Fluffy XXX zrbj zrbj zrbj bofh@newsmangler.int.tele.dk zrbj Kitty? > I've made a quick hack to nnrpd to return the data from the active file > (via actived) in response to the GROUP command, rather than immediately > doing the directory scan. Unfortunately, without doing a bunch more work, > I've resigned myself to doing the scan to populate the ARTnumbers[] array > pretty much at the first command thereafter, as I need to look more > closely at how readily commands like LAST, which require such a scan, can > be detached from an ARTICLE ### command immediately before, without > breaking things too much. It's not too bad really. A/H/B/S <number> already has code to account for something that goes missing between the dirscan and the read, and you can definitely skip the scan for A/H/B/S <msgid>. The only times you really want to bother scanning are for XHDR/XOVER/XPAT, NEXT, LAST and LISTGROUP. Oh yeah, and A/H/B/S without an argument, but fortunately those usually involve serial scans that will benefit from loading the array anyway. I actually have this working, but it's commingled with icky code that punches holes in the article array for other sinister purposes, so I'd have to put back in some shortcuts I took out. > So at the moment there's no benefit for the connect-get-one-article- > disconnect-reconnect-GROUP-get-another-article-disconnect-ad-nauseam > readership, but I did think of one case where it would be a significant > savings... Yup. I know that at least NewsWatcher and slrn depend on group-group-group and there are plenty of others. > Does Netscape or other similar newsreaders make a list of the available > articles in groups by issuing a rapid-fire series of GROUP commands, or > does it parse the result of listing the active file directly, or does it > use some other command which hits overview data instead? I believe those are group-group-group munchers as well. Not very many readers rely on LIST or LIST ACTIVE <froup>.
Re: Diablo 1.18-REL available
Author: Vince Vielhaber
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
30 lines
2101 bytes
2101 bytes
In article <6vttis$8dt$1@shell1.ncal.verio.com>, gerg@shell1.ncal.verio.com (Greg Andrews) writes: > Frank Durda IV <uhclem.oct98@nemesis.lonestar.org> writes: >> >>These various goofy caching implementations are real unfortunate, because >>you would sorta expect a caching system to reduce load on the main >>server, not increase it. >> > > So name some names and let's apply peer pressure to the authors > of such awful software. We did. Along with the HTML in posts. It was hinted that it wouldn't be that way when the stuff was released and just before release the folks that were making the assurances disappeared and the clients weren't changed. Netscape and M$ were two of 'em. M$ is especially nasty with the supposed caching that they do. They open a few connections, read a bit, then drop the connection without issuing a QUIT first. Then they do it again. I crabbed at one luser that was doing it while I was on the phone with him. He was as amused at me *accidently* dropping his connection as I was about his attitude. Vince.
Re: Diablo 1.18-REL available
Author: Fluffy XXX
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
52 lines
3343 bytes
3343 bytes
On 12 Oct 1998, Joe Greco wrote: > :> disconnecting, immediately reconnecting, again issuing the GROUP command > > This is something that I've been complaining about for YEARS. Where has > everybody been? Some of us have been curled up under a desk, where it's warm and comfortable. Of course, your reason for writing actived was somewhat different from my current view on it. You wrote it so as not to hash the active file for every connection, whereas I'm looking at the possible loss of performance from the directory scans that are implied by the default action of nnrpd when given this command, whether from a thousand readers all viewing different groups or one reader scanning quickly through hundreds of different groups. > It is not only Netscape, although Netscape is among the worst offenders, > since Netscape "allows" a luser to "stop" a picture from downloading by I've made a quick hack to nnrpd to return the data from the active file (via actived) in response to the GROUP command, rather than immediately doing the directory scan. Unfortunately, without doing a bunch more work, I've resigned myself to doing the scan to populate the ARTnumbers[] array pretty much at the first command thereafter, as I need to look more closely at how readily commands like LAST, which require such a scan, can be detached from an ARTICLE ### command immediately before, without breaking things too much. So at the moment there's no benefit for the connect-get-one-article- disconnect-reconnect-GROUP-get-another-article-disconnect-ad-nauseam readership, but I did think of one case where it would be a significant savings... Does Netscape or other similar newsreaders make a list of the available articles in groups by issuing a rapid-fire series of GROUP commands, or does it parse the result of listing the active file directly, or does it use some other command which hits overview data instead? I've watched in horrified fascination to see as it fills out the numbers of articles in different groups one after another... Am I protecting myself from any reader crudware by not doing scans solely for GROUP commands, or have I just wasted time I should be sleeping, putting off the inevitable hacks to not do the scans until really and absolutely needed? Oh well, I should have a better excuse... Brno! Fluffy The Other
Re: Diablo 1.18-REL available
Author: Matt Dillon
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
28 lines
1832 bytes
1832 bytes
:In article <6vtrs3$eso@newsops.execpc.com>,
:Joe Greco <jgreco@ns.sol.net> wrote:
:>In news.software.nntp article <ylu31cq5fm.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote:
:>:Fluffy <-- The Other White Meat <fluffy@NO-EMAIL.vszbr.cz>> writes:
:>:
:>:> I've seen that a lot of reading is being done (no wait, not reading per
:>:> se but viewing of nekkid pictures one after another in rapid succession)
:..
:>:I've noticed this too. What the hell is with this? Is this some behavior
:>:of Netscape or something, and why are they using NNTP in that fashion?
:...
:>This is something that I've been complaining about for YEARS. Where has
:>everybody been?
:>
I've noticed this too. When I was running my open-reader tests, there
were a few sites that would connect and disconnect over and over again.
Fortunately, Diablo doesn't care.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.18-REL available
Author: bill davidsen
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
20 lines
1868 bytes
1868 bytes
In article <Pine.LNX.4.00.9810100542280.8264-100000@coredump.int.tele.dk>,
Fluffy -- The Other White Meat <fluffy@NO-EMAIL.vszbr.cz> wrote:
| I've seen that a lot of reading is being done (no wait, not reading
| per se but viewing of nekkid pictures one after another in rapid
| succession) by making a connection, entering a group, downloading
| one article, and disconnecting, immediately reconnecting, again
| issuing the GROUP command to download one more article, and so on
| ad infinitum. We're spawning nnrpd processes directly rather than
| relying on innd to do that for us, and we haven't added any sort of
| rate limiting to knock these abusers down to size.
Hopefully you are using nnrpd as a daemon and running actived as well.
This prevents too much harm from lots of connects.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
Never underestimate the power of stupid people in large groups
Re: Diablo 1.18-REL available
Author: Fluffy XXX
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
26 lines
2339 bytes
2339 bytes
On 11 Oct 1998, Fluffy wrote: > thing does know about LISTGROUP and such; can it really be building an > array based on numbers that were never guaranteed to be right? Ugh. Well, yes, it is, as I see that the missing articles now correspond to the same missing articles I have always seen under lynx, my preferred newsreader for seeing the effects of various cancel sprees and other gaps in article numbering. Normally, only articles which had been cancelled since one entered a group would be obviously not there. I wonder how it will look with other newsreaders. Heh. Well, our trained staff of highly-skilled phone crisis managers should find out as soon as they get in for work in a few hours. Good thing we're the phone company too, so we get even more money when people tie up the lines on hold when I break something. We just can't lose. I wonder if I should bother to point this thread at news.software.readers. I wonder if I should bother to change the subject header. Nah. > "Fluffy sometimes works in mysterious ways; we cannot always understand Meow?
Re: Diablo 1.18-REL available
Author: XOXO Fluffy
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
66 lines
4236 bytes
4236 bytes
On 13 Oct 1998, Fluffy wrote: > > closely at how readily commands like LAST, which require such a scan, can > > be detached from an ARTICLE ### command immediately before, without > > breaking things too much. > > It's not too bad really. A/H/B/S <number> already has code to account > for something that goes missing between the dirscan and the read, and > you can definitely skip the scan for A/H/B/S <msgid>. Yahbut, doing a CMDfetch on a message number also has the result of setting ARTindex, the pointer to the current article, which is then used by future commands. Which is why I took the easy way out and put that scan back in at that point. Do I really want to populate the array with the numbers from the active file watermarks gp->Low to gp->High inclusive, in order to get some value for ARTindex which may or may not match when the array is scanned from the disk? I'm not sure yet, but the night is early, and there's still a bottle of fortitude in front of me that hasn't fallen empty to the floor yet. > The only times you really want to bother scanning are for > XHDR/XOVER/XPAT, NEXT, LAST and LISTGROUP. Oh yeah, and A/H/B/S > without an argument, but fortunately those usually involve serial > scans that will benefit from loading the array anyway. Now, since most of our lusers are probably only issuing CMDfetch ARTICLE commands based on the numbers of the articles of interest (or, as it seems, article of interest most of the time), I wouldn't worry much about this, but if you read news like me, with Only Newsreader That Counts, Telnet-119[tm], you're going to give a HEAD ### command and then following that, a series of LAST commands. Particularly in groups like control.newgroup that seem to have large gaps in 'em nowadays. I'm sure there would be a way to map the current article pointer that results from the HEAD ### command to an appropriate entry when the group gets Really And Truly GRPscandir()ed, even in the case where the article which was retrieved by the initial HEAD command to set the current pointer gets wiped out before the scan made by the initial subsequent LAST command. I'm going to have to think this over a little bit, cuz there are lusers online now who will pester our Helldesk when I break things, and the people who take the onslaught when I break things, they know where I live. Bah, with this climate that's an advantage, I throw caution and common sense to the winds now... > I believe those are group-group-group munchers as well. Not very many > readers rely on LIST or LIST ACTIVE <froup>. I'm not sure yet if there is much of an advantage to be seen from the previous hackery to eliminate the gratuitous directory scans when the clients update the available articles in their subscribed groups. I want to think so, and things look good so far, but it could also be that people are discouraged by our b0rken swerver and are going elsewhere to download their pr0nz. Ah, the night is young, and the Helldesk will be empty when I unleash the latest hacked code to break the few persistent lusers who continue to read news instead of getting their beauty rest. Heh heh. Zrbj.
Re: Diablo 1.18-REL available
Author: bill davidsen
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
20 lines
1826 bytes
1826 bytes
In article <19981009012105.852$Sd@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
| But, if you accept spam cancels, then in many groups, you end up with very
| large numbers of the articles being missing (as high as 50% sometimes).
| And in this case, the user (depending on how the newsreader works and
| how the user is using it), can end up getting tons of "article canceled"
| messages. And that's a real problem (at least I think it is). And it's
| one the newsreader can't avoid without killing the server with hundreds of
| commands to select each article to test if it's on the server or not.
I thought that was fixed in 2.1, no? The complaints went away, and I
don't see a lot of missing articles. With the database overview you
should have less overhead from a cancel deletion.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
Never underestimate the power of stupid people in large groups
Re: Diablo 1.18-REL available
Author: Greg Andrews
Date: Wed, 14 Oct 1998 00:00
Date: Wed, 14 Oct 1998 00:00
32 lines
1963 bytes
1963 bytes
vev-news@michvhf.com (Vince Vielhaber) writes: >In article <6vttis$8dt$1@shell1.ncal.verio.com>, > gerg@shell1.ncal.verio.com (Greg Andrews) writes: >> Frank Durda IV <uhclem.oct98@nemesis.lonestar.org> writes: >>> >>>These various goofy caching implementations are real unfortunate, because >>>you would sorta expect a caching system to reduce load on the main >>>server, not increase it. >>> >> >> So name some names and let's apply peer pressure to the authors >> of such awful software. > >We did. Along with the HTML in posts. It was hinted that it wouldn't >be that way when the stuff was released and just before release the >folks that were making the assurances disappeared and the clients weren't >changed. > >Netscape and M$ were two of 'em. M$ is especially nasty with the supposed >caching that they do. They open a few connections, read a bit, then drop >the connection without issuing a QUIT first. Then they do it again. I >crabbed at one luser that was doing it while I was on the phone with him. >He was as amused at me *accidently* dropping his connection as I was about >his attitude. > You're saying that Netscape and aIEeee are the kind of caching NNTP servers that Frank was describing? -Greg
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Clayton O'Neill
Date: Wed, 14 Oct 1998 00:00
Date: Wed, 14 Oct 1998 00:00
30 lines
2120 bytes
2120 bytes
On 13 Oct 1998 15:08:38 -0500, Joe Greco <jgreco@ns.sol.net> wrote: |Although... to follow up to myself, a really bad practice... | |It would seem quite reasonable, in the current scenario, to provide a |flag in the overview that conceptually has the values "article might |exist"/"article didn't exist". In other words, set the flag to "might- |exist" when creating the overview. If any reader tries to read the |article and gets negative acknowledgements from all possible article |servers, then that reader should mark the article as "didn't exist", |and in doing so, cache that result for future readers. | |It means that only one client would see an unavailable article, and |then only once. | |This has obvious performance advantages. Agreed, I started implementing this last night and will hopefully have it done today. As far as the cost of going to the spool, that's really a non-issue, I committed code earlier this week that causes nnrpd to preopen the spool files at startup time. With that done, the CNFS storage module can tell if a given storage token is already on disk by just looking at it and the current offset and cycle. No need to access disk except every few minutes to update the headers. -- coneill@rcn.com|blahlblahblah@oneill.net
Re: stale overview data [was Re: Diablo 1.18-REL available]
Author: Thomas Neumann
Date: Wed, 14 Oct 1998 00:00
Date: Wed, 14 Oct 1998 00:00
31 lines
1927 bytes
1927 bytes
jgreco@ns.sol.net (Joe Greco) writes: > It would seem quite reasonable, in the current scenario, to provide a > flag in the overview that conceptually has the values "article might > exist"/"article didn't exist". In other words, set the flag to "might- > exist" when creating the overview. If any reader tries to read the > article and gets negative acknowledgements from all possible article > servers, then that reader should mark the article as "didn't exist", > and in doing so, cache that result for future readers. > > It means that only one client would see an unavailable article, and > then only once. > > This has obvious performance advantages. Sounds good. One thought: Would it be possible for an article to not be available from any spool server _YET_, thus being marked as unavailable on the reader, and a few seconds later the article arrives on one of the servers but is now in fact unreachable for the reader? (This seems very unlikely because some server must have supplied the header for that article via the header feed, and to me it seems like a reasonable assumption that at least that server has the article in the spool). -t
Re: Diablo 1.18-REL available
Author: Vince Vielhaber
Date: Thu, 15 Oct 1998 00:00
Date: Thu, 15 Oct 1998 00:00
68 lines
4088 bytes
4088 bytes
In article <7020kl$res$1@shell1.ncal.verio.com>, gerg@shell1.ncal.verio.com (Greg Andrews) writes: > vev-news@michvhf.com (Vince Vielhaber) writes: >>In article <6vttis$8dt$1@shell1.ncal.verio.com>, >> gerg@shell1.ncal.verio.com (Greg Andrews) writes: >>> Frank Durda IV <uhclem.oct98@nemesis.lonestar.org> writes: >>>> >>>>These various goofy caching implementations are real unfortunate, because >>>>you would sorta expect a caching system to reduce load on the main >>>>server, not increase it. >>>> >>> >>> So name some names and let's apply peer pressure to the authors >>> of such awful software. >> >>We did. Along with the HTML in posts. It was hinted that it wouldn't >>be that way when the stuff was released and just before release the >>folks that were making the assurances disappeared and the clients weren't >>changed. >> >>Netscape and M$ were two of 'em. M$ is especially nasty with the supposed >>caching that they do. They open a few connections, read a bit, then drop >>the connection without issuing a QUIT first. Then they do it again. I >>crabbed at one luser that was doing it while I was on the phone with him. >>He was as amused at me *accidently* dropping his connection as I was about >>his attitude. >> > > You're saying that Netscape and aIEeee are the kind of caching NNTP > servers that Frank was describing? Not so much Netscape, although it'll drop a connection prematurely. The reader that M$ came up with that (as they call it) caches the sessions will open up a number of connections and not necessarily use the XOVER database, rather it'll start an article read and dump the connection. It'll do this on more than one connection at a time. What exact reader it was I don't recall, I've found that if I *don't* watch the logs that much I don't get teed off at things like that. Until this week, the server I'm running at work was running inn 1.7 on an old HP 380. Now I'm running a P2-266 and using Diablo reader/feeder (even tho it's really overkill) and it doesn't seem to really care about connections misbehaving. A guy at work came up with a newfangled reader that will grab the headers to every article in a group then drop the connection (it'd be worse but I've never allowed newnews and Diablo doesn't support it either). It's not acting as a server, just showing the luser all the articles in each group. The two times I watched this one in action, it openned a new connection for each group it looked at - he was looking at 10 groups. The logs showed some ungawdly number of articles he supposedly read, something more than 1000 in a period of 4 minutes or something like that. I paid him a visit :) Anyway, my point is that it's not necessarily someone trying to sneak a feed (although I wouldn't discount that) but for some reason there are some authors/marketing depts out there that seem to think that this is what the lusers want. *shrug* If I think about it I'll check with him to see what that thing is (he's out of town this week). Vince.
Re: Diablo 1.18-REL available
Author: Fluffy The Postal
Date: Sat, 17 Oct 1998 00:00
Date: Sat, 17 Oct 1998 00:00
33 lines
2670 bytes
2670 bytes
How evil, to clarify one of my own postings... Here goes anyway, referring to making use of Pine as a newsreader On Tue, 13 Oct 1998, Fluffy XXX wrote: > > thing does know about LISTGROUP and such; can it really be building an > > array based on numbers that were never guaranteed to be right? Ugh. > > Well, yes, it is, as I see that the missing articles now correspond to the > same missing articles I have always seen under lynx, my preferred > newsreader Actually, having rebooted a few times making it necessary to use various different versions, it seems that the 3.96 Pine gives a LISTGROUP command or similar needed to figure out what is present and what isn't, which requires the directory scan. Pointing this buggy 4.00 at the same swerver, which I'm further breaking in an attempt to see if anyone out there is awake, as well as drive readers to seek their gratification by other means, it appears that now the number returned by the GROUP command (identical to the active file, with the article count not matching the true number of articles in many cases), is used to figure the alleged exact number of articles. Thus there are gaps when I return the difference rather than an actual count. It will be interesting to see what newsreaders break, as I continue to break functionality. One would hope not too many, or a lot, depending... pointless data, 'tis barry bouwsma
Cheating on directory scans (was something about Diablo)
Author: Fluffy
Date: Sat, 17 Oct 1998 00:00
Date: Sat, 17 Oct 1998 00:00
31 lines
2435 bytes
2435 bytes
Zrbj zrbj Fluffy The Postal zrbj zrbj zrbj abuse@newsmangler.inet.tele.dk zrbj Kitty? > Actually, having rebooted a few times making it necessary to use various > different versions, it seems that the 3.96 Pine gives a LISTGROUP command > or similar needed to figure out what is present and what isn't, which > requires the directory scan. > > Pointing this buggy 4.00 at the same swerver, Yes, extremely buggy. Don't try to crosspost with it =) > which I'm further breaking > in an attempt to see if anyone out there is awake, as well as drive > readers to seek their gratification by other means, it appears that now > the number returned by the GROUP command (identical to the active file, > with the article count not matching the true number of articles in many > cases), is used to figure the alleged exact number of articles. Ugh. It *is* amazing how quickly it moved up to 4.05, and I'll bet I'm behind again. I'm experiencing a simliar adventure right now with the storage mangler (woe be to they who forget an overvirew feed), trying to fool perl into thinking that overview indices are directories and so on. At this point I'm inclined to simply let readdir return entries that no longer exist, and leave the error reporting up to things like stat and open. The overhead of a history lookup just isn't worth it.
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