🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Michael Hucka Thu, 26 Jun 1997 00:00
Another question about cancels
#18743
Author: Michael Hucka
Date: Thu, 26 Jun 1997 00:00
22 lines
1606 bytes
On our server, processing cancels takes a significant amount of time -- so
much so that I get a substantial innd speedup after implementing a variant of
Joe Greco's recent suggestion of trimming the control/cancel directory.
However, this impacts cancel messages that are supposed to be passed on to
other sites: many of our outgoing feeds backlog and will miss getting cancel
messages if they're removed after a few hours.  This is detrimental to
various people's efforts at spam control.

I've been wondering about this idea, though: what if one could periodically
move the cancel messages out of control/cancel into some other directory (to
keep the size of control/cancel small) and then arrange to feed the cancel
messages from this alternate directory?

Is there an easy way to implement such a scheme?

-- 
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

Re: Another question about cancels
#18798
Author: Joe Greco
Date: Fri, 27 Jun 1997 00:00
52 lines
2635 bytes
In news.software.nntp article <82iuz0n1l0.fsf@peachfuzz.eecs.umich.edu>, Michael Hucka <hucka@eecs.umich.edu> wrote:
:On our server, processing cancels takes a significant amount of time -- so
:much so that I get a substantial innd speedup after implementing a variant of
:Joe Greco's recent suggestion of trimming the control/cancel directory.
:However, this impacts cancel messages that are supposed to be passed on to
:other sites: many of our outgoing feeds backlog and will miss getting cancel
:messages if they're removed after a few hours.  This is detrimental to
:various people's efforts at spam control.
:
:I've been wondering about this idea, though: what if one could periodically
:move the cancel messages out of control/cancel into some other directory (to
:keep the size of control/cancel small) and then arrange to feed the cancel
:messages from this alternate directory?
:
:Is there an easy way to implement such a scheme?

Yes, you do the following:

Inside INN, you locate the location where the article pathname is
generated.  That would be right here, in art.c:

/* Write the article the first time. */
(void)sprintf(Data.Name, "%s/%lu", ngp->Dir, ngp->Filenum);

You then track that down and break it to not write to a single directory.

Since nobody seems to have realized that NO sane person goes into the
control.cancel newsgroup via NNRP, I'll lay it out really simply:  you
can change the spool format for control/cancel safely!  Dammit!
Arrrrggghhh.  I figured this out _years_ ago when I was running a Sun
3/60 with half a dozen slow 660MB disks.

Okay, well, I'm irritated, probably more than I should be.  Too little
sleep.

I may be able to even dig up the PATCH I wrote to do this.

Arrrrrg.  Okay, so it needs a little updating.

You want a thousandfold decrease in cancel directory searching overhead?

All right then.  Have at it.

The grand fix of all fixes for the Great Cancel Problem is located at
http://www.nntp.sol.net/patches

:-)

... JG

Re: Another question about cancels
#18848
Author: Georg v.Zezschwitz
Date: Sun, 29 Jun 1997 00:00
19 lines
1295 bytes
Michael Hucka <hucka@eecs.umich.edu> wrote:
: I've been wondering about this idea, though: what if one could periodically
: move the cancel messages out of control/cancel into some other directory (to
: keep the size of control/cancel small) and then arrange to feed the cancel
: messages from this alternate directory?
That's exactly what we do. But we are running Linux and the sudden 
called "inum" patch (http://www.news.erols.com) which is avaiable
only for Linux. (Instead of the file names the inodes are referenced in
the feed files and therefore a change of the directory does not effect
the feed files).

I don't now if something similar exists for other OS.

Bye,

Georg

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