🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Peter Doshi Wed, 03 Mar 1999 00:00
TOO many problems to list
#35755
Author: Peter Doshi
Date: Wed, 03 Mar 1999 00:00
116 lines
4189 bytes
Hi all,

I've just recently set up INN, but am facing a bunch of problems.

## Problem 1 - NOV (aka Overview, I think?)
##   - Netscape's mixed feelings

I was reading the INN pages at http://www.blank.org/innfaq/ and tried to
get going with NOV.  I set it up as follows:

  ...etc/newsfeeds:

	overview!:*:Tc,WO:/usr/local/news/bin/overchan

  ...etc/overview.fmt

	Subject:
	From:
	Date:
	Message-ID:
	References:
	Bytes:
	Lines:
	Xref:full

Then did a ...bin/ctlinnd reload overview.fmt "blah"
Then did a ...bin/ctlinnd reload newsfeeds "blah"
and also a ...bin/expireover -a

All seemed to go fine, but I'm getting some problems:

1. control.cancel shows some 31478 messages, but when I 
   click on it, Netscape asks me whether I want to download
   all 3 Million! articles?!??

   BTW, telnet confirms the 31478 number is correct:

     group control.cancel
     211 31478 51256018 54719461 control.cancel


2. I'm getting posts with Re: <subject> before the <subject>
   appears and if at all.  Perhaps it's expiring them too fast
   but I can't see why that would be happening, as it
   occurs in a group like comp.unix.bsd.freebsd.misc which
   I'm guessing is using this expire:

	/remember/:14
	*:A:1:10:never

   since nothing else applies to c.u.b.f.m.  Also, can somebody
   explain these:

##      <keep>          Mininum number of days to keep article
##      <default>       Default number of days to keep the article
##      <purge>         Flush article after this many days
 
   When would innd have to decide between minimum and default??
   Or am I missing something, and articles can in fact be
   posted with expire headers like webpages??
 


3. In the message window, I see a bunch of posts.  If I click on
   one, a different one shows up in the window?!??  Is this an
   `overview' problem as I believe Netscape understands the
   the overview stuff.   What can I do?


## Problem 2 - news.* files - what writes to them?

I briefly saw another INN setup, which had news.{crit|err|notice} and so
I `touch'ed them, but nothing seems to be writing to them.  They're
still at zero byte size.  Any hints?  They're owned by news, too.


## Question: This is a reasonable value, isn't it?

iostat -D 5 5

         dad0           sd2           sd3          nfs1 
 rps wps util  rps wps util  rps wps util  rps wps util 
   1   4  6.6    3  10 12.8    1   0  0.6    0   0  0.0 
   1   2  7.1    3   1  4.2    0   0  0.0    0   0  0.0 
   2   7 13.4    5  12 17.8    0   1  1.3    0   0  0.0 
   1   3  4.9    6   5 14.0    0   0  0.0    0   0  0.0 
   4   4 10.8    3   3  8.6    0   0  0.0    0   0  0.0 

or am I having I/O problems?

## Question:  redundancy?

My crontab is:

	0,10,20,30,40,50 * * * * /usr/local/news/bin/nntpsend
	40 23 * * * /usr/local/news/bin/news.daily delayrm expireover
	0 5 * * 1 /usr/local/news/bin/expireover -s 

isn't the third line a bit redundant, though?  I'm just taking from what
I saw at www.blank.org.



Any help on the above is greatly appreciated.

