🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2871

Re: NNMASTER problems, POSSIBLE ANSWERS

#2871
From: 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 - []
Technical Details
Message-ID: <1992Jun22.205609.16429@donau.et.tudelft.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!mcsun!sun4nl!dutrun!donau!einstein.et.tudelft.nl!jeanpaul
References: <connie.708327380@sushi.psych.nwu.edu> <1992Jun15.015809.9757@mel.dit.csiro.au>

Show Full Headers
Complete Article Headers
Message-ID: <1992Jun22.205609.16429@donau.et.tudelft.nl>
Subject: Re: NNMASTER problems, POSSIBLE ANSWERS
Date: Mon, 22 Jun 1992 20:56:09 GMT
From: jeanpaul@einstein.et.tudelft.nl (J.P.M. van der Jagt)
References: <connie.708327380@sushi.psych.nwu.edu> <1992Jun15.015809.9757@mel.dit.csiro.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!mcsun!sun4nl!dutrun!donau!einstein.et.tudelft.nl!jeanpaul
Newsgroups: news.software.nn
Sender: news@donau.et.tudelft.nl (UseNet News System)
Nntp-Posting-Host: einstein.et.tudelft.nl
Organization: Delft University of Technology, Dept. of Electrical Engineering
Lines: 27