Article View: news.software.nntp
Article #35776Re: TOO many problems to list
From: Bill Cole
Date: Wed, 03 Mar 1999 00:00
Date: Wed, 03 Mar 1999 00:00
161 lines
6222 bytes
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
Technical Details
Message-ID:
<bill-0303991600210001@192.168.1.1>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<36DD6E31.DF7538@sju.edu>Show Full Headers
Complete Article Headers
Message-ID: <bill-0303991600210001@192.168.1.1> Subject: Re: TOO many problems to list Date: Wed, 03 Mar 1999 00:00:00 +0000 From: bill@scconsult.com (Bill Cole) References: <36DD6E31.DF7538@sju.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 450893888 Sender: bill@scconsult.com X-Posting-Server: RumorMill 1.2 [Unregistered] X-Clue: use the From address X-Also-Not-From: bounceback@scconsult.com Organization: Stewart-Cole Consulting X-Not-From: william@scconsult.com Reply-To: bounceback@scconsult.com (Don't mail this address) Newsgroups: news.software.nntp