I don't know what I've gotten myself into.  NoCeM's will probably be
next.  And all this because I love USENET - - I never realized what goes
on on `the inside' :^)

Thanks,
Peter

ps - If possible, please Cc: me *in addition* to posting.  I might be in
a little Catch22 here, so I want to play it safe.

Re: TOO many problems to list
#35761
Author: Russ Allbery
Date: Wed, 03 Mar 1999 00:00
40 lines
2364 bytes
Brad Knowles <brad@shub-internet.org> writes:

> That sounds like a more serious problem, one that is probably related to
> bugs in the version of the INN software you're running.  I'd recommend
> starting with INN 2.2-RELEASE, and then doing some searches of this
> newsgroup on DejaNews to pull up articles that discuss various patches
> to this version that fix various problems.

Grab an INN 2.2 STABLE snapshot rather than just using the released
tarball if you're upgrading anyway.  STABLE has some additional bug
fixes.  (I should see if the ISC folks would be amenable to releasing a
2.2.1.)

> They're written by syslogd, and will only get data written to them if
> you have your /etc/syslog.conf file configured to write that data (and
> have either rebooted or sent syslogd a HUP signal since you made that
> change).

And on many Unixes, make sure that you have created the files before you
HUP syslogd, since syslogd often will just silently fail to write to files
that don't exist.

> I don't think that it is redundant.  It's my understanding that
> different options to expireover cause it to take different kinds of
> actions, and that it is appropriate to call it multiple times to have it
> do different sorts of things in a particular sequence.

expireover -s has a different function than the nightly expire run.  From
my crontab:

# Keep the NOV database in sync in case of crashes.  This scans the spool
# and adds entries for articles that exist but aren't in the overview
# files.  It also removes entries for articles that don't exist, or should.
# Run well after news.daily to avoid contention problems.
8 6 * * 0       /var/news/bin/expireover -a

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

Re: TOO many problems to list
#35772
Author: Brad Knowles
Date: Wed, 03 Mar 1999 00:00
92 lines
4761 bytes
In article <36DD6E31.DF7538@sju.edu>, Peter Doshi <pdoshi@sju.edu> wrote:

> 1. control.cancel shows some 31478 messages, but when I 
>    click on it, Netscape asks me whether I want to download
>    all 3 Million! articles?!??
> 
>    BTW, telnet confirms the 31478 number is correct:
> 
>      group control.cancel
>      211 31478 51256018 54719461 control.cancel

    Do the math.  On my system, the command `expr 54719461 - 51256018`
results in the value "3463443" being displayed.  Not knowing what kind of
processor you have in your machine, I don't know what kind of result you
will get.  ;-)

    Seriously, you've got a "highest article number" and a "lowest article
number" there as the fourth and third numbers in that line, and a lot of
article numbers that have been used but for which the articles themselves
have since expired in between.  Unfortunately, it appears that Netscape
isn't being particularly bright and is just taking the difference of these
two numbers and asking you if you want to display them all.

> 2. I'm getting posts with Re: <subject> before the <subject>
>    appears and if at all.

    That's not too uncommon.  Depending on who you peer with (and who they
peer with, and who their peers peer with, ad infinitum), and the general
vagaries of Internet protocol routing, how newsfeeds queue articles for
feeding, etc... you may see a response before you see the original
article.


    For example, it's not uncommon for me to see articles come to my
server that passed through a machine that I have a direct peering
relationship with, but because of when an article came in to them and what
connections they currently had open at that very moment, it might pass
through a third site that we both have direct peering relationships with
and not pass directly to me.

    Strange, I know, but true.


    Now, if you see this happening a *lot*, that might be an indicator of
a different sort of problem.

> 3. In the message window, I see a bunch of posts.  If I click on
>    one, a different one shows up in the window?!??  Is this an
>    `overview' problem as I believe Netscape understands the
>    the overview stuff.   What can I do?

    That sounds like a more serious problem, one that is probably related
to bugs in the version of the INN software you're running.  I'd recommend
starting with INN 2.2-RELEASE, and then doing some searches of this
newsgroup on DejaNews  to pull up articles that discuss various patches to
this version that fix various problems.

    Sorry, I don't know those exact patches right off the top of my head.

