🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Mark W Modrall Wed, 12 Dec 2001 17:08
CNFS - does it work?
#55624
Author: Mark W Modrall
Date: Wed, 12 Dec 2001 17:08
29 lines
1818 bytes
Hi...

	on reading the INN documentation, using the CNFS storage
system seemed like a good idea for our admins since it would
theoretically give them less to watch over...  but they had a lot
of trouble getting it set up and now we're wondering about the 
basic stability.

	yesterday afternoon, we got the following log message:
Dec 11 13:15:21 bos-ifcollect1 innd: CNFS-sm: CNFSflushallheads: flushing 

in the log and after that moment, it hasn't accepted any other postings
since.  You can still connect as a reader and see the old postings, but
nothing new gets in.  Every hour or so, there are errors logged from rnews
which isn't running because of the build options chosen.  But it only
seems to be running rnews because there's something wrong with the storage
mechanism...

	Anyone recognize the symptom?  should we just give up on cnfs?
use tradspool or something?  are there any gotchas in switching from
cnfs to tradspool?  all of the ids that it knows about wouldn't get
carried over, but presumably those will just disappear in a few days as
they age out anyway...

	any hints appreciated...

thanks
-mark
Re: CNFS - does it work?
#55625
Author: Miquel van Smoorenburg
Date: Wed, 12 Dec 2001 18:58
48 lines
2962 bytes
In article <Go8q9z.3u5@world.std.com>,
Mark W Modrall <modrall@world.std.com> wrote:
>	on reading the INN documentation, using the CNFS storage
>system seemed like a good idea for our admins since it would
>theoretically give them less to watch over...  but they had a lot
>of trouble getting it set up and now we're wondering about the 
>basic stability.
>
>	yesterday afternoon, we got the following log message:
>Dec 11 13:15:21 bos-ifcollect1 innd: CNFS-sm: CNFSflushallheads: flushing 
>
>in the log and after that moment, it hasn't accepted any other postings
>since.

What does "ctlinnd mode" say. Is there anything else in the logs.
Is innd still running ?

>You can still connect as a reader and see the old postings, but
>nothing new gets in.  Every hour or so, there are errors logged from rnews
>which isn't running because of the build options chosen.

Hmmm? Rnews can't run as a daemon, but you're supposed to run
rnews -U every so often to unspool spooled articles. Rnews
can spool articles if it can't contact INN directly.

>But it only
>seems to be running rnews because there's something wrong with the storage
>mechanism...

No, if rnews runs every hour something is running it from cron.
The rnews error means that it can't connect to INN, but you already
knew INN wasn't accepting any articles.

>	Anyone recognize the symptom?  should we just give up on cnfs?
>use tradspool or something?  are there any gotchas in switching from
>cnfs to tradspool?  all of the ids that it knows about wouldn't get
>carried over, but presumably those will just disappear in a few days as
>they age out anyway...

I can't see why CNFS would be the problem here. I've been running it
on all my servers for years. There's probably something else wrong
that you're overlooking.

Mike.
-- 
  I used to drive a Heisenberg mobile but every time I looked at the
  speedometer - I got lost!
Re: CNFS - does it work?
#55628
Author: Mark W Modrall
Date: Thu, 13 Dec 2001 00:10
64 lines
3193 bytes
Hi...

	thanks for responding...

In article <9v89c9$bi0$1@ncc1701.cistron.net>,
Miquel van Smoorenburg <miquels@cistron.nl> wrote:
>What does "ctlinnd mode" say. Is there anything else in the logs.
>Is innd still running ?

	inn has been running throughout...  i'll have to ask the
admin for the ctlinnd mode output...

>Hmmm? Rnews can't run as a daemon, but you're supposed to run
>rnews -U every so often to unspool spooled articles. Rnews
>can spool articles if it can't contact INN directly.
>
>>But it only
>>seems to be running rnews because there's something wrong with the storage
>>mechanism...
>
>No, if rnews runs every hour something is running it from cron.
>The rnews error means that it can't connect to INN, but you already
>knew INN wasn't accepting any articles.

	there isn't any cron job invoking rnews...  i never could find
where it was invoked.  We ran into this the first time the admins tried
to set up inn...  they couldn't figure out cnfs configuration so they
just tried starting it with no storage mechanism configured at all...
Much to my surprise, innd will run that way, but then you start getting
these rnews errors getting thrown.

	I looked at the rnews code, and i remember that it needed an
environment variable defined to point at a server to run, and we weren't
defining it.  heck we weren't even trying to run rnews...

	Either innd is trying to spawn it or innwatch is, i think...

>I can't see why CNFS would be the problem here. I've been running it
>on all my servers for years. There's probably something else wrong
>that you're overlooking.

	i'll admit there could be any number of things i just don't know
to look for, but that's why i'm asking here :)

	all i know is that at a certain point yesterday afternoon, 
news.notice got a log message saying that cnfs was flushing the cycbuff
and after that moment nothing else could be entered.

	In news.notice, there's hourly rnews: What server? errors, but
