🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89448

Re: INN odd behavior during expireover?

#89448
From: Jesse Rehmer
Date: Fri, 24 Jun 2022 17:18
62 lines
4057 bytes
On Jun 24, 2022 at 11:06:51 AM CDT, "Russ Allbery" in
<87edzegi5g.fsf@hope.eyrie.org> wrote:

> Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:
> 
>> There was an 18-minute gap in innd activity according to the news.notice
>> log where it was completely unresponsive (no response on port 119, no
>> response to ctlinnd commands, etc.). During this period truss did not
>> output anything for innd or its children (unfortunately I wasn't
>> attached when the condition began). When things sprang to life what I
>> saw with truss looked like history or overview read/writes and articles
>> started flowing.
> 
>> What I'm seeing in the logs is the period of unresponsiveness ends with
>> innd logging its stats. There are some interesting entries after that,
>> such as "SERVER cant sendto CCreader" and I have a lot of "Connection
>> reset by peer" and "broken pipe" messages. The latter two appear
>> frequently for a few minutes and subside.
> 
> This feels like lock contention.  What overview method are you using?  I
> tried to find that in the thread but may have missed it.

I agree, but unfortunately lack the technical knowledge to understand better
why this would be happening, and what if anything I could do to resolve it.

My apologies, I did leave out some critical details - I am using
tradspool/tradindexed. 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.
- Article flow from the upstream feeder was at it's lowest point during this
period.
- The problem resolved as expireover was nearing completion based on these
timestamps:

The last connection issue reported from the upstream feeder:

Jun 24 06:25:44 feed1 innfeed[91878]: <spool1.usenet.blueworldhosting.com>:1
cxnsleep non-responsive connection

Expire output:

Expire messages:
expireover start Thu Jun 23 15:39:00 CDT 2022: ( -z/var/log/news/expire.rm
-Z/var/log/news/expire.lowmark)
   Article lines processed 53326142
   Articles dropped           56726
   Overview index dropped     57054
expireover end Fri Jun 24 07:06:07 CDT 2022
lowmarkrenumber begin Fri Jun 24 07:06:07 CDT 2022:
(/var/log/news/expire.lowmark)
lowmarkrenumber end Fri Jun 24 07:06:07 CDT 2022
expirerm start Fri Jun 24 07:06:07 CDT 2022
expirerm end Fri Jun 24 07:09:14 CDT 2022
expire begin Fri Jun 24 07:09:44 CDT 2022: (-v1)
   Article lines processed 32835813
   Articles retained       32805948
   Entries expired            29865
expire end Fri Jun 24 08:52:30 CDT 2022
all done Fri Jun 24 08:52:30 CDT 2022
Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <9110422123.e5d78522@freebsd-inject1.usenet.blueworldhosting.com>
Subject: Re: INN odd behavior during expireover?
Date: Fri, 24 Jun 2022 17:18:24 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
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>
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 17:18:24 -0000 (UTC)
Injection-Info: spool1.usenet.blueworldhosting.com; logging-data="14027"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:xADm+DzCI3v/kScNgKqpzj5PgX4= sha256:oQxnRyw3yi4YRyUt42nsEhFzmQ4tm2cDdXdbgI744SE= sha1:MTn0T0SeNv9a37BhHc4wyqMvUDw= sha256:UAPP2DCGCW7Q/8gBVUs04X2gpJnUWA+1/x9vnYeDv+8=
X-Usenapp: v1.21.1/d - Full License
Lines: 61