🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Ian Macdonald Fri, 11 Dec 1998 00:00
INN 2.2b2, CNFS, and articles in the wrong groups
#33725
Author: Ian Macdonald
Date: Fri, 11 Dec 1998 00:00
43 lines
2518 bytes
Hi,

Earlier this week, I installed a new machine running INN 2.2b2 and
utilising CNFS and extended DBZ.

After running news.daily, it was noticed that several of the
alt.binaries.* groups contained articles intended for completely
different groups. Furthermore, a fair number of articles could not be
found on the server, in spite of the fact that clients were informed
of their existence via the LIST command.

The alt.binaries.* groups have been allocated their own set of cyclic
buffers. Everything else defaults to a second, slightly larger set of
buffers. Interestingly enough, no evidence has been found of wrongly
placed or missing articles in groups outside of the alt.binaries.*
hierarchy.

The machine has 20 cyclic buffers in total, each of which is 2000000
bytes in size. The 20 buffers are located on a single file system,
which spans 6 discs in a RAID 0 set-up. The logs, overview and history
files have approximately 10 Gb of space in which to work, so I'm
ruling out any kind of data corruption due to lack of space.

The machine is a 350 Mhz PII running Linux 2.1.131 (various performace
enhancements make the 2.1.x kernel attractive in the single case of
this machine). The discs are Seagate Baracudas on a dual DPT SCSI
controller.

I really need to get this corruption problem pinned down fast, so that
I can put the machine into production. I haven't yet tried makehistory
or anything similar to try repairing the damage, as I'm currently more
concerned with tracking down the cause.

Any ideas anyone might have would be greatly appreciated.

Ian
-- 
Ian Macdonald             | Used staples are good with SOY SAUCE!
http://www.caliban.org/   |
PGP key: 396D16C1         |
Linux 2.0.36 on an i686   |

Re: INN 2.2b2, CNFS, and articles in the wrong groups
#33766
Author: Ian Macdonald
Date: Sun, 13 Dec 1998 00:00
33 lines
1980 bytes
On 13 Dec 1998 15:34:06 GMT, Niels Bakker - Non PGP encrypted email
deleted automatically.  <niels@usenet.bakker.net> wrote:

>> Using CNFS, disc I/O levels are just a few percent of what they were
>> with traditional storage.
>
>So they're now "only" very high, and not prohibitively high anymore?

No, I wouldn't even describe them as "very high". "Moderately busy" is
probably a good description.

>How did you configure your spool?  In my tests I've found that
>FreeBSD 3.0 can easily manage 300+ tps.  On striped filesystems
>this'll be even higher.

What's the 't' in tps?

>> Our spool isn't yet filled enough that I can accurately gauge overview
>> performance, so I'll have to see how it bears up.
>
>Don't hold your breath.

Everything is OK at the moment. At what point does overview
performance become a bottleneck for you?

Ian
-- 
Ian Macdonald             | The FALAFEL SANDWICH lands on my HEAD and I
http://www.caliban.org/   | become a VEGETARIAN ...
PGP key: 396D16C1         |
Linux 2.0.36 on an i686   |

Re: INN 2.2b2, CNFS, and articles in the wrong groups
#33769
Author: Ian Macdonald
Date: Sun, 13 Dec 1998 00:00
31 lines
2014 bytes
On 12 Dec 1998 16:31:03 GMT, Niels Bakker - Non PGP encrypted email
deleted automatically.  <niels@usenet.bakker.net> wrote:

>If you're a cable modem provider you may want to think twice about using
>CNFS.  Overview performance is very much behind what can be achieved with
>traditional spool.

Maybe, but there are other trade-offs to consider. Before adopting
CNFS, I tried traditional spooling, but the disc I/O levels were
prohibitively high.

Using CNFS, disc I/O levels are just a few percent of what they were
with traditional storage.

Our spool isn't yet filled enough that I can accurately gauge overview
performance, so I'll have to see how it bears up.

>Although several people are attempting to fix this nothing really working
>has come out of it yet...

Well, in the meantime, I'd like to know what's causing the misplaced
and bad articles. I'm still seeing the problem.

Ian
-- 
Ian Macdonald             | These days the necessities of life cost you
http://www.caliban.org/   | about three times what they used to, and
PGP key: 396D16C1         | half the time they aren't even fit to
Linux 2.0.36 on an i686   | drink.

Re: INN 2.2b2, CNFS, and articles in the wrong groups
#33804
Author: James H. Cloos Jr.
Date: Mon, 14 Dec 1998 00:00
12 lines
1142 bytes
Since you are using 2.1 kernels and 2.2b INN, you'll probably also
want to try a traditional spool atop a reiserfs filesystem, at the
vary least just to compare it speed-wise against CNFS.

Reiserfs is at <URL:http://devlinux.org/namesys/>.

-JimC
-- 
James H. Cloos, Jr.       <http://www.jhcloos.com/cloos/pgp_public_key.txt>
<cloos@jhcloos.com>      E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6

Re: INN 2.2b2, CNFS, and articles in the wrong groups
#33898
Author: Hans Lambermont
Date: Thu, 17 Dec 1998 00:00
63 lines
3184 bytes
[Posted and mailed]

In article <slrn77353g.5e8.ian@caliban.xs4all.nl>, ian@caliban.org (Ian Macdonald) writes:
> After running news.daily, it was noticed that several of the
> alt.binaries.* groups contained articles intended for completely
> different groups.

We have seen the same here. It was caused by a full disk during expire
of the unified overview data. Did you have the same problem? Rebuilding
all overview databases, history database and overview index database
helped a bit. The articles that came in during the problems still have
problems here, but new articles are ok now.

