🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10657

Question regarding channel feeds

#10657
From: kremžská HOŘČICE
Date: Wed, 04 Sep 1996 00:00
61 lines
3925 bytes
    I am experimenting with the Cyrus IMAP server (from CMU) on the news
spool.  The traditional way to do this has been to write batch files with
the overview data, which are then processed at regular intervals by a
program.  However, being impatient, I've tried feeding this information
directly to the processing program, as one does with overchan.  The result
would be that the IMAP database reflects the news spool in real time, and
an IMAP newsreader is notified of incoming news articles almost immediately.

    The man page for the newsfeeds file describes the channel feeds, and
it appears that what I am doing should work (and for the most part, it
seems to, updating the IMAP database in real time).  I see notices in the
news.notice file that I wonder about, both for OVERVIEW! and the channel
feeds I've set up for Cyrus. 

    I see periodic messages, for both channel feeds, such as...
Sep  4 05:15:05 3H: innd: OVERVIEW!:19:proc:27182 cant write
Sep  4 05:15:05 3H: last message repeated 4 times
Sep  4 05:15:05 3H: innd: OVERVIEW!:19:proc:27182 sleeping
and then,
Sep  4 05:20:05 4H: innd: OVERVIEW!:19:proc:27182 wakeup

    If I understand right, at these times, innd is either buffering this
data, or spooling it.  (In the case of the IMAP data, unlike that used by
overchan, it appears to be safe to process the article data out of order,
since it is not merely appended as happens with overchan.)  If it's being
apooled -- or if somehow innd cannot start the process, the file which is
written can be processed at regular intervals in the conventional manner.

    I also see occasional messages of
Sep  3 18:23:20 3H: innd: DEBUG ERROR SITEspool trashed:20 OVERVIEW!:7

    According to the FAQ, this appears to be harmless.  (Probably the
reason I see problems with the overview data as well as the data I am
trying to write to the IMAP server is that they are both on the same
partition, and it is clear that they need to be separate.  This would most
likely clear up most if not all of these notices, as would further
cleanup of the IMAP database which I know I need to do.)

    So, if I may ask, are these messages truly harmless, and no loss of
data is resulting?  And anything that isn't working will be written to the
out.going spool file?  (I should also test for this file before I run the
program to process it, since that program flushes the channel feed, which
would not be needed otherwise, and could even make things worse since the
man page implies that at time of flush, the buffered data is written to
this file rather than being passed to the next process to be spawned,
necessitating yet another flush to clear that spooled data, and so on.)

    Thanks for confirming or clarifying this, or offering any advice on
setting the B and S flags to write the out.going spool file as
infrequently as possible -- if I understand, the default is that innd will
internally buffer as much data as needed while the process is busy
grinding away.  My feeling is also that an incoming feed from innfeed will
be gentler on these processes than regular bursts of batches from innxmit.


Barry Bouwsma  <barryb@tuke.sk>
hacking the improbable for Radio Praha


Technical Details
Message-ID: <Pine.SGI.3.95.960904092318.1910K-100000@cimrman.radio.cz>
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

Show Full Headers
Complete Article Headers
Message-ID: <Pine.SGI.3.95.960904092318.1910K-100000@cimrman.radio.cz>
Subject: Question regarding channel feeds
Date: Wed, 04 Sep 1996 00:00:00 +0000
From: kremžská HOŘČICE <core@Radio.CZ>
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: 178399395
Content-type: TEXT/PLAIN; charset=US-ASCII
Organization: Radio Praha -- Cesky Rozhlas 7
Mime-version: 1.0
Reply-to: Barry.Bouwsma@tuke.sk
Newsgroups: news.software.nntp
Nntp-posting-user: core