🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89437

INN odd behavior during expireover?

#89437
From: Jesse Rehmer
Date: Fri, 24 Jun 2022 04:05
72 lines
4814 bytes
For the past week I've been pull articles into a news server running FreeBSD
and INN 2.7.0rc1, and got to a stopping point after adding a few hundred
gigabytes to the spool, so I decided to run news.daily since I hadn't since
this endevor began.

I understand during certain portions of the news.daily process the server gets
paused. However, I am noticing very strange behavior when the server claims it
is not paused (according to logs), but while expireover is running.

INN is unresponsive to ctlinnd commands for ~5 minutes and suddenly becomes
responsive, the upstream innfeed process (on another VM) reports a
non-responsive connection during these periods. NNRPd is responing normally
for the most part, I can AUTH, issue GROUP, BODY, and similar commands, but
when I issue a POST I get no response from the server until my connection
times out.

I can't find anything useful in the logs as to what is happening while INN is
not responding, nor do I see any other underlying OS or I/O issue. The
expireover process is using 100% of one CPU core, and quite a bit of I/O, but
not enough that should cause this kind of unresponsiveness. The OS is
responsive and other applications/daemons on the box respond as expected so I
don't see a server-wide performance problem.

I've put this server under taxing I/O load while injecting articles over the
last and never saw this behavior until expireover had been running for a
little over 4 hours. Any ideas?

top:
last pid: 53975; load averages: 1.22, 1.20, 1.15                            
                                                                            
                                                     up 4+20:06:35 22:59:56
75 processes:  2 running, 73 sleeping
CPU:  2.1% user,  0.0% nice, 10.6% system,  0.0% interrupt, 87.3% idle
Mem: 160M Active, 6103M Inact, 62M Laundry, 8652M Wired, 905M Free
ARC: 5910M Total, 3785M MFU, 1455M MRU, 912K Anon, 91M Header, 578M Other
     3725M Compressed, 8526M Uncompressed, 2.29:1 Ratio
Swap: 2048M Total, 2048M Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
 8478 news         1 103   0   66M   42M CPU5    5 434:17 99.86% expireover
55548 root          1  20    0    32M  8916K select   3   3:45   0.09% snmpd
53975 root          1  20    0    14M  3440K CPU3     3   0:00   0.05% top
31561 root         4 20   0   49M   18M select  0  6:12  0.05% vmtoolsd
53913 news          1  24    4    37M    16M sbwait   6   0:00   0.03% nnrpd
29975 root          1  20    0    13M  2292K select   1   4:26   0.01% syslogd
-----

iostat:
root@spool1:/var/log # iostat
       tty             da0              cd0            pass0             cpu
 tin  tout KB/t  tps  MB/s  KB/t  tps  MB/s  KB/t  tps  MB/s  us ni sy in id
   1   728 43.4  222   9.4  17.2    0   0.0   0.0    0   0.0   6  0  6  0 88
-----

systat:
                    /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
     Load Average   ||||||

                    /0%  /10  /20  /30  /40  /50  /60  /70  /80  /90  /100
root           idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root           idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root           idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
news     expireover XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root           idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root           idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root           idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root           idle XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root           idle XXXXXXXXXXXXXXX
-----

Cheers,
Jesse
Technical Details
Message-ID: <4353171044.279cb5a2@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

Show Full Headers
Complete Article Headers
Message-ID: <4353171044.279cb5a2@freebsd-inject1.usenet.blueworldhosting.com>
Subject: INN odd behavior during expireover?
Date: Fri, 24 Jun 2022 04:05:31 +0000
From: Jesse Rehmer <jesse.rehmer@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 04:05:31 -0000 (UTC)
Injection-Info: spool1.usenet.blueworldhosting.com; logging-data="62831"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:y0vbqVyKdMyru/fl3vGHAXxWK/E= sha256:PJNzsge2DEJF3LmZyTfts9OC6GnF8WkrdY9+gOTLA8Y= sha1:QrhED0FvwnNh8fumVrVmqnD3Ek4= sha256:d55m1/HDEV5pa9jVD3BRnlJaoDF4jyd2Br4HwJUQq6E=
X-Usenapp: v1.21.1/d - Full License
Lines: 71