🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1678

Re: Renumber newsgroups by post date

#1678
From: Julien ÉLIE
Date: Wed, 10 May 2023 20:40
40 lines
2710 bytes
Hi Eli,

> innd: timecaf: could not OpenArtWriteFd
> /datadisk/spool/articles/timecaf-00/5b/64be.CF/262145: CAF_ERR_ARTWONTFIT
> innd: timecaf: could not OpenArtWrite
> /datadisk/spool/articles/timecaf-00/5b/64be.CF/262145: CAF_ERR_ARTWONTFIT
> 
> Do you have any idea what caused this?

I see in the source code that there is a hard-coded number for the 
maximum number of articles a single CAF file has room for:

[storage/timecaf/caf.h]
/*
** Number of slots to put in TOC by default.  Can be raised if we ever get
** more than 256*1024=262144 articles in a file (frightening thought).
*/

The "262145: CAF_ERR_ARTWONTFIT" error corresponds to it.


A single CAF file contains all the articles received during 256 seconds 
(timecaf-nn/bb/aacc.CF has articles received during the interval from 
0xaabbcc00 to 0xaabbccFF).

It really seems that the storage method was not designed for quick 
injection like via pullnews!

I would just suggest to pace up the integration rate of new articles...
Or if you really need larger CAF files, rebuild INN with a higher value 
for that constant.

I'm sorry you came into this :(
Probably worthwhile mentioning (in the storage.conf manual page for 
instance).

-- 
Julien ÉLIE

« Pourvu que ça dure ! » (Letizia Bonaparte)
Technical Details
Message-ID: <u3gvf9$bspm$1@news.trigofacile.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: <7Qb1M.3786652$nwq3.3523857@fx13.ams4> <u33lt2$1c60$3@news.trigofacile.com> <Wen5M.5493900$MJk2.2327113@fx06.ams4> <u34vjo$3024$1@news.trigofacile.com> <RtR6M.4303568$nwq3.487450@fx13.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <u3gvf9$bspm$1@news.trigofacile.com>
Subject: Re: Renumber newsgroups by post date
Date: Wed, 10 May 2023 22:40:09 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <7Qb1M.3786652$nwq3.3523857@fx13.ams4> <u33lt2$1c60$3@news.trigofacile.com> <Wen5M.5493900$MJk2.2327113@fx06.ams4> <u34vjo$3024$1@news.trigofacile.com> <RtR6M.4303568$nwq3.487450@fx13.ams4>
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.admin.peering
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 10 May 2023 20:40:09 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="389942"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1
Cancel-Lock: sha1:bO0MC0oGCpFQO/RUTB7mCxbd2tg= sha256:BDRMQAn67trYE/elUKQtMY93DKJ3LRrafd9GRQKLdpo= sha1:wBZH887XmxUrpFlIppGhMGJNqbU= sha256:uP6mUaEMKTu2b43d4GOOmssiINf2wM2iyAEALq7q8D0=
In-Reply-To: <RtR6M.4303568$nwq3.487450@fx13.ams4>