πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91042

Re: INN makehistory oddities

#91042
From: Jesse Rehmer
Date: Tue, 31 Oct 2023 18:56
84 lines
4862 bytes
On Oct 28, 2023 at 3:52:57β€―PM CDT, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> When dealing with tradspool, it should indeed treat directories in order
> (tradspool_next() method).  Maybe the behaviour you see comes from
> crossposted articles?  makehistory opens the (hard-linked) file present
> in each directory an article has been crossposted to, and looks at its
> Xref header field to seek the first newsgroup mentioned (considered to
> be the master, and only treats the article when dealing with that first
> newsgroup).

With lsof it is hard to catch individual open files/links, but what I am
noticing is that it will open a directory, say
/usr/local/news/spool/articles/uk/d-i-y, and appears to iterate through that
directory building history and overview. Now that I'm several days into the
process, I see that this morning it currently has
/usr/local/news/spool/articles/uk/d-i-y open again and seems to be doing the
same thing I noticed days ago. I assume it can't be duplicating
history/overview records. There are some groups that have over a million
articles, so those I notice it spending a lot of time keeping open and
remember them. I didn't expect to see those same groups being opened later in
the same run for long periods of time.

> I am very unsure why it would happen during a rebuild of the history
> file.  Looking at a comment, a modification of the storage.conf file is
> mentioned.  Would it happen that the article stored in tradspool
> according to the rules of your initial storage.conf file has now a
> different rule?

Thanks for the explanations. It is possible for a small number of groups the
storage class changed in the past.

I now see a few of these errors:

makehistory: cannot write overview data
"@050000005106000000000000001B00000000@"
makehistory: cannot write overview data
"@050000005106000000000000001C00000000@"
makehistory: cannot write overview data
"@050000005106000000000000001D00000000@"
makehistory: cannot write overview data
"@050000005106000000000000002200000000@"
makehistory: cannot write overview data
"@050000005106000000000000002300000000@"

I'm not really sure "why" it can't write the overview information as I don't
see anything wrong with the articles and they are relatively recent.

$ sm -c "@050000005106000000000000002300000000@"
@050000005106000000000000002300000000@ method=tradspool class=0 ngnum=20742
artnum=0 file=/usr/local/news/spool/articles/de/alt/dateien/misc/35
$ sm -c "@050000005106000000000000002200000000@"
@050000005106000000000000002200000000@ method=tradspool class=0 ngnum=20742
artnum=0 file=/usr/local/news/spool/articles/de/alt/dateien/misc/34
$ sm -c "@050000005106000000000000001B00000000@"
@050000005106000000000000001B00000000@ method=tradspool class=0 ngnum=20742
artnum=0 file=/usr/local/news/spool/articles/de/alt/dateien/misc/27

They seem like normal articles to me and nothing stands out at first glance:

$ cat /usr/local/news/spool/articles/de/alt/dateien/misc/35
Path:
spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet
.blueworldhosting.com!eternal-september.org!news.eternal-september.org!.POSTE
D!not-for-mail
From: Marco Moock <mo01@posteo.de>
Newsgroups: de.alt.dateien.misc
Subject: Re: Wanze
Date: Sun, 9 Jul 2023 19:03:18 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <u8ep8m$268n1$1@dont-email.me>
References: <u8einn$25bdq$6@dont-email.me>
    <u8emh7$25vtg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Sun, 9 Jul 2023 17:03:18 -0000 (UTC)
Injection-Info: dont-email.me;
posting-host="51a4c3270535c7dbb88d2b01f4ce400a";
    logging-data="2302689"; mail-complaints-to="abuse@eternal-september.org";
   posting-account="U2FsdGVkX1+JOa8skqOo+KzFXXog0DXO"
Cancel-Lock: sha1:05wryGJ+LjAr7HuAwOtpktFjSLY=
Xref: spool1.usenet.blueworldhosting.com de.alt.dateien.misc:35
Technical Details
Message-ID: <uhrikb$15vej$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <uh9s2d$en6m$1@dont-email.me> <uhjsb9$156ko$2@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <uhrikb$15vej$1@dont-email.me>
Subject: Re: INN makehistory oddities
Date: Tue, 31 Oct 2023 18:56:11 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <uh9s2d$en6m$1@dont-email.me> <uhjsb9$156ko$2@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient Spider
Lines: 84
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 31 Oct 2023 18:56:11 -0000 (UTC)
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:7d7GRRN2fDV6cYxriwdM0+OHZfQ=
X-Usenapp: v1.27.2/d - Full License