🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2968

nnmaster exits with code 7 at midnight

#2968
From: Barry Brown
Date: Thu, 06 Aug 1992 18:59
43 lines
2801 bytes
Every night for the last week nnmaster has died on my machine with
exit code 7.  It happens at midnight.  Here is an excerpt from the log
file:

C: Aug  5 23:35 (M): Collect: 124 art, 98 gr, 23 s
C: Aug  5 23:45 (M): Collect: 97 art, 72 gr, 16 s
C: Aug  5 23:55 (M): Collect: 113 art, 76 gr, 22 s
E: Aug  6 00:06 (M): /private/spool/news
E: Aug  6 00:06 (M): Abnormal termination, exit=7
A: Aug  6 05:00 (news): SEND X (all)   0
M: nnmrestart: nnmaster was not running
M: Aug  6 07:00 (M): Master started -r10 -e0 -E1
M: Aug  6 07:03 (M): Database validation completed
A: Aug  6 07:03 (M): RECV X (all)   0 (news Aug  6 05:00)
X: Aug  6 07:15 (M): Expire: 8988 art, 885 gr, 710 s
C: Aug  6 07:25 (M): Collect: 3811 art, 719 gr, 607 s
C: Aug  6 07:37 (M): Collect: 422 art, 259 gr, 87 s
C: Aug  6 07:48 (M): Collect: 169 art, 119 gr, 70 s

At midnight, something apparently happens to /private/spool/news (NFS
mounted from one of the news servers on campus) which causes nnmaster to
die.  At 5am, cron starts the expiration process.  At 7am, a script I wrote
detects that nnmaster had deceased and restarts it.  Expriation takes places
(belatedly) and then collection starts again.  Collection and nn operation
runs normally all day until midnight the next night, when the same thing
happens again.

Other than writing the restart script, my nn setup hasn't changed over the
past two weeks.

The /var/spool/news (/private/spool/news on my end) and /usr/lib/news
directories are NFS mounted from another machine which has been my news
server for the past year.  No problems there until they switched to FDDI,
which caused me to have to mount their disks with a smaller packet size (so
FDDI didn't flood my ethernet connection).

Can some light be shed on this?

-- 
Barry E. Brown        --        \  UCSD Instructional Computing Center
bebrown@ucsd.{edu,uucp,bitnet}   \   Anime Stuff FTP Server administrator
Somewhere in San Diego, CA.....   \    (ftp network.ucsd.edu [132.239.254.203])
"Stimpy, sometimes your wealth of ignorance astounds me." -- Ren
Technical Details
Message-ID: <15rsq7INN2t4@network.ucsd.edu>
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!olivea!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!dog.ee.lbl.gov!network.ucsd.edu!impending.ucsd.edu!zz1bb

Show Full Headers
Complete Article Headers
Message-ID: <15rsq7INN2t4@network.ucsd.edu>
Subject: nnmaster exits with code 7 at midnight
Date: Thu, 06 Aug 1992 18:59:19 +0000
From: zz1bb@impending.ucsd.edu (Barry Brown)
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!olivea!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!dog.ee.lbl.gov!network.ucsd.edu!impending.ucsd.edu!zz1bb
Newsgroups: news.software.nn
Distribution: usa
Organization: University of California, San Diego
Lines: 43
NNTP-Posting-Host: impending.ucsd.edu