as i said there are no cron jobs and it's not something we've ever tried
to run ourselves.

	Then there's the log message for the nightly expire run, and
there are log messages for people logging in to read, but that's it...

	if you have any ideas where i can start to look, i'd appreciate
them...  I asked one of the admins to restart inn to see if it would
clear up the problem, but so far no dice (presuming he did it)...

thanks
-mark


Re: CNFS - does it work?
#55630
Author: Miquel van Smoorenburg
Date: Thu, 13 Dec 2001 12:38
34 lines
2521 bytes
In article <Go99u1.58z@world.std.com>,
Mark W Modrall <modrall@world.std.com> wrote:
>	all i know is that at a certain point yesterday afternoon, 
>news.notice got a log message saying that cnfs was flushing the cycbuff
>and after that moment nothing else could be entered.

That doesn't mean anything. That message is one that INN spits out
every so often anyway:

% grep 'flushing sda2' news.notice| head -5
Dec 13 02:35:42 voyager innd: CNFS-sm: CNFSflushallheads: flushing sda2
Dec 13 04:44:35 voyager innd: CNFS-sm: CNFSflushallheads: flushing sda2
Dec 13 07:11:26 voyager innd: CNFS-sm: CNFSflushallheads: flushing sda2
Dec 13 10:31:31 voyager innd: CNFS-sm: CNFSflushallheads: flushing sda2
Dec 13 10:46:32 voyager innd: CNFS-sm: CNFSflushallheads: flushing sda2

>	In news.notice, there's hourly rnews: What server? errors, but
>as i said there are no cron jobs and it's not something we've ever tried
>to run ourselves.

rnews doesn't magically run by itself. Something is starting it,
and it's not innd or nnrpd.

>	if you have any ideas where i can start to look, i'd appreciate
>them...  I asked one of the admins to restart inn to see if it would
>clear up the problem, but so far no dice (presuming he did it)...

Try the windows method: reboot (or restart innd)

Mike.
-- 
  I used to drive a Heisenberg mobile but every time I looked at the
  speedometer - I got lost!
Re: CNFS - does it work?
#55636
Author: Mark W Modrall
Date: Thu, 13 Dec 2001 16:57
25 lines
1799 bytes
well, it turns out to be a case of one hand not knowing what the
other was doing...  in an unfortunate confluence of circumstance,
another admin went by and cut off all outside ports on the firewall
within 1 or 2 minutes of the cnfs message getting logged...  so
our upstream feed was dammed...

In article <9va7fp$rra$2@ncc1701.cistron.net>,
Miquel van Smoorenburg <miquels@cistron.nl> wrote:
>rnews doesn't magically run by itself. Something is starting it,
>and it's not innd or nnrpd.
>

	well, as i said, the only scheduled cron job on the entire 
system is the 3am expire run...  /var/spool/cron is empty except for
that.   we never tried to set anything up to run rnews nor do we want
to, but for whatever reason, we get these log messages whenever there's
nothing coming in through normal channels in an hour...

	i tried to chase it down a little but could never figure out
who was trying to start it...

	thanks for the responses...

-mark
Re: CNFS - does it work?
#55640
Author: Andrew Gierth
Date: Thu, 13 Dec 2001 19:57
21 lines
1956 bytes
[Bogus "Distribution: na" removed]

>>>>> "Mark" == Mark W Modrall <modrall@world.std.com> writes:

 >> rnews doesn't magically run by itself. Something is starting it,
 >> and it's not innd or nnrpd.

 Mark> 	well, as i said, the only scheduled cron job on the entire
 Mark> system is the 3am expire run...  /var/spool/cron is empty
 Mark> except for that.  we never tried to set anything up to run
 Mark> rnews nor do we want to, but for whatever reason, we get these
 Mark> log messages whenever there's nothing coming in through normal
 Mark> channels in an hour...

Do you use uucp? Incoming uucp news batches are handled by invoking
uux yoursite!rnews on the upstream end, which causes rnews to be run
on your machine when the batch is transferred.

-- 
Andrew.
Re: CNFS - does it work?
#55643
Author: Mark W Modrall
Date: Fri, 14 Dec 2001 17:51
25 lines
1861 bytes
In article <873d2esxk2.fsf@erlenstar.demon.co.uk>,
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:
> Mark> 	well, as i said, the only scheduled cron job on the entire
> Mark> system is the 3am expire run...  /var/spool/cron is empty
> Mark> except for that.  we never tried to set anything up to run
> Mark> rnews nor do we want to, but for whatever reason, we get these
> Mark> log messages whenever there's nothing coming in through normal
> Mark> channels in an hour...
>
>Do you use uucp? Incoming uucp news batches are handled by invoking
>uux yoursite!rnews on the upstream end, which causes rnews to be run
>on your machine when the batch is transferred.

	nope...  we get one peer-to-peer feed from one outside provider
of about 100 groups...  that's all we've ever set it up for...  that's
why we're surprised when we see the rnews log messages...  I did some
greps through the code and documentation and couldn't find anything
that would explain where they come from, but would really appreciate
some hints...

thanks
-mark


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