🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by BadBoo Mon, 17 Jul 2000 00:00
Most dependable version to use
#47441
Author: BadBoo
Date: Mon, 17 Jul 2000 00:00
30 lines
2147 bytes
I am preparing to fdisk and reinstall INN. I seem to have a tremedous
amount of EXT2-fs error, ext2 new block free blocks count corrupt.
Which require a reboot, fsck etc. I have always assumed this is from
running out of HD space. (Just have a few 20 gb drives) My thoughts
are, initialize the drives and make 'em pure, then install inn to use
the method of storage that doesn't care if you run out of HD space as
it just first in, first out empties the spool, instead of the
traditional method I am using now. I expire every 3 hours, and have
never seen the HD over 32% full, but somewhere during the day it must
be maxing out if it is corrupting the fs.

My question is, which version is the most stable for someone with very
limited HD space. (About 55 GB across the drives) and can I use this
version on with the new spooling across three drives? Currently I am
writing news via two addtional mount points with symlinks to the
directory names. I.E. alt.binaries goes on one drive only, and just
about everything else goes to another drive except the BIG 8 which goes
to the drive holding the OS. I'll be happy to read any particular FAQ
or article related to solving this, and I am currently only in the
preparation phase, and can take as long as I need to before I jump into
the implementation.

Thanks
   Bruce


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Most dependable version to use
#47445
Author: BadBoo
Date: Mon, 17 Jul 2000 00:00
50 lines
3062 bytes
In article <slrn8n5s21.bq.pm@manlap.zetnet.co.uk>,
  pm@nowster-zetnet.co.uk (Paul Martin) wrote:
> In article <8ku9bn$57k$1@nnrp1.deja.com>,
> 	BadBoo wrote:
> >I am preparing to fdisk and reinstall INN. I seem to have a tremedous
> >amount of EXT2-fs error, ext2 new block free blocks count corrupt.
>
> Sounds like your disks, SCSI card(s), cabling or (more likely) your
RAM
> are causing errors.
>
> It's extremely unlikely that it's caused by INN.
>
> --
> Paul Martin <pm@zetnet.net>
> at home, swap dash to dot to email.
>

