🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by ^GiuAnZ^ Thu, 08 Feb 2001 17:49
INN 2.3.x lots of articles lost
#50486
Author: ^GiuAnZ^
Date: Thu, 08 Feb 2001 17:49
36 lines
2526 bytes
INN 2.3.1, Linux 2.2.17, 3 cycbuffs of 1GB each on a ReiserFS filesystem.

The system worked fine till today. Then there has been an interruption in
the AC power supply. At boot, INN has renumbered almost all the
newsgroups:

Feb  8 15:04:39 neuromante innd: SERVER renumbering
Feb  8 15:04:39 neuromante innd: SERVER renumber control.cancel hi from
6749 to
7466

and so on for each NG.

After this operation I've noticed that about two hundreds and more of the
most recent messages in each newsgroup have disappeared (lots of "bad
article number" when I try to recall them).

Stopped INN, deleted all dirs in /var/spool/news/overview, made a
"makehistory -O" and then restarted INN: it didn't help.

The same (hundreds of articles lost) happened some months ago in identical
circumstances with my previous installation of INN 2.3.0. As I'm using a
journaled filesystem, I'm assuming it's INN's fault; I think it's normal
to use some sort of buffering before writing articles to the cycbuffs, but
two hundreds articles x newsgroup are too much. Is there a way to recall
those articles, and to prevent this to happen anymore?

_================================================_
_ Giovanni Lopedote      sysadmin NEUROMANTE BBS _
_ E-Mail: neuromante@gmx.net                     _
_ Web: http://www.neuromante.net/                _
_ News server: news://neuromante.dyndns.org/     _
_================================================_


Re: INN 2.3.x lots of articles lost
#50491
Author: Russ Allbery
Date: Thu, 08 Feb 2001 20:20
26 lines
2324 bytes
^GiuAnZ^ <XXXNOSPAMXXXneuromante@gmx.net> writes:

> After this operation I've noticed that about two hundreds and more of
> the most recent messages in each newsgroup have disappeared (lots of
> "bad article number" when I try to recall them).

That generally means that the articles aren't in overview.  I assume that
you're using CNFS so you can't easily check to see if they're in the
cycbuffs.  Do you know the message IDs?  Can you see if they're in the
history file, and if so, if the storage API token is retrievable with sm?

> The same (hundreds of articles lost) happened some months ago in
> identical circumstances with my previous installation of INN 2.3.0. As
> I'm using a journaled filesystem, I'm assuming it's INN's fault; I think
> it's normal to use some sort of buffering before writing articles to the
> cycbuffs, but two hundreds articles x newsgroup are too much. Is there a
> way to recall those articles, and to prevent this to happen anymore?

INN doesn't buffer writes to the cycbuffs.  It does buffer changes to the
bitmaps; how long to wait before updating the bitmaps is configurable
using the cycbuffupdate parameter in cycbuff.conf, but it defaults to
every 25 articles.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: INN 2.3.x lots of articles lost
#50492
Author: Brian Edmonds
Date: Thu, 08 Feb 2001 20:57
16 lines
1657 bytes
Russ Allbery <rra@stanford.edu> writes:
>> After this operation I've noticed that about two hundreds and more of
>> the most recent messages in each newsgroup have disappeared (lots of
>> "bad article number" when I try to recall them).
> That generally means that the articles aren't in overview.

I had exactly this problem after an upgrade from 2.0 to 2.3.1 and an
overview rebuild.  It turns out the problem was with the stock Solaris
sort command, and once I got it using GNU sort, and rebuild the
overview, all was well.

Outside of expires now taking two days, but that's documented in another
post...

Brian.
Re: INN 2.3.x lots of articles lost
#50497
Author: Russ Allbery
Date: Thu, 08 Feb 2001 21:53
11 lines
1450 bytes
Brian Edmonds <brian@gweep.ca> writes:

> Outside of expires now taking two days, but that's documented in another
> post...

I'll be very curious to see if STABLE helps there; it helped a lot with my
server, but I have more memory in that one than you do (320MB).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: INN 2.3.x lots of articles lost
#50499
Author: ^GiuAnZ^
Date: Thu, 08 Feb 2001 22:22
28 lines
2330 bytes
"Russ Allbery" <rra@stanford.edu> ha scritto nel messaggio
news:ylelx9sz9f.fsf@windlord.stanford.edu...
> ^GiuAnZ^ <XXXNOSPAMXXXneuromante@gmx.net> writes:
>
> > After this operation I've noticed that about two hundreds and more of
> > the most recent messages in each newsgroup have disappeared (lots of
> > "bad article number" when I try to recall them).
>
> That generally means that the articles aren't in overview.  I assume
that
> you're using CNFS so you can't easily check to see if they're in the
> cycbuffs.  Do you know the message IDs?  Can you see if they're in the
> history file, and if so, if the storage API token is retrievable with
sm?

I have message-IDs for some of the articles that got lost but don't know
where to look for it as in the history file there are only storage tokens
and in the log file only message IDs.

_================================================_
_ Giovanni Lopedote      sysadmin NEUROMANTE BBS _
_ E-Mail: neuromante@gmx.net                     _
_ Web: http://www.neuromante.net/                _
_ News server: news://neuromante.dyndns.org/     _
_================================================_


Re: INN 2.3.x lots of articles lost
#50501
Author: Russ Allbery
Date: Thu, 08 Feb 2001 23:26
11 lines
1392 bytes
^GiuAnZ^ <XXXNOSPAMXXXneuromante@gmx.net> writes:

> I have message-IDs for some of the articles that got lost but don't know
> where to look for it as in the history file there are only storage
> tokens and in the log file only message IDs.

Use grephistory.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: INN 2.3.x lots of articles lost
#50503
Author: ^GiuAnZ^
Date: Fri, 09 Feb 2001 00:31
35 lines
2430 bytes
"Russ Allbery" <rra@stanford.edu> ha scritto nel messaggio
news:ylpugs92nz.fsf@windlord.stanford.edu...
> ^GiuAnZ^ <XXXNOSPAMXXXneuromante@gmx.net> writes:
>
> > I have message-IDs for some of the articles that got lost but don't
know
> > where to look for it as in the history file there are only storage
> > tokens and in the log file only message IDs.
>
> Use grephistory.

tnx, I've learned something new. Here are the results:

sh-2.04$ ./grephistory '<95u645$nru$1@neuromante.dyndns.org>'
Not found.
sh-2.04$ ./grephistory '<95oslp$g74$1@neuromante.dyndns.org>'
Not found.
sh-2.04$ ./grephistory '<95mssb$loa$1@neuromante.dyndns.org>'
Not found.

(next one is from an article posted after the disaster, just to see if
grephistory works fine)
sh-2.04$ ./grephistory '<95vc5h$d8t$1@neuromante.dyndns.org>'
@03014E4555524F3000000000514400000001@

hmmm... it seems they are gone in a blackhole.

--
__ giuanz 0.72 __ djcomputer@gmx.net __ www.neuromante.net _____________
|   N E U R O M A N T E  BBS    | "Mi piace il ghiaccio. Tu non me lo
| http://www.neuromante.net/    | rompere."
| news://neuromante.dyndns.org/ | (Bruce Willis in "L'ultimo Boy Scout")


Re: INN 2.3.x lots of articles lost
#50505
Author: Russ Allbery
Date: Fri, 09 Feb 2001 01:23
20 lines
1799 bytes
^GiuAnZ^ <XXXNOSPAMXXXneuromante@gmx.net> writes:

> tnx, I've learned something new. Here are the results:

> sh-2.04$ ./grephistory '<95u645$nru$1@neuromante.dyndns.org>'
> Not found.
> sh-2.04$ ./grephistory '<95oslp$g74$1@neuromante.dyndns.org>'
> Not found.
> sh-2.04$ ./grephistory '<95mssb$loa$1@neuromante.dyndns.org>'
> Not found.

Okay, so they're not in history either.

I wonder if they're in the CNFS buffers at all.  If you have a pager that
can cope with binary data, try running it on the CNFS buffer and searching
forward for that message ID.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads