🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14605

Re: INND reported NOT running during expire

#14605
From: Dave Barr
Date: Thu, 30 Jan 1997 00:00
34 lines
1810 bytes
In article <5cofmp$l1k@angel.uunet.ca>, Ken Lalonde <ken@angel.uunet.ca> wrote:
>One way to avoid innd wedging during a renumber would
>be to move the spool-walking code out of the server.
>This avoids false innwatch complaints, and is kinder on clients.
>
>E.g.:
>
>	ctlinnd throttle 'Renumbering active file'
>	ctlinnd flush ''
>	renumber <active >active.new && mv active.new active
>	ctlinnd reload active 'renumbered'
>	ctlinnd go 'Renumbering active file'

Taking this to a logical conclusion but greatly reducing the delays
would be a 'renumber' script which fed just the lo's to innd.

Something like:

renumber < active >/tmp/newlows.$$ && ctlinnd renumberlo < /tmp/newlows.$$

the tempfile just to assure that renumber is done when innd gets
fed the new lo values.

This would keep the renumbering in innd, but greatly reduce the
freeze time since innd would not have to do any work except merge
the new lo's in the current active file and sync it.
Alternately instead of piping the lo data across the control channel, the
'ctlinnd renumberlo' could supply temp file which innd would open
and read.

--Dave

Technical Details
Message-ID: <5cqv5g$fuf@augusta.math.psu.edu>
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: <mills.854075988@capella> <5clgl9$13p$1@mechti.wupper.de> <5cm3a3$k39@news.webspan.net> <5cofmp$l1k@angel.uunet.ca>

Show Full Headers
Complete Article Headers
Message-ID: <5cqv5g$fuf@augusta.math.psu.edu>
Subject: Re: INND reported NOT running during expire
Date: Thu, 30 Jan 1997 00:00:00 +0000
From: barr@math.psu.edu (Dave Barr)
References: <mills.854075988@capella> <5clgl9$13p$1@mechti.wupper.de> <5cm3a3$k39@news.webspan.net> <5cofmp$l1k@angel.uunet.ca>
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: 213305756
Organization: Penn State University, Department of Mathematics
Newsgroups: news.software.nntp