🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Michael Hucka Sat, 02 Mar 1996 00:00
[INN 1.4unoff3] "sharedactive" patch under SunOS 4.1.4?
#5473
Author: 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

Re: [INN 1.4unoff3] "sharedactive" patch under SunOS 4.1.4?
#5457
Author: Dave Barr
Date: Sat, 02 Mar 1996 00:00
20 lines
1394 bytes
In article <82bumfvjr4.fsf@hawk.eecs.umich.edu>,
Michael Hucka <hucka@eecs.umich.edu> wrote:
>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:

Yes, this is related to the known bug regarding "LIST ACTIVE newsgroup"
versus "GROUP newsgroup".  See http://www.math.psu.edu/barr/INN.html

When you say 'g umich.music', trn does a 'LIST ACTIVE umich.music' and
sees 'aha, the group is valid'.  Upon entering the group it does
a 'GROUP newsgroup' and sees 'uh oh, invalid group'.

Patches welcome.  (it should be easy, I just don't have the time
to track it down)

--Dave

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