That had actually crossed my mind. It was one of the reasons why I
wanted to fdisk. They are all less than a year old. Assuming for a
minute it isn't a phycial hardware problem, I had prevousply a problem
where I would contantly fill one hard drive or the other up to 100%. I
felt that it may have caused some serious corruption. I used fsck to
solve this problem about three times a week. Reading in a linux book
once it mentioned e2fsck, which I ran. it would come back with:
some bonehead is running this on a live filesystem (you) or their has
been a prgramming error. I was always at the prompt 'Hit CTRL-D' and run
fsck manually, when I did this. So I assume I did something boneheaded
and perhpas screwed up something in the hard drives allocation table,
which has never been fixed.  I am game to try anything that will solve
this. I had considered when I update, to install some Promise Ultra 66
cards I have laying around just for this server. (I had some odd
problems with these controllers under RH6.0 but understood they support
for the card is builtinto RH6.2. Aside from changing OS's, this was my
thoughts on the matter. I am definitiely pleased to hear any idea's or
recomendations on how to best approach solving the end problem of
constant errors on the HD. I didn't mean to imply I felt INN was at
fault, I felt that going over 90% of the HD capacity was the problem,
and since then, I run DISKCHECK which emails me if the HD's ever
approach 80%. it has never once hollered, which had me doubting wheter
or not I was actually filling up the HD's sicne I go so darn tight with
expire.

Bruce Meyer


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Most dependable version to use
#47450
Author: Paul Martin
Date: Mon, 17 Jul 2000 00:00
15 lines
1034 bytes
In article <8ku9bn$57k$1@nnrp1.deja.com>,
	BadBoo wrote:
>I am preparing to fdisk and reinstall INN. I seem to have a tremedous
>amount of EXT2-fs error, ext2 new block free blocks count corrupt.

Sounds like your disks, SCSI card(s), cabling or (more likely) your RAM
are causing errors.

It's extremely unlikely that it's caused by INN.

-- 
Paul Martin <pm@zetnet.net>
at home, swap dash to dot to email.

Re: Most dependable version to use
#47455
Author: Paul Martin
Date: Tue, 18 Jul 2000 00:00
22 lines
1605 bytes
In article <8l0152$g93$1@nnrp1.deja.com>,
	BadBoo wrote:
>That had actually crossed my mind. It was one of the reasons why I
>wanted to fdisk. They are all less than a year old. Assuming for a
>minute it isn't a phycial hardware problem, I had prevousply a problem
>where I would contantly fill one hard drive or the other up to 100%. I

I have never, personally, come across corruption of the filesystem when
it has filled to 100%, even when we were running INN.

A suggestion for you is to roll your own kernel, using the latest 2.2.x
sources, and throw away whatever came bundled with your distribution.
If you get bus errors or segmentation violations whilst compiling this,
it's very likely that your memory is faulty. There have been kernel
versions that can corrupt ext2 filesystems, and RedHat may have shipped
one of those.

-- 
Paul Martin <pm@zetnet.net>
at home, swap dash to dot to email.

Re: Most dependable version to use
#47469
Author: Russ Allbery
Date: Tue, 18 Jul 2000 00:00
14 lines
1202 bytes
BadBoo <bmeyer@rocsoft.net> writes:

> My question is, which version is the most stable for someone with very
> limited HD space. (About 55 GB across the drives) and can I use this
> version on with the new spooling across three drives?

Do you want to use CNFS?  If so, I recommend INN 2.3.  If you want to use
traditional spool, then for right now you probably want to use INN 2.2
until expire for large traditional spool has been fixed in INN 2.4.

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

Re: Most dependable version to use
#47486
Author: Russ Allbery
Date: Wed, 19 Jul 2000 00:00
28 lines
1815 bytes
Bruce D Meyer <bmeyer@rocsoft.net> writes:

> If I understand what I have been reading the past few months in this
> news group, then possibly the best 'fix' for my limited storage problem,
> is to use the CNFS. (first in first out, according to a percentage of
> drive space used, sort of?)

Pretty much, yes.

> My goal is to have a news server, with as much as it can hold without
> ever risking filling up the drive to an unsafe percentage.

That sounds like what most people would use CNFS for (although like the
other people here, I find it unlikely that filling your disk is the cause
of your file system corruption).

> If I understand CNFS correctly, that it will delete new postings to make
> room for new ones, as the HD space fills up, and, I can do that by
> spanning multiple drives, then I guess I will use CNFS this time
> around.

Right.  And you can give CNFS any number of separate buffers, so it can
span multiple drives a lot more easily than tradspool can.

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

Re: Most dependable version to use
#47490
Author: Bruce D. Meyer
Date: Wed, 19 Jul 2000 00:00
36 lines
2418 bytes
If I understand what I have been reading the past few months in this news
group, then possibly the best 'fix' for my limited storage problem, is to
use the CNFS. (first in first out, according to a percentage of drive space
used, sort of?) My goal is to have a news server, with as much as it can
hold without ever risking filling up the drive to an unsafe percentage. I
have seen one of the drives at 100% more than once. (But never since I
finished pruning the newsgroups file for the ninetieth time to remove the
big binary groups)

If I understand CNFS correctly, that it will delete new postings to make
room for new ones, as the HD space fills up, and, I can do that by spanning
multiple drives, then I guess I will use CNFS this time around. If I am all
wet, I'll stick with TRADSPOOL.

Thanks for the advice.

Bruce Meyer

"Russ Allbery" <rra@stanford.edu> wrote in message
news:yl8zuzt4i4.fsf@windlord.stanford.edu...
> BadBoo <bmeyer@rocsoft.net> writes:
>
> > My question is, which version is the most stable for someone with very
> > limited HD space. (About 55 GB across the drives) and can I use this
> > version on with the new spooling across three drives?
>
> Do you want to use CNFS?  If so, I recommend INN 2.3.  If you want to use
> traditional spool, then for right now you probably want to use INN 2.2
> until expire for large traditional spool has been fixed in INN 2.4.
>
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



Re: Most dependable version to use
#47494
Author: bill davidsen
Date: Wed, 19 Jul 2000 00:00
37 lines
2595 bytes
In article <8ku9bn$57k$1@nnrp1.deja.com>, BadBoo  <bmeyer@rocsoft.net> wrote:
| I am preparing to fdisk and reinstall INN. I seem to have a tremedous
| amount of EXT2-fs error, ext2 new block free blocks count corrupt.
| Which require a reboot, fsck etc. I have always assumed this is from
| running out of HD space.

  Sorry to say, I doubt that running out of disk space is an issue with
corruption, both because I've done it a lot with another application and
because when running INN as news rather than root, you never really run
out of disk, you get out of disk status when you get down to the 5% free
reserved to root.

  If the system crashes you may get a free count error, but not in
normal operation. I have news servers up hundreds of days without any
such problems.

| My question is, which version is the most stable for someone with very
| limited HD space. (About 55 GB across the drives) and can I use this
| version on with the new spooling across three drives? Currently I am
| writing news via two addtional mount points with symlinks to the
| directory names. I.E. alt.binaries goes on one drive only, and just
| about everything else goes to another drive except the BIG 8 which goes
| to the drive holding the OS. I'll be happy to read any particular FAQ
| or article related to solving this, and I am currently only in the
| preparation phase, and can take as long as I need to before I jump into
| the implementation.

  I would suggest identifying your problem iwth filesystem first, before
you muddy the waters. What kernel version are you running?

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
There are those who make things happen, those who watch things happen,
and those who wonder what happened.
	-- idea from _Pickles_

Re: Most dependable version to use
#47521
Author: Bruce D. Meyer
Date: Thu, 20 Jul 2000 00:00
49 lines
3106 bytes
Ok then.
    I feel pretty conformable with the CNFS choice then. Great. Last time I
upgraded CNFS wasn't ready for prime time. This is very exciting. Now to
scour other newsgroups and find the best method for determining is my
problem a physcial HD problem, Logical FS problem, etc. We are a computer
repair center here also, but my boss and I are the only folks who even know
what Linux is, so the OS related stuff I have figure out. If discover though
my inquiries it may more likely be hardware, I'll just ask for a new server,
and let them test the heck out of the hard drives and memory later. I
'think' most of the hard drive manufacturer analysis tools are fairly
destructive. (like the Western Digital tool you have to run before they'll
issue an RMA)

Thanks for the help. I hope to start this project after the current
priorities are met. (about three weeks)

Bruce Meyer
"Russ Allbery" <rra@stanford.edu> wrote in message
news:ylpuo9rg4l.fsf@windlord.stanford.edu...
> Bruce D Meyer <bmeyer@rocsoft.net> writes:
>
> > If I understand what I have been reading the past few months in this
> > news group, then possibly the best 'fix' for my limited storage problem,
> > is to use the CNFS. (first in first out, according to a percentage of
> > drive space used, sort of?)
>
> Pretty much, yes.
>
> > My goal is to have a news server, with as much as it can hold without
> > ever risking filling up the drive to an unsafe percentage.
>
> That sounds like what most people would use CNFS for (although like the
> other people here, I find it unlikely that filling your disk is the cause
> of your file system corruption).
>
> > If I understand CNFS correctly, that it will delete new postings to make
> > room for new ones, as the HD space fills up, and, I can do that by
> > spanning multiple drives, then I guess I will use CNFS this time
> > around.
>
> Right.  And you can give CNFS any number of separate buffers, so it can
> span multiple drives a lot more easily than tradspool can.
>
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



Re: Most dependable version to use
#47534
Author: Russ Allbery
Date: Fri, 21 Jul 2000 00:00
34 lines
1955 bytes
Bruce D Meyer <bmeyer@rocsoft.net> writes:

> When I try to start INN as news, It won't go.

Log in as user news and just run rc.news without any su or anything.  That
should work, and it's the most reliable.  If that doesn't work, I'd be
very curious to see the exact error message.  I'm betting that if that's
not working, the setuid bit on inndstart and possibly startinnfeed has
been cleared somehow.

> I realize this means it is su'ing to news and running, but it always
> says something similar to permission denied, (and always has since day
> one) But it goes and runs news anyway.
> error is:
> /root/.bashrc: permission denied

You've got extra gunk in your environment.  Something like:

  su - news -c "/path/to/rc.news"

may work better.

> I assume it means that once it su's to news, it can't run the .bashrc
> file as it deosn't have high enough permissions. (as news) I don't
> understand that as it has a .bashrc file under /root (belongs to root)
> and one under /home/news that belongs to news.

It probably looks in $HOME.  su without the extra - doesn't clear out
things like $HOME.

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

Re: Most dependable version to use
#47537
Author: Bruce D. Meyer
Date: Fri, 21 Jul 2000 00:00
105 lines
6061 bytes
>
>   Sorry to say, I doubt that running out of disk space is an issue with
> corruption, both because I've done it a lot with another application and
> because when running INN as news rather than root, you never really run
> out of disk, you get out of disk status when you get down to the 5% free
> reserved to root.

When I try to start INN as news, It won't go. I start inn by hand as the
only time I seem to ever need to start it in ht elast 6 months is when it
claims it is out of space. Did it again today. Inodes are at 14% usage on
the most used drive, and HD space is 34% on the most used drive. I restarted
the server and in 10 or 20 seconds or so, it said the HD was full. fscked
for about an hour, reboot, and all is happy again. The command I use to
start inn is right out of the documentation:
su news -c /usr/local/news/bin/rc.news>/dev/console

I realize this means it is su'ing to news and running, but it always says
something similar to permission denied, (and always has since day one) But
it goes and runs news anyway.
error is:
/root/.bashrc: permission denied
I assume it means that once it su's to news, it can't run the .bashrc file
as it deosn't have high enough permissions. (as news) I don't understand
that as it has a .bashrc file under /root (belongs to root) and one under
/home/news that belongs to news. I didn't think it was important. Looking
inside what was inside the bashrc file, it didn't seem like a big deal.
Maybe I was wrong.


>
>   If the system crashes you may get a free count error, but not in
> normal operation. I have news servers up hundreds of days without any
> such problems.


I should point out it has only 'crashed' once.It was completely blank
screened, and unresponsive. That's the only time I have ever seen a linux
system crash. The rest of the time it is merely that some INN service has
chosen to shut down the news server becasue it think that the drives are
full. (It still allows news reader to retrieve new, just nothing inbound)
(ctlinnd mode would say that the server was throttled. Not really a crash, I
would say it was doing what it should be. (Even though it wasn't actually
out of free space.)

I felt it may have had something to do with how I tied the drives together
at the beginning. I don't remember how I did it now, I would have to pull
the old newsgroup posting out of my notebook that described various way to
increase my total hard drive size. But basically I just symlinked a
subdirectory  on each of two drives to the main drive. and when say I needed
to but alt.binaries on a seperate drive, I create alt.binaries on the new
drive. Moved all the existing files over to the new subdirecotry on the new
drive, and put a symling on the old drive, pointing to where alt.binaries
exists on the new drive. I have re=arranges some stuff where if binaries
were on one of the other drive, I moved to the iggest drive, and symlinked.
So if three drives exist a, b and c.
a.) is system and inn
b.) non binaries (and some overflow light use binaries)
c.) is binaries.

