Article View: news.software.nntp
Article #89449Re: INN odd behavior during expireover?
From: Russ Allbery
Date: Fri, 24 Jun 2022 17:56
Date: Fri, 24 Jun 2022 17:56
32 lines
2571 bytes
2571 bytes
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.
> Additional observations:
> - While innd is unresponsive, nnrpd was happily serving clients and the
> only indicator something was amiss from the client perspective is
> posting would fail with a timeout reported by the client.
Right, only innd would wait for the lock, so it would fail to spawn new
nnrpd processes if you use the single port model, and nnrpd can't POST
because it hands articles off to innd, but nnrpd doesn't care (and indeed
won't even lock the group overview for read unless it sees that the
overview data has been replaced, which only happens at the end of
expiration and takes a much shorter length of time).
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87a6a2gd38.fsf@hope.eyrie.org>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-mailReferences:
<4353171044.279cb5a2@freebsd-inject1.usenet.blueworldhosting.com> <4575903189.1ff43929@freebsd-inject1.usenet.blueworldhosting.com> <6762127615.be8e4d99@freebsd-inject1.usenet.blueworldhosting.com> <87edzegi5g.fsf@hope.eyrie.org> <9110422123.e5d78522@freebsd-inject1.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <87a6a2gd38.fsf@hope.eyrie.org> Subject: Re: INN odd behavior during expireover? Date: Fri, 24 Jun 2022 10:56:11 -0700 From: Russ Allbery <eagle@eyrie.org> References: <4353171044.279cb5a2@freebsd-inject1.usenet.blueworldhosting.com> <4575903189.1ff43929@freebsd-inject1.usenet.blueworldhosting.com> <6762127615.be8e4d99@freebsd-inject1.usenet.blueworldhosting.com> <87edzegi5g.fsf@hope.eyrie.org> <9110422123.e5d78522@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: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="11841"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:obagy+jePZ+b9rxHpfTMaGKybeA= Lines: 31