🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91954

Re: inn 2.7.0, expire takes ages and hangs

#91954
From: Julien ÉLIE
Date: Sat, 02 Nov 2024 20:41
40 lines
2950 bytes
Hi Adam,

> 3. I added noexpire to news.daily cron line to avoid it in the future. I
> guess there will be no consequences in my setup

expire rebuilds the history file, and makes the database more efficient 
because it resizes it depending on the number of stored articles.  I 
would therefore suggest to keep running expire.


> 4. What is responsible for expiring history? Expireover or expire?

The expire program cleans up and removes old entries in the history 
database.


> expire begin Sat Oct 19 03:08:38 CEST 2024: (-v1)
>      Article lines processed  6057586
>      Articles retained        6051793
>      Entries expired             5793
> expire end Sat Oct 19 16:15:51 CEST 2024

I don't know why it took so much time.  It definitively shouldn't have.


> Another question: why does it expire anything if I have expiration
> disabled? I guess "Entries expired" should be 0 in all cases? Or is it
> about removing history entries for articles that are no longer in CNFS (or
> that are too old, I have "remember" set to 721: "/remember/:721")?

expire indeed removes entries for articles no longer present in your 
spool because they were cancelled or superseded for instance for your 
timehash spool, or your CNFS buffers have wrapped.  Also, the history 
keeps track of Message-IDs rejected by filters like cleanfeed, pyClean 
or like.  These Message-IDs are kept during /remember/ days.

-- 
Julien ÉLIE

« Ex nihilo nihil. » (Perse)
Technical Details
Message-ID: <vg62qm$3qvtr$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:acd0:aa8:6c3e:4521!not-for-mail
References: <5dcbedb5-81e3-4ba1-a218-ac52c626cb05-aw@news.chmurka.net>

Show Full Headers
Complete Article Headers
Message-ID: <vg62qm$3qvtr$1@news.trigofacile.com>
Subject: Re: inn 2.7.0, expire takes ages and hangs
Date: Sat, 2 Nov 2024 21:41:58 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <5dcbedb5-81e3-4ba1-a218-ac52c626cb05-aw@news.chmurka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:acd0:aa8:6c3e:4521!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 2 Nov 2024 20:41:58 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f82:d7c0:acd0:aa8:6c3e:4521";
 logging-data="4030395"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CiWE+1tIsTtX/yt3S9jbTgQ/Soo= sha256:/V1bvsv3HLiuO1Fgq43tWoUlrqjo3VjtuQp47aq1224=
 sha1:uuhY0G8++0vCWYyPJiyEdL+6n/4= sha256:+Bs9dwiaQpS6CbUkMe4o5iWkGoDqqLjasGu7yO+C0g8=
In-Reply-To: <5dcbedb5-81e3-4ba1-a218-ac52c626cb05-aw@news.chmurka.net>