Theier are instances where I am symlinking some not 'alt' binaries back to
'b', from 'c' but mostly all binaries wherever they exist are in 'c'. The
big eight seem to have practically no real size comparitively and that
leaves a lot of room for discussion newsgroups on 'b'

I had just thought with all the symlinking, and thousands of rmgroups, plus
going in by hand and delting old files that were months old but had never
been removed automatically. Perhpas I had really hosed thigs somewhere.
Since my inode count and block count are so ultra low, I agree that I have
something quite unhappy in the FS.

>
> | My question is, which version is the most stable for someone with very
> | limited HD space. (About 55 GB across the drives) and can I use this
> | version on with the new spooling across three drives? Currently I am
> | writing news via two addtional mount points with symlinks to the
> | directory names. I.E. alt.binaries goes on one drive only, and just
> | about everything else goes to another drive except the BIG 8 which goes
> | to the drive holding the OS. I'll be happy to read any particular FAQ
> | or article related to solving this, and I am currently only in the
> | preparation phase, and can take as long as I need to before I jump into
> | the implementation.
>
>   I would suggest identifying your problem iwth filesystem first, before
> you muddy the waters. What kernel version are you running?

I upgraded RH6.0 to 6.2, and then ran the latest shipping update CD, plus
the fixes on their ftp://updates site.I ty to keep the latest stable
software installed.
2.2.14-5

