🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Mitch Sako Tue, 31 Mar 1998 00:00
expire Question
#27327
Author: Mitch Sako
Date: Tue, 31 Mar 1998 00:00
12 lines
917 bytes
Running 1.5.1, expire (with or without delayrm) seems to be
expiring away, generating a new history.n but incoming articles
seem to be writing to history only (I could be wrong).  How
is this reconciled when history.n is finally copied into history?
-- 

------------------------------------------------------
"There are no stupid questions, just stupid people who 
ask questions." - Chris Berman

Re: expire Question
#27338
Author: Curt Welch
Date: Tue, 31 Mar 1998 00:00
26 lines
1921 bytes
Mitch Sako <msako@netcom.com> wrote:
> Running 1.5.1, expire (with or without delayrm) seems to be
> expiring away, generating a new history.n but incoming articles
> seem to be writing to history only (I could be wrong).  How
> is this reconciled when history.n is finally copied into history?

The history file is simply a list of all the articles in the
order they arrived at your server.  New articles are only added
to the end of the history text file.  Expire scans the history
file from start to finish as it builds the new history file.
As it's doing this, new articles are still comming in and are
being added to the end of the old history file.

When expire hits the end of the history file, it pauses inn
to make it stop accepting articles and flush all data to the
history file.  Expire then reads any final lines from the
old history file and replaces the old history files with the
new ones.  Expire then sends a go to inn to make it start
accepting articles and writing to the new history file.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: expire Question
#27370
Author: Mitch Sako
Date: Wed, 01 Apr 1998 00:00
37 lines
2121 bytes
Duuuuuuh!  Now I really feel like an idiot!  Thank you for
the brilliantly simple explanation.

Mitch

Curt Welch <curt@kcwc.com> wrote:
> Mitch Sako <msako@netcom.com> wrote:
> > Running 1.5.1, expire (with or without delayrm) seems to be
> > expiring away, generating a new history.n but incoming articles
> > seem to be writing to history only (I could be wrong).  How
> > is this reconciled when history.n is finally copied into history?

> The history file is simply a list of all the articles in the
> order they arrived at your server.  New articles are only added
> to the end of the history text file.  Expire scans the history
> file from start to finish as it builds the new history file.
> As it's doing this, new articles are still comming in and are
> being added to the end of the old history file.

> When expire hits the end of the history file, it pauses inn
> to make it stop accepting articles and flush all data to the
> history file.  Expire then reads any final lines from the
> old history file and replaces the old history files with the
> new ones.  Expire then sends a go to inn to make it start
> accepting articles and writing to the new history file.

> -- 
> Curt Welch                                            http://CurtWelch.Com/
> curt@kcwc.com                          Webmaster for http://NewsReader.Com/
-- 

------------------------------------------------------
"There are no stupid questions, just stupid people who 
ask questions." - Chris Berman

Re: expire Question
#27451
Author: Jerry Aguirre
Date: Fri, 03 Apr 1998 00:00
13 lines
1119 bytes
In article <msakoEqpo0K.4Gs@netcom.com>, Mitch Sako  <msako@netcom.com> wrote:
>Duuuuuuh!  Now I really feel like an idiot!  Thank you for
>the brilliantly simple explanation.

Don't feel too stupid.  News ran for many years suspending news
processing during the entire expire interval.  It took that long before
someone realised the simple technique described in the preceeding article
could reduce this to a few seconds.

Like many things it is "Duh" obvious only after someone else explains 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