> ## Problem 2 - news.* files - what writes to them?
> 
> I briefly saw another INN setup, which had news.{crit|err|notice} and so
> I `touch'ed them, but nothing seems to be writing to them.  They're
> still at zero byte size.  Any hints?  They're owned by news, too.

    They're written by syslogd, and will only get data written to them if
you have your /etc/syslog.conf file configured to write that data (and
have either rebooted or sent syslogd a HUP signal since you made that
change).

> ## Question: This is a reasonable value, isn't it?
> 
> iostat -D 5 5

    The "-D" command-line option is rejected by the version of Unix I have
on our news server.  What OS are you running this on?

> isn't the third line a bit redundant, though?  I'm just taking from what
> I saw at www.blank.org.

    I don't think that it is redundant.  It's my understanding that
different options to expireover cause it to take different kinds of
actions, and that it is appropriate to call it multiple times to have it
do different sorts of things in a particular sequence.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: TOO many problems to list
#35776
Author: Bill Cole
Date: Wed, 03 Mar 1999 00:00
161 lines
6222 bytes
In article <36DD6E31.DF7538@sju.edu>, Peter Doshi <pdoshi@sju.edu> wrote:

>Hi all,
>
>I've just recently set up INN, but am facing a bunch of problems.
>
>## Problem 1 - NOV (aka Overview, I think?)
>##   - Netscape's mixed feelings
>
>I was reading the INN pages at http://www.blank.org/innfaq/ and tried to
>get going with NOV.  I set it up as follows:
>
>  ...etc/newsfeeds:
>
>        overview!:*:Tc,WO:/usr/local/news/bin/overchan
>
>  ...etc/overview.fmt
>
>        Subject:
>        From:
>        Date:
>        Message-ID:
>        References:
>        Bytes:
>        Lines:
>        Xref:full
>
>Then did a ...bin/ctlinnd reload overview.fmt "blah"
>Then did a ...bin/ctlinnd reload newsfeeds "blah"
>and also a ...bin/expireover -a
>
>All seemed to go fine, but I'm getting some problems:
>
>1. control.cancel shows some 31478 messages, but when I 
>   click on it, Netscape asks me whether I want to download
>   all 3 Million! articles?!??
>
>   BTW, telnet confirms the 31478 number is correct:
>
>     group control.cancel
>     211 31478 51256018 54719461 control.cancel

That's because Netscape is using the article count provided in the group
command, but it is also seeing the high and low article numbers and using
the difference to determine how many unread articles there are when it
comes time to look more closely. 

Of course, this isn't TOTALLY broken. It will in fact have to ask for 3
million headers to find the 31478 articles that are really there. 


>
>
>2. I'm getting posts with Re: <subject> before the <subject>
>   appears and if at all.  

Welcome to Usenet. 

The distribution of messages via news is unreliable and you cannot depend
on articles arriving at your site before the have arrived and been replied
to at other sites, from which you get the reply before you get the
original. 



>   since nothing else applies to c.u.b.f.m.  Also, can somebody
>   explain these:
>
>##      <keep>          Mininum number of days to keep article
>##      <default>       Default number of days to keep the article
>##      <purge>         Flush article after this many days
> 
>   When would innd have to decide between minimum and default??
>   Or am I missing something, and articles can in fact be
>   posted with expire headers like webpages??

Exactly. See news.answers and RTFM. 


>3. In the message window, I see a bunch of posts.  If I click on
>   one, a different one shows up in the window?!??  Is this an
>   `overview' problem as I believe Netscape understands the
>   the overview stuff.   What can I do?

Use a real newsreader. 

I have no idea what Netscrape is doing here, but you really should not use
a known-weak news client to figure out what a news server is doing. There
may not be a server problem here, only a client problem. 

The one server problem that comes to mind is that there MAY be a
discrepancy between what XOVER is saying and what you actually have in the
spool. I haven't seen that in INN, but I have seen it in other servers.
Try manually comparing what you get from an XOVER and ARTICLE command on
the same article in that group. 


>## Problem 2 - news.* files - what writes to them?

Maybe syslogd if you have it set up that way.
RTFM. 
 