If so, then try this script:
----------------------------------------------------------------
#! /bin/sh
# makedb, recreate from spool all databases. Storage manager used

. ../lib/innshellvars

# Check for overviewindex directory
if [ ! -d $PATHSPOOL/overview ]; then
    echo "$PATHSPOOL/overview doesn't exist."
    echo "Expireindex doesn't create it for you. Fix this first."
    exit 1
fi

echo "Rebuilding essential news databases"

# Clean muck from possible previous runs
rm -f $PATHTMP/newindex
rm -f $PATHTMP/newindex.sorted

echo "Scanning spool"
# -I : append data to index of article  overview, use lateron sort |
# expireindex on this file
# -O create UNIFIED overview database as well
# -n : scan the spool without rebuilding the dbz files
time $PATHBIN/makehistory -I $PATHTMP/newindex -O -n

echo -n "Counting history entries: "
COUNT=`wc -l $PATHDB/history | awk '{ print $1 }'`
echo $COUNT

echo "Rebuilding history index"
# -o any existing history files are overwritten, and -i : ignore old database
# -r just  build the dbz files from an existing text file
# -s ignore any old database in specifying the approximate number of
#    entries in the new database.
time $PATHBIN/makehistory -o -r -s $COUNT

echo "Sorting overindex input file"
sort -t' ' +1 -2 $PATHTMP/newindex > $PATHTMP/newindex.sorted

echo "Rebuilding overindex"
time expireindex -a -o -z < $PATHTMP/newindex.sorted

echo "Rebuild completed"
----------------------------------------------------------------

Hans Lambermont

Re: INN 2.2b2, CNFS, and articles in the wrong groups
#34012
Author: Ian Macdonald
Date: Wed, 23 Dec 1998 00:00
34 lines
2076 bytes
On 17 Dec 1998 13:18:03 GMT, Hans Lambermont
<lambermo@garg.mpn.cp.philips.com> wrote:

>In article <slrn77353g.5e8.ian@caliban.xs4all.nl>, ian@caliban.org (Ian Macdonald) writes:
>> After running news.daily, it was noticed that several of the
>> alt.binaries.* groups contained articles intended for completely
>> different groups.
>
>We have seen the same here. It was caused by a full disk during expire
>of the unified overview data. Did you have the same problem?

No, I am 100% certain that the discs did not fill up during expiry.

In fact, I am still seeing the problem now and the cause is still
unknown.

I now have another problem. The 50 Gb ext2fs file system containing
the spool has some corruption on it (not too serious), but when fsck
has finished checking it, it hangs instead of exiting. The CPU load
goes up to 100% and I'm forced to kill fsck.

At that point, the fs is still marked as dirty, but I have no choice
but to remount it and restart INN.

Any ideas how to get that fs repaired?

Ian
-- 
Ian Macdonald             | MSDOS is not dead, it just smells that way.
http://www.caliban.org/   | -- Henry Spencer
PGP key: 396D16C1         |
Linux 2.0.36 on an i686   |

Re: INN 2.2b2, CNFS, and articles in the wrong groups
#34030
Author: bill davidsen
Date: Thu, 24 Dec 1998 00:00
40 lines
2471 bytes
In article <slrn782p3g.fk.ian@caliban.xs4all.nl>,
Ian Macdonald <ian@caliban.org> wrote:

| >We have seen the same here. It was caused by a full disk during expire
| >of the unified overview data. Did you have the same problem?
| 
| No, I am 100% certain that the discs did not fill up during expiry.
| 
| In fact, I am still seeing the problem now and the cause is still
| unknown.

  I think you have a fair hint in the next paragraph...

| I now have another problem. The 50 Gb ext2fs file system containing
| the spool has some corruption on it (not too serious), but when fsck
| has finished checking it, it hangs instead of exiting. The CPU load
| goes up to 100% and I'm forced to kill fsck.
| 
| At that point, the fs is still marked as dirty, but I have no choice
| but to remount it and restart INN.
| 
| Any ideas how to get that fs repaired?

As a last resort you can backup the data and rebuild the f/s from
scratch. Before that, backup one cycbuf at a time, delete it, try fsck,
and reload the cybuf. If you are lucky you will get a cleanup after
deleting one file, and hopefully you have room elsewhere to hold a file
so you don't have to go to tape.

You can also try forcing use of an alternate superblock, unlikely to
help but not likely to break anything, or mount the f/s, sync, and do a
hard reset. Sometimes this leaves a f/s in a more recoverable state, but
I have no idea why...

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey


Re: INN 2.2b2, CNFS, and articles in the wrong groups
#34038
Author: Ian Macdonald
Date: Fri, 25 Dec 1998 00:00
25 lines
1767 bytes
On 24 Dec 1998 03:58:40 GMT, bill davidsen
<davidsen@tmr.com> wrote:

>| In fact, I am still seeing the problem now and the cause is still
>| unknown.
>
>  I think you have a fair hint in the next paragraph...

Well, actually I managed to repair that fs in the end and the
corruption turned out to be only very minor anyway. I assume fsck had
a problem because the fs is so large.

I'm still seeing peculiar things with INN 2.2b2 and CNFS and I see
from this group that I'm not the only one. Traditional storage isn't
really an option, so I suppose I'll just have to brave the storm and
wait for some more bugs to be fixed.

Ian
-- 
Ian Macdonald             | O'Toole's commentary on Murphy's Law:
http://www.caliban.org/   | Murphy was an optimist.
PGP key: 396D16C1         |
Linux 2.0.36 on an i686   |

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