🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5473

[INN 1.4unoff3] "sharedactive" patch under SunOS 4.1.4?

#5473
From: Michael Hucka
Date: Sat, 02 Mar 1996 00:00
52 lines
3048 bytes
We're running on an SS20 with SunOS 4.1.4.  We recently patched our server to
use the "sharedactive" feature for nnrpd.  So far things *seem* to be
working, but yesterday morning, someone reported the following anomalous
behavior when reading news using rn:

  Warning!  Bogus newsgroup: umich.music
  Checking out your .newsrc -- hang on a second...
  Moving bogus newsgroups to the end of your .newsrc.
  Delete bogus newsgroups? [ny] 
  
  ******   8 unread articles in alt.music.jewish -- read now? [ynq] g umich.music
  Newsgroup umich.music is unsubscribed -- resubscribe? [yn] 
  
  ****** 1702128798 unread articles in umich.music -- read now? [ynq] 
  ****** End of newsgroups -- what next? [npq] 
  Newsgroup umich.music is unsubscribed -- resubscribe? [yn] 
  
  Warning!  Bogus newsgroup: umich.music

umich.music has not been removed; worse, look at the number of unread
articles reported in the middle of the transcript above.  They experienced
something similar with another newsgroup.  Both groups are in the active
file, and are otherwise perfectly okay.  I can't reproduce the problem now
using rn or other newsreaders.  However, this occurred the day after we
installed the shared active patch, which makes me highly suspicious.  Also,
it happened to be that at the time, "makehistory -bun" was running for
unrelated reasons.

So my question for you experts is, could the shared active patch have
resulted in this problem of the newsreader incorrectly thinking some groups
were bogus?  (For that matter, is the patch known to work under SunOS 4.1.x?
Maybe I made a wrong assumption there.)  Or could the "makehistory -bun"
have had anything to do with it?

I should mention we configured the flags in group.c as follows:

#  define MAX_ACTIVE_SIZE	900000	/* Max size of active file           */
#  define MAX_GROUPS		18000	/* Max number of groups in active    */
#  define RELOAD_DELAY		30	/* min #secs before reloading active */
#  define XSEM_UNDO		SEM_UNDO

Also, we built a kernel with the following increased parameters:

#define	SEMMNU	200	/* # of undo structures in system */
#define	SHMPOOL	8192	/* max total shared memory system wide (in Kbytes) */

Thanks for any help.
-- 
Mike Hucka     hucka@umich.edu     http://ai.eecs.umich.edu/people/hucka
University of Michigan AI Lab & EECS Departmental Computing Organization

Technical Details
Message-ID: <82bumfvjr4.fsf@hawk.eecs.umich.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

Show Full Headers
Complete Article Headers
Message-ID: <82bumfvjr4.fsf@hawk.eecs.umich.edu>
Subject: [INN 1.4unoff3] "sharedactive" patch under SunOS 4.1.4?
Date: Sat, 02 Mar 1996 00:00:00 +0000
From: hucka@eecs.umich.edu (Michael Hucka)
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: 141815588
Sender: hucka@hawk.eecs.umich.edu
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
X-attribution: Mike Hucka
Reply-to: hucka@eecs.umich.edu
Newsgroups: news.software.nntp