🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Constance Stillinger Fri, 12 Jun 1992 05:36
Re: NNMASTER problems, not updating all groups
#2832
Author: Constance Stillinger
Date: Fri, 12 Jun 1992 05:36
36 lines
1927 bytes
In article <1992Jun10.140416.16593@walter.cray.com> sjp@baddog (Steve Phillips (4266)) writes:
> Hello netters,
> 
> We have been  having problems with our nnmaster ever since we first
> installed nn about six months ago.
> 
> This didn't seem to help. We are running with NNTP. If the database is
> rebuilt it seems to be complete, but then nnmaster only apdates a
> subset of newsgroups.

I'd also appreciate email or a post in answer to this question.  I'm
having similar problems running nnmaster as an nntp client (the server
is news.acns.nwu.edu) accompanied by a battery of entries like the
following in my Log file:

N: Jun 11 23:59 (M): Lost connection to server news.acns.nwu.edu: No such 
file or directory
C: Jun 11 23:59 (M): Collect: 26 art, 22 gr, 9 s
N: Jun 12 00:10 (M): Lost connection to server news.acns.nwu.edu: No such 
file or directory
C: Jun 12 00:10 (M): Collect: 40 art, 30 gr, 12 s

etc.

The news server administrators don't understand it, either.  Anyone have
an idea about what's going on?  I've seen nothing pertinent in any of
the documentation or FAQ file.

Thanks.

-- 
Constance Stillinger (connie@sushi.psych.nwu.edu)
Assistant Prof., Dep't of Psychology
Northwestern University
--
NNMASTER problems, POSSIBLE ANSWERS
#2840
Author: Mark Rawling
Date: Mon, 15 Jun 1992 01:58
56 lines
3309 bytes
In <connie.708327380@sushi.psych.nwu.edu> connie@sushi.psych.nwu.edu (Constance Stillinger) writes:

>N: Jun 11 23:59 (M): Lost connection to server news.acns.nwu.edu: No such 
>file or directory
>C: Jun 11 23:59 (M): Collect: 26 art, 22 gr, 9 s
>N: Jun 12 00:10 (M): Lost connection to server news.acns.nwu.edu: No such 
>file or directory
>C: Jun 12 00:10 (M): Collect: 40 art, 30 gr, 12 s

>The news server administrators don't understand it, either.  Anyone have
>an idea about what's going on?  I've seen nothing pertinent in any of
>the documentation or FAQ file.

We had a similar problem and after much painstaking debugging we finally
found our problem. It was due to nntp breaking because there were more than
4096 (or some similar number) articles in the `junk' group. Put a full
trace on nnadmin to see which group it collects last. Then check that group
(and those around it). See rfc977 in the nntp src for more info.

E.g. (koel is my machine, manta is the nntp server)

koel% telnet manta 119
Trying 144.110.16.100 ...
Connected to manta.mel.dit.CSIRO.AU.
Escape character is '^]'.
200 manta NNTP server version 1.5.11 (10 February 1991) ready at Mon Jun 15 11:41:06 1992 (posting ok).
group junk
211 145 20690 20835 junk
..
etc

The news group `active' info for junk (or any bad group) may return bad
data (the numbers above are in fact valid for junk).  Strange thing is,
only nn breaks because of this, xrn and all the rest seem to survive
because they don't request this info from nntp, but I presume get it
out of the local copy of the active file.

We fixed it by making sure that new groups are added to the database
instead of being junked - it first happened when we started receiving
all the biz and clari stuff. Also you can try the dynamic allocation
code in nntp which removes the 4096 article limit (we did and it seems
to work OK although it apparantly hasn't been tested much).

Don't give up though, nn is definitely worth every drop of sweat it
takes to get it working. And it _does_ work if fed the right diet.

Hope this helps,
Mark

-----------------------------------------------------------------------------
|  Mark Rawling                              |                              |
|  High Performance Computation Project      |  net:  mwr@mel.dit.csiro.au  |
|  CSIRO Division of Information Technology  |  ph:   (+ 61 3) 282 2634     |
|  723 Swanston St, Carlton, Victoria 3053   |  fax:  (+ 61 3) 282 2600     |
|  Australia                                 |                              |
-----------------------------------------------------------------------------
Re: NNMASTER problems, POSSIBLE ANSWERS
#2842
Author: Constance Stillinger
Date: Mon, 15 Jun 1992 19:12
33 lines
2249 bytes
In <1992Jun15.015809.9757@mel.dit.csiro.au> mwr@koel.mel.dit.CSIRO.AU (Mark Rawling) writes:

>We had a similar problem and after much painstaking debugging we finally
>found our problem. It was due to nntp breaking because there were more than
>4096 (or some similar number) articles in the `junk' group. Put a full
>trace on nnadmin to see which group it collects last. Then check that group
>(and those around it). See rfc977 in the nntp src for more info.

Unfortunately for me, I had read about this in the faq already before
posting.  But flagging "junk," all the groups around it, or the last
groups collected with X didn't seem to help.

>...

>We fixed it by making sure that new groups are added to the database
>instead of being junked - it first happened when we started receiving
>all the biz and clari stuff. Also you can try the dynamic allocation
>code in nntp which removes the 4096 article limit (we did and it seems
>to work OK although it apparantly hasn't been tested much).

Aha!  These juicy tidbits were not in the faq---the problem is
intermittent for me, and seems to happen when the news server
administrators add new hierarchies!  I will pass this post along to
them, and then go back and see if I can now fix the problem here.

Thanks!!!

--Connie
-- 
Constance Stillinger (connie@sushi.psych.nwu.edu)
Assistant Prof., Dep't of Psychology
Northwestern University
--
Re: NNMASTER problems, POSSIBLE ANSWERS
#2871
Author: J.P.M. van der Jagt
Date: Mon, 22 Jun 1992 20:56
27 lines
2311 bytes
In <1992Jun15.015809.9757@mel.dit.csiro.au> mwr@koel.mel.dit.CSIRO.AU (Mark Rawling) writes:
>We had a similar problem and after much painstaking debugging we finally
>found our problem. It was due to nntp breaking because there were more than
>4096 (or some similar number) articles in the `junk' group. Put a full
>trace on nnadmin to see which group it collects last. Then check that group
>(and those around it). See rfc977 in the nntp src for more info.

I too encountered the problem. It was indeed nntpd who dumped core.
And not only because of nnmaster; any newsreader could make nntpd crash.
The place of the corefile (in /usr/spool/news/junk) led to the solution...
I fixed it simply: changed in common/conf.h:
#define       MAX_ARTICLES    20480
Just hope that there are never more than 20480 articles in any newsgroup  :-)

And while we're at the subject: also make sure that the definition:
#define POSTER          "news"
(also in common/conf.h of the nntp-package) is a "real" user, i.e. has
an entry in /etc/passwd. No actual valid passwd is needed. Just the
entry. If not, nntpd will dump core (if configured for Cnews) at the
point that it calls "newsrun" to process a partial batch.

Happy News Reading.
John-Paul
-- 
[] J.P.M. van der Jagt [] Systems manager [] Delft University of Technology []
[] Email: jeanpaul@duteca.et.tudelft.nl [] Phone: 31-15-781366 [] unix unix []
[] - He sells C-shells by the seashore - Lauren Bacall - Key Largo - 1948 - []
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