🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27370

Re: expire Question

#27370
From: 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

Technical Details
Message-ID: <msakoEqpo0K.4Gs@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <msakoEqpHH8.MoG@netcom.com> <19980331183145.841$8O@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <msakoEqpo0K.4Gs@netcom.com>
Subject: Re: expire Question
Date: Wed, 01 Apr 1998 00:00:00 +0000
From: Mitch Sako <msako@netcom.com>
References: <msakoEqpHH8.MoG@netcom.com> <19980331183145.841$8O@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 339675677
Sender: msako@netcom11.netcom.com
Organization: Netcom On-Line Services
Newsgroups: news.software.nntp