🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89453

Re: INN odd behavior during expireover?

#89453
From: Jesse Rehmer
Date: Fri, 24 Jun 2022 18:48
37 lines
3426 bytes
On Jun 24, 2022 at 1:12:10 PM CDT, "Jesse Rehmer" in
<9433024807.7c4bdc6e@freebsd-inject1.usenet.blueworldhosting.com> wrote:

> On Jun 24, 2022 at 12:56:11 PM CDT, "Russ Allbery" in
> <87a6a2gd38.fsf@hope.eyrie.org> wrote:
> 
>> Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:
>> 
>>> My apologies, I did leave out some critical details - I am using
>>> tradspool/tradindexed.
>> 
>> Do you by chance have a really large group that would take a long time to
>> expire?  It's been a while since I wrote the locking strategy for
>> tradindexed, but expiring a group locks it for write and receiving an
>> article in the same group will also attempt to lock it for write, and innd
>> is single-threaded.  So if you receive an article for a group while that
>> group is being expired, innd will wait for the lock until the expiration
>> of that group finishes.  If that group is extremely large, this could well
>> take ten minutes.
> 
> I injected articles from 2003-present for almost all of the Big8 groups, so
> many groups have hundreds of thousands of articles.
> 
> I will admit, it has been 10+ years since I've used INN with a spool
> containing this many articles, but long ago helped another admin move to a new
> server. That box was receiving a full feed, I don't recall the number of
> articles in the spool, but it was several terabytes (my size is ~150GB for
> comparison). When we ran expireover on that spool the average run time was 6-8
> hours and do not recall experiencing any issues like I am seeing. My
> expireover run on a fraction of the amount of data and on faster hardware was
> ~14 hours. Is that expected?

As a follow-up, would you recommend a different overview storage mechanism? 
My understanding is that buffindexed would probably make my situation worse,
ovdb is a non-starter for me, and ovsqlite has *serious* performance issues. 
I started building this box with the intent to use ovsqlite, but when I
started injecting articles the throughput rate was abysmal.
Technical Details
Message-ID: <9650497351.38f1f5c7@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
References: <4353171044.279cb5a2@freebsd-inject1.usenet.blueworldhosting.com> <87edzegi5g.fsf@hope.eyrie.org> <9110422123.e5d78522@freebsd-inject1.usenet.blueworldhosting.com> <87a6a2gd38.fsf@hope.eyrie.org> <9433024807.7c4bdc6e@freebsd-inject1.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <9650497351.38f1f5c7@freebsd-inject1.usenet.blueworldhosting.com>
Subject: Re: INN odd behavior during expireover?
Date: Fri, 24 Jun 2022 18:48:25 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <4353171044.279cb5a2@freebsd-inject1.usenet.blueworldhosting.com> <87edzegi5g.fsf@hope.eyrie.org> <9110422123.e5d78522@freebsd-inject1.usenet.blueworldhosting.com> <87a6a2gd38.fsf@hope.eyrie.org> <9433024807.7c4bdc6e@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: 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: Fri, 24 Jun 2022 18:48:25 -0000 (UTC)
Injection-Info: spool1.usenet.blueworldhosting.com; logging-data="48727"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:R1VQ4vcaIJBaA/ASWpI9ZoyIkoI= sha256:Y6CR9WvEh3awXI8fAoThmQ242UXpmhw1Y+lkHAYYtSU= sha1:a+z+qN/7kouv5MnfvTiHVx16krk= sha256:hvngDo7R6pX3YYmhYLy0Hv5IhYcCI2wVp/bKysP2q+s=
X-Usenapp: v1.21.1/d - Full License
Lines: 36