🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27338

Re: expire Question

#27338
From: 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/

Technical Details
Message-ID: <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
References: <msakoEqpHH8.MoG@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <19980331183145.841$8O@newsreader.com>
Subject: Re: expire Question
Date: Tue, 31 Mar 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <msakoEqpHH8.MoG@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
X-Deja-AN: 339637266
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
X-User: Curt@NewsReader.Com
Organization: KCW Consulting
Newsgroups: news.software.nntp