🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89467

Re: INN odd behavior during expireover?

#89467
From: Julien ÉLIE
Date: Sat, 25 Jun 2022 20:30
47 lines
3202 bytes
Hi Jesse,

> If I change:
> 
> *:A:1:never:never
> 
> to:
> 
> *:A:never:never:never
> 
> Would that stop expireover from traversing through all the groups and overview
> data, except specific groups listed later in expire.ctl?

No, expireover has all the same a look at all the overview lines to 
check whether the related articles still exist in the spool.  (Yet, as 
you're using tradspool, this check is in fact not done because it is 
considered expansive, unless you give the -s flag to expireover.)

In the source code of tdx_data_expire_start(), there's a note about 
exactly the point you are raising:

**  There's probably some room for optimization here for newsgroups that
**  don't expire so that the files don't have to be rewritten, or
**  newsgroups where all the data at the end of the file is still good
**  and just needs to be moved as-is.


However, you may want to run expireover only on a subset of newsgroups, 
like you say.  Instead of running it on all your newsgroups, you may 
want to run "news.daily noexpireover" (plus the usual flags you're 
using), and a few individual overview expiry:

     grep -E 'news.lists.filters |\.jobs|\.test ' <pathdb>/active \
       | expireover -f - -Z <pathtmp>/lowmark
     ctlinnd lowmark <pathtmp>/lowmark
     rm -f <pathtmp>/lowmark

The grep command extracts the newsgroups from your active file.

(And why not expire the others monthly, and not all of them the same day?)
Just ideas.

-- 
Julien ÉLIE

« Le café est un breuvage qui fait dormir quand on n'en prend pas. »
   (Alphonse Allais)
Technical Details
Message-ID: <t97r9s$miip$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!apf2.newsdeef.eu!not-for-mail
References: <4353171044.279cb5a2@freebsd-inject1.usenet.blueworldhosting.com> <t953ov$kqir$1@news.trigofacile.com> <0039428626.7272d68c@freebsd-inject1.usenet.blueworldhosting.com> <t957e8$ksm6$1@news.trigofacile.com> <0352108910.5f9fa1cb@freebsd-inject1.usenet.blueworldhosting.com> <4354336916.367bba6c@freebsd-inject1.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <t97r9s$miip$1@news.trigofacile.com>
Subject: Re: INN odd behavior during expireover?
Date: Sat, 25 Jun 2022 22:30:51 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <4353171044.279cb5a2@freebsd-inject1.usenet.blueworldhosting.com> <t953ov$kqir$1@news.trigofacile.com> <0039428626.7272d68c@freebsd-inject1.usenet.blueworldhosting.com> <t957e8$ksm6$1@news.trigofacile.com> <0352108910.5f9fa1cb@freebsd-inject1.usenet.blueworldhosting.com> <4354336916.367bba6c@freebsd-inject1.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!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, 25 Jun 2022 20:30:52 -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="739929"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Cancel-Lock: sha1:kAPvIaauBiPgQH2LvFUCsPbtiQc= sha256:JUDva4O3iZjuDvQ6v/3IAfG44B9ZPaXTXpMk0W+eyG0= sha1:xs4mUIzDey8gqyC/xS5maCqoY6s= sha256:mA2i5VB/T+Nyt6IKt5bvL9V9JXd8G46A9HNfuyzZjQs=
In-Reply-To: <4354336916.367bba6c@freebsd-inject1.usenet.blueworldhosting.com>