🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34858

Re: AIX+INN-2.2-STABLE = Missing article

#34858
From: Fluffy
Date: Tue, 19 Jan 1999 00:00
55 lines
3801 bytes
Curt Welch <curt@kcwc.com> wrote:
> davidsen@tmr.com (bill davidsen) wrote:
> > I'm seeing a lot of missing article errors, rendered by the browsers as
> > "canceled or expired" for recent articles. Moreover the problem seems to
> > be load related and the articles are not really gone. This occurs doing
> > a fetch by article number after a GROUP command.

Yup.  And the problem seems to be in the storage mangler, not nnrpd. 

There's some kind of race going on, but I'll be damned if I can find
it. In brief, a new article will turn up in history, active and
.overview.index, a test call to SMretrieve() succeeds, but an attempt
to pull in the article or its overview data returns an empty buffer.  A
second attempt to read a few seconds later will properly fetch the
overview and article.  Really, really annoying; I've double- and
triple-checked and the token on both read attempts is the same.  Is
innd buffering something it shouldn't?  To add to the strangeness, the
article lag exists under timehash too, which I'd have expected to fare
better than cnfs.

> > Does this sound familiar to anyone, and if so is there a fix or
> > workaround? 2.1/2.2 have lots of performance and features over 1.7.2.xx,
> > but I'm not getting the same feeling that it may be slow but it works.

Another interesting detail I uncovered this weekend :  'nnrpcheckart:
false' apparently isn't doing what it's supposed to do.  My nnrpd is
doing much of its work in perl and it still manages to beat the pants
off "real" nnrpd in an unchecked uniover scan.  When I turn _on_ the
checks, the speed is about the same as nnrpd with the checks disabled! 
I think that wading through the spaghetti will reveal that the test is
still being done but the results are discarded -- with checks enabled,
the test appears to be happening twice.  This is based on listening to
the disks grind and watching the clock, not (yet) on a code trace =)

> One problem I saw in inn 2 was the fact that the xover data returned didn't
> reflect cancled or superseded articles.  Old inn did.

Yup.  It's a tough choice between speed and accuracy.

> This problem, and the general slow xover response for large groups is
> why I gave up on inn months ago.  Well, the fact that nnrpd core dumped
> all the time didn't make me feel very  good about it either....

There seems to be a leak being exercised by OVERretrieve() that
triggers this one.  I can duplicate it almost-but-not-quite
consistently by repeatedly scanning a large group in full.

Now to be fair in all this, I should mention that I'm using a libinn
from the development branch (though the relevant parts shouldnt really
differ), and the test application is running under a development
version of perl and using the experimental threading stuff -- more or
less begging for problems.  But perl itself has been extremely well
behaved.

Technical Details
Message-ID: <781kse$mf6@meow.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <780uqg$b8ka$1@newssvr03-int.news.prodigy.com> <19990119012220.397$iY@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <781kse$mf6@meow.invalid>
Subject: Re: AIX+INN-2.2-STABLE = Missing article
Date: Tue, 19 Jan 1999 00:00:00 +0000
From: Fluffy <meowing@banet.net>
References: <780uqg$b8ka$1@newssvr03-int.news.prodigy.com> <19990119012220.397$iY@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 434354862
Mail-Copies-To: never
X-Notice: should be reported to postmaster@ibm.net
X-Complaints-To: postmaster@ibm.net
X-Trace: 19 Jan 1999 09:56:39 GMT, 32.100.244.187
Organization: If one may meow, all may meow.
X-URL: http://members.tripod.com/~gerglery/
X-P-Meow: Meow
Cancel-Lock: sha1:PNniubXyu+lwrti1I6MQj7fOxRs=
Newsgroups: news.software.nntp
X-P-Tickle: Mixy