Thread View: news.software.nntp
6 messages
6 total messages
Started by Homer W. Smith
Wed, 05 Feb 1997 00:00
Re: INN 1.5
Author: Homer W. Smith
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
13 lines
975 bytes
975 bytes
Every morning when innd1.4unoff4 is done with is expire, it
goes through a ctlinnd renumber. For about 30 minutes no
ctlinnd commands are accepted, and all nnrp attempts to read
time out. Is this necessary? It's like news is effectively down
during the renumber phase.
Homer
Re: INN 1.5
Author: Matt Dillon
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
45 lines
2414 bytes
2414 bytes
:In article <5ddct9$f6k$1@news.cmc.net>, brian moore <bem@news.cmc.net> wrote:
:>[Posted and mailed]
:>
:>In article <5dd8u1$lh5@augusta.math.psu.edu>,
:> barr@math.psu.edu (Dave Barr) writes:
:...
:>> Yep. Your only hope for now is to schedule the expire to minimize
:>> the impact. Work is being done on INN to rework this code so
:>> the renumber isn't necessary. Someone's already written code
:...
:>Great news, Dave.
:>
:>For Homer, the problem is that renumber is slow. Dog slow. It needs
:>to adjust your active so that the 'low water' mark reflects what you
:..
:>So the proposed trick, is to have expire build a list of new-lows by
:>newsgroup while it's doing its work. The additional overhead for that
:>is minimal. Then add a new ctlinnd command to tell it to read a file
:>for these new lows and merge them in.
:>
:>I'd love to see this code, hint hint.
:>
:>--
:>Brian Moore The opinions expressed above are my own, not
:>Sysadmin, C/Perl Hacker necesarily my employers'.
It seems to me that a more reliable solution would be to add new commands
to inn's NNTP protocol to allow a separate locally running process to
scan the new low water marks and just shove them to inn through a normal
inn connection.
Yes, you still have the overhead of scanning the spool, but this
method is guarenteed not to foul up. Besides, you need to scan
the spool anyway to clear out 'dead' files (files that INND/expire has
completely lost track of)... see my 'newsprune' program, at
http://www.backplane.com/ in the 'INN/NEWS' software section.
Anyone is welcome to modify newsprune to generate a new low water mark
for the grouplist as a side effect.
-Matt
Re: INN 1.5
Author: Dave Barr
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
18 lines
1308 bytes
1308 bytes
In article <Pine.SUN.3.95.970205135141.27880A-100000@light.lightlink.com>, Homer W. Smith <homer@light.lightlink.com> wrote: > Every morning when innd1.4unoff4 is done with is expire, it >goes through a ctlinnd renumber. For about 30 minutes no >ctlinnd commands are accepted, and all nnrp attempts to read >time out. Is this necessary? It's like news is effectively down >during the renumber phase. Yep. Your only hope for now is to schedule the expire to minimize the impact. Work is being done on INN to rework this code so the renumber isn't necessary. Someone's already written code and mentioned it here. It will likely make its way into INN in some form in the future. --Dave
Re: INN 1.5
Author: brian moore
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
41 lines
2322 bytes
2322 bytes
[Posted and mailed] In article <5dd8u1$lh5@augusta.math.psu.edu>, barr@math.psu.edu (Dave Barr) writes: > In article <Pine.SUN.3.95.970205135141.27880A-100000@light.lightlink.com>, > Homer W. Smith <homer@light.lightlink.com> wrote: >> Every morning when innd1.4unoff4 is done with is expire, it >>goes through a ctlinnd renumber. For about 30 minutes no >>ctlinnd commands are accepted, and all nnrp attempts to read >>time out. Is this necessary? It's like news is effectively down >>during the renumber phase. > > Yep. Your only hope for now is to schedule the expire to minimize > the impact. Work is being done on INN to rework this code so > the renumber isn't necessary. Someone's already written code > and mentioned it here. It will likely make its way into INN in > some form in the future. Great news, Dave. For Homer, the problem is that renumber is slow. Dog slow. It needs to adjust your active so that the 'low water' mark reflects what you currently have on the disk.. which means going through all your newsgroups to find that. In the olden days, that wasn't much of a big deal... with the size of things now, it is. So the proposed trick, is to have expire build a list of new-lows by newsgroup while it's doing its work. The additional overhead for that is minimal. Then add a new ctlinnd command to tell it to read a file for these new lows and merge them in. I'd love to see this code, hint hint. -- Brian Moore The opinions expressed above are my own, not Sysadmin, C/Perl Hacker necesarily my employers'.
Re: INN 1.5
Author: Rich Salz
Date: Tue, 11 Feb 1997 00:00
Date: Tue, 11 Feb 1997 00:00
17 lines
1324 bytes
1324 bytes
In <5ddnl6$l3b@flea.best.net> dillon@flea.best.net (Matt Dillon) writes: > It seems to me that a more reliable solution would be to add new commands > to inn's NNTP protocol to allow a separate locally running process to > scan the new low water marks and just shove them to inn through a normal > inn connection. All sorts of nasty authentication issues here. With ctlinnd and a local file, you've at least reduced the trusted base. To be very paranoid, innd could verify that the newsadmin is, in fact, the person who owns the lowwatermark file. There's a reason for ctlinnd/innd communication structure, rather than adding new commands. Security. /r$
Re: INN 1.5
Author: Odd Einar Aurbakken
Date: Wed, 12 Feb 1997 00:00
Date: Wed, 12 Feb 1997 00:00
20 lines
1453 bytes
1453 bytes
In article <5ddnl6$l3b@flea.best.net>, dillon@flea.best.net (Matt Dillon) writes: > Yes, you still have the overhead of scanning the spool, but this > method is guarenteed not to foul up. Why? I'd rather just scan the history file. It's really easy and you can do it daily. I'd just rip out some of the code in my spool clean program and have it done in a few minutes, that goes for both coding and running it. > Besides, you need to scan > the spool anyway to clear out 'dead' files (files that INND/expire has > completely lost track of)... see my 'newsprune' program, at > http://www.backplane.com/ in the 'INN/NEWS' software section. Yes, but not every day. -- [-oea]Pq "Here's a nickel kid, buy yourself a real computer" -- CUUFH
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