I appreciate the comments and idea's. I am in no hurry to screw things up,
and will search for idea's that talk about file system corruption in Deja.
See what idea's might pop up.

Bruce
>
> --
>   bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
> There are those who make things happen, those who watch things happen,
> and those who wonder what happened.
> -- idea from _Pickles_



Re: Most dependable version to use
#47539
Author: Bruce D. Meyer
Date: Sat, 22 Jul 2000 00:00
49 lines
2797 bytes
Well, that worked. (Why in heck was I trying that darned su thing anyway?)

I logged in as user news, did an rc.news, and that's it. It fired up nice
and quiet. Now to try and figure out what might be casuing the corrption. I
may just start by popping in a new stick of ram, an dseeing if that fins
anything. (quickest way for starters till I find some pointers in the news
groups or something)

Thanks for the tip,
    Bruce Meyer

"Russ Allbery" <rra@stanford.edu> wrote in message
news:ylwvifte4p.fsf@windlord.stanford.edu...
> Bruce D Meyer <bmeyer@rocsoft.net> writes:
>
> > When I try to start INN as news, It won't go.
>
> Log in as user news and just run rc.news without any su or anything.  That
> should work, and it's the most reliable.  If that doesn't work, I'd be
> very curious to see the exact error message.  I'm betting that if that's
> not working, the setuid bit on inndstart and possibly startinnfeed has
> been cleared somehow.
>
> > I realize this means it is su'ing to news and running, but it always
> > says something similar to permission denied, (and always has since day
> > one) But it goes and runs news anyway.
> > error is:
> > /root/.bashrc: permission denied
>
> You've got extra gunk in your environment.  Something like:
>
>   su - news -c "/path/to/rc.news"
>
> may work better.
>
> > I assume it means that once it su's to news, it can't run the .bashrc
> > file as it deosn't have high enough permissions. (as news) I don't
> > understand that as it has a .bashrc file under /root (belongs to root)
> > and one under /home/news that belongs to news.
>
> It probably looks in $HOME.  su without the extra - doesn't clear out
> things like $HOME.
>
> --
> 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