🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90353

Re: Using innfeed to send a batch instead of innxmit?

#90353
From: Jesse Rehmer
Date: Sat, 13 May 2023 06:59
64 lines
4540 bytes
On May 13, 2023 at 1:03:04 AM CDT, "Jesse Rehmer"
<jesse.rehmer@blueworldhosting.com> wrote:

> It seems like it should be possible to use the same batch file that you
> generate for innxmit (when feeding all articles to another server, for
> example) with innfeed, but I can't seem to get this to work as expected. I was
> hoping to leverage innfeed's multiple connections to get through this process
> faster. Streaming 290,000,000 articles via a single connection is s-l-o-w.
> 
> I create a custom innfeed configuration file and specify it, which is a copy
> of stock innfeed.conf but change the PID file and add the remote peer. I place
> the batch file in /usr/local/news/spool/innfeed/peername and start innfeed
> using the custom configuration file. It seems to be reading through the entire
> batch file, but only offers a small number of articles to the remote server,
> and the input file is removed.
> 
> I'm not sure why it isn't going through the entire batch, any ideas?
> 
> This is what is logged:
> 
> May 13 00:29:27 spool1 innfeed[28888]: ME starting at Sat May 13 00:29:27 2023
> (INN 2.7.0)
> May 13 00:29:27 spool1 innfeed[28888]: loading
> /usr/local/news/etc/spoolfeed.conf
> May 13 00:29:30 spool1 innfeed[28888]: gatekeeper new hand-prepared backlog
> file
> May 13 00:29:30 spool1 innfeed[28888]: gatekeeper grabbing external tape file
> May 13 00:29:30 spool1 innfeed[28888]: gatekeeper:0 connected
> May 13 00:29:30 spool1 innfeed[28888]: gatekeeper remote MODE STREAM
> May 13 00:31:58 spool1 innfeed[15156]: ME time 600511 idle 600511(26) blstats
> 0(26) stsfile 0(0) write 0(0)
> May 13 00:36:28 spool1 innfeed[28888]: ME received shutdown signal
> May 13 00:36:28 spool1 innfeed[28888]: gatekeeper checkpoint seconds 418
> offered 17 accepted 0 refused 17 rejected 0 missing 0 accsize 0 rejsize 0
> spooled 0 on_close 0 unspooled 17 deferred 0/0.0 requeued 0 queue
> 0.0/10:100,0,0,0,0,0
> May 13 00:36:28 spool1 innfeed[28888]: gatekeeper final seconds 418 offered 17
> accepted 0 refused 17 rejected 0 missing 0 accsize 0 rejsize 0 spooled 0
> on_close 0 unspooled 17 deferred 0/0.0 requeued 0 queue 0.0/10:100,0,0,0,0,0
> May 13 00:36:28 spool1 innfeed[28888]: gatekeeper:0 checkpoint seconds 418
> offered 17 accepted 0 refused 17 rejected 0 accsize 0 rejsize 0
> May 13 00:36:28 spool1 innfeed[28888]: gatekeeper:0 final seconds 418 offered
> 17 accepted 0 refused 17 rejected 0 accsize 0 rejsize 0
> May 13 00:36:28 spool1 innfeed[28888]: gatekeeper global seconds 418 offered
> 17 accepted 0 refused 17 rejected 0 missing 0 accsize 0 rejsize 0 spooled 0
> unspooled 17
> May 13 00:36:28 spool1 innfeed[28888]: ME global seconds 421 offered 17
> accepted 0 refused 17 rejected 0 missing 0 accsize 0 rejsize 0 spooled 0
> unspooled 17
> May 13 00:36:28 spool1 innfeed[28888]: ME finishing at Sat May 13 00:36:28
> 2023

So I see that innfeed wants:

   @token@ <message-id>

And the history file does not contain the Message-ID, and I am assuming when I
cancelled innxmit and it rewrote the batch file that I used for innfeed, the
first 17 lines have the Message-ID, but I believe this is coming from innxmit
doing the lookup prior to sending and writing this out in the batch when it
exits...

How would I go about creating a batch in the format innfeed needs from my
history file?
Technical Details
Message-ID: <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <u3ncgc$2o3p$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: Using innfeed to send a batch instead of innxmit?
Date: Sat, 13 May 2023 06:59:24 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <u3n96o$1uvi$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 May 2023 06:59:24 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="90233"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:QqxmrQqhRYiZTMLo5TuE8kDCkHw= sha256:IXN6fQbCp+zKmMsk7zFrXDuzB8r14NA3bD1U0mx3Yjw= sha1:q/SX0IzbXPS/VF3JaIAI1Z/MgEw= sha256:PmeGrHtj8JUGGbu7V8VIFMkBhrGCghoffdLz4poyRnA=
X-Usenapp: v1.26.6/d - Full License
Lines: 63