>I briefly saw another INN setup, which had news.{crit|err|notice} and so
>I `touch'ed them, but nothing seems to be writing to them.  They're
>still at zero byte size.  Any hints?  They're owned by news, too.

Owned by news is a little odd, and may be a problem if the permissions are
restrictive and these are supposedly being written to by syslogd. Where
are you seeing them? 


>## Question: This is a reasonable value, isn't it?
>
>iostat -D 5 5
>
>         dad0           sd2           sd3          nfs1 
> rps wps util  rps wps util  rps wps util  rps wps util 
>   1   4  6.6    3  10 12.8    1   0  0.6    0   0  0.0 
>   1   2  7.1    3   1  4.2    0   0  0.0    0   0  0.0 
>   2   7 13.4    5  12 17.8    0   1  1.3    0   0  0.0 
>   1   3  4.9    6   5 14.0    0   0  0.0    0   0  0.0 
>   4   4 10.8    3   3  8.6    0   0  0.0    0   0  0.0 
>
>or am I having I/O problems?

Yes. Or no. Or Maybe. 

The significance of iostat output is impossible to determine without a
familiarity with the underlying system. Since you neglected to mention ANY
of the relevant details, it is practically impossible to tell whether you
have a problem. It does look like you might be using Solaris, and probably
aren't using AIX or BSDi, and have 3 disks. 

But I bet you knew that..... 

>## Question:  redundancy?
>
>My crontab is:
>
>        0,10,20,30,40,50 * * * * /usr/local/news/bin/nntpsend
>        40 23 * * * /usr/local/news/bin/news.daily delayrm expireover
>        0 5 * * 1 /usr/local/news/bin/expireover -s 
>
>isn't the third line a bit redundant, though?  I'm just taking from what
>I saw at www.blank.org.

It would probably help you to look at the man pages for news.daily and
expireover. Especially note the difference between the -z and -s flags for
expireover. 

The third line is redundant if you have an absolutely perfect absolutely
standard system. In the real world, it is doing a weekly cleanup from
anything that results in news.daily not passing every expired article to
expireover.

-- 
Bill Cole                                   


Re: TOO many problems to list
#35781
Author: Brad Knowles
Date: Thu, 04 Mar 1999 00:00
19 lines
1676 bytes
In article <36DEADE7.B4DE6C7C@sju.edu>, Peter Doshi <pdoshi@sju.edu> wrote:

> Sorry for using Netscape News for mailing!  I think I'll post and find
> out some good threading X11 newsreaders on news.software.readers

    May I recommend that you check out the "Good Net Keeping Seal of
Approval" site at
<http://www.xs4all.nl/%7Ejs/gnksa/gnksa-evaluations.html>?  They have a
complete list of news clients that have passed a stringent set of tests,
and any one of them would be likely to meet all your needs for a
newsreader.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: TOO many problems to list
#35791
Author: Russ Allbery
Date: Thu, 04 Mar 1999 00:00
27 lines
1600 bytes
Peter Doshi <pdoshi@sju.edu> writes:
> Russ Allbery wrote:

>> Grab an INN 2.2 STABLE snapshot rather than just using the released
>> tarball if you're upgrading anyway.  STABLE has some additional bug
>> fixes.  (I should see if the ISC folks would be amenable to releasing a
>> 2.2.1.)

> 200 news InterNetNews NNRP server INN 2.2 21-Jan-1999 ready (posting
> ok).

> Seems pretty new.  2.2.1 would be better, though, but I've found out a
> bunch of stuff is my own fault rather than INNs.  I suspected that,
> anyway :^)

Heh.  :)  Yeah, that happens.  That timestamp, btw, is constant for any
INN 2.2 STABLE installation.  Note mine:

200 newsfeed.stanford.edu InterNetNews server INN 2.2 21-Jan-1999 ready

although that's actually built from the INN 2.2 STABLE tree pulled from
CVSup as of March 2nd (so that it included my last two bug fix patches).

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

Re: TOO many problems to list
#35794
Author: Peter Doshi
Date: Thu, 04 Mar 1999 00:00
37 lines
2388 bytes
Russ Allbery wrote:
> 
> Grab an INN 2.2 STABLE snapshot rather than just using the released
> tarball if you're upgrading anyway.  STABLE has some additional bug
> fixes.  (I should see if the ISC folks would be amenable to releasing a
> 2.2.1.)

200 news InterNetNews NNRP server INN 2.2 21-Jan-1999 ready (posting
ok).

Seems pretty new.  2.2.1 would be better, though, but I've found out a
bunch of stuff is my own fault rather than INNs.  I suspected that,
anyway :^)

- Peter

> # Keep the NOV database in sync in case of crashes.  This scans the spool
> # and adds entries for articles that exist but aren't in the overview
> # files.  It also removes entries for articles that don't exist, or should.
> # Run well after news.daily to avoid contention problems.
> 8 6 * * 0       /var/news/bin/expireover -a

If the overview stuff is generally 10% of your spool, that means you
should be getting a new summary that costs the server about 900% less
work.  That's an amazing improvement.  I'm sure glad XOVER exists, even
if bandwidth isn't a problem, since it's more of a
being-unncessarily-rough-on-the-server problem than saving bandwidth
(well, it does that, too).  But when you're in an intranet environment
with 10 or 100 Base-T everywhere, you don't think about that stuff until
you're actually hurting.

Sorry for using Netscape News for mailing!  I think I'll post and find
out some good threading X11 newsreaders on news.software.readers

- Peter

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