🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1920

Re: Periodic sorting of active file needed

#1920
From: Ian Phillipps
Date: Sun, 06 Jun 1993 22:18
31 lines
1835 bytes
markd@bushwire.apana.org.au (Mark Delany) writes:

>Well, you can do this with INN in a rough fashion. Eg, have a cron job
>that shuts down INN, sorts the active file and restarts INN.

>You can't do it while INN is running as 'throttle' doesn't leave the
>active file closed.

Hmm.. the ctlinnd manpage says explicitly that you should do this.

The sequence for the cautious would be:
	ctlinnd throttle
	ctlinnd flush ''
	<edit active>
	ctlinnd reload active
	ctlinnd go

>A quick look at CCblock() suggests that changing ICDwrite() to
.. I must admit I've not loooked at the code before posting this, only
the documentation.

>A pity really, it would be nice if 'throttle' did flush/close the
>active file in conjunction with the history file.

.. my active file is mmapped anyway, so probably doesn't need flushing.

Ian
-- 
Ian Phillipps, Unipalm Ltd, 216 Science Park,		Phone +44 223 250100
Milton Road, Cambridge, CB4 4WA, England.		Phax  +44 223 250101
PIPEX Ltd. is a wholly-owned subsidiary of Unipalm Ltd. - phone 0223 250120
Technical Details
Message-ID: <1993Jun6.221845.15971@unipalm.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!pipex!unipalm!ian
References: <1unlev$89n@nickerson.keps.com> <1uovpt$km@bushwire.apana.org.au>

Show Full Headers
Complete Article Headers
Message-ID: <1993Jun6.221845.15971@unipalm.co.uk>
Subject: Re: Periodic sorting of active file needed
Date: Sun, 6 Jun 1993 22:18:45 GMT
From: ian@unipalm.co.uk (Ian Phillipps)
References: <1unlev$89n@nickerson.keps.com> <1uovpt$km@bushwire.apana.org.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!pipex!unipalm!ian
Newsgroups: news.software.readers,news.software.nntp
Organization: Unipalm Ltd., 216 Cambridge Science Park, Cambridge CB4 4WA, UK
Distribution: inet
Lines: 31