🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by peter Tue, 19 Mar 1996 00:00
UNOFF4 + sharedpatch breaks on SunOS?!
#5809
Author: peter
Date: Tue, 19 Mar 1996 00:00
29 lines
1580 bytes
I upgraded to Unoff4 and applied the nnrpd sharedpatch (sharedmem size set  
to 900k, num of groups to 20k). After initial happiness about the more  
efficient use of memory (around 500k per reader as opposed to 1MB+),  
reports of "missing news-groups" poured in.

I tried, and indeed:
group comp.sys.mac.announce
411 No such group
group comp.sys.next.announce
211 41 1425 1466 comp.sys.next.announce
group comp.sys.mac.apps
411 No such group

After unpatching the patch all was fine (but back to 1MB+ per reader and a  
leftover 900k shared memory area:
group comp.sys.mac.announce
211 2 100 101 comp.sys.mac.announce

I compiled using gcc version 2.6.3 under SunOS sun 4.1.4 5 sun4m. No  
errors anywhere regarding shortage of system resources or other problems.

Has anybody gotten this to work in a similar environment?
Anybody willing to share a binary package (other than ftp.netscape.com ;)?

Peter.
PS: Should not innd be the one and only process to write and update shared  
mem? The readers should just wait & see...

Re: UNOFF4 + sharedpatch breaks on SunOS?!
#5814
Author: Andrew A. Vasilyev
Date: Wed, 20 Mar 1996 00:00
43 lines
1845 bytes
peter@sirius.com wrote:
> I upgraded to Unoff4 and applied the nnrpd sharedpatch (sharedmem size set  
> to 900k, num of groups to 20k). After initial happiness about the more  
> efficient use of memory (around 500k per reader as opposed to 1MB+),  
> reports of "missing news-groups" poured in.

  There is at least one big bug in this patch (I've wrote to
  barr@math.psu.edu about it with no response :(),
  someone forgot about possible existence of the group alias
  as the 3-rd field of active file, see this "second-level" patch:

*** group.c	Sat Mar  9 19:19:19 1996
--- group.c.new	Sat Mar  9 19:19:58 1996
***************
*** 277,285 ****
  
  	gp->Flag = *p;
  	gp->Alias = gp->Flag == NF_FLAG_ALIAS ? p + 1 : NULL;
! 	p++; p++;
      }

      GRPhash();
      GRPtimehash = time((time_t *)&tt);
  }
--- 278,286 ----
  
  	gp->Flag = *p;
  	gp->Alias = gp->Flag == NF_FLAG_ALIAS ? p + 1 : NULL;
! 	/* Skip the group alias if any */
! 	while (*p++ != '\0'); /* !!!! NOT p++; p++; */
      }

      GRPhash();
      GRPtimehash = time((time_t *)&tt);
  }
***************
_______
	ANDY

P.S. Please examine ftp.demos.su:/pub/relcom/usenet/transport/inn/inn1.4-unoff4.patch
     for another 6 small patches to it, not all by me :))

Re: UNOFF4 + sharedpatch breaks on SunOS?!
#5819
Author: Dave Barr
Date: Wed, 20 Mar 1996 00:00
13 lines
938 bytes
In article <4iodu0$t87@news.demos.su>,
Andrew A. Vasilyev <andy@sf.demos.su> wrote:
>peter@sirius.com wrote:
>  There is at least one big bug in this patch (I've wrote to
>  barr@math.psu.edu about it with no response :(),

Sorry, Mar 9 was a busy time for me.

Those patches look promising.. thanks!

--Dave

Re: UNOFF4 + sharedpatch breaks on SunOS?!
#5836
Author: Jack Bryans
Date: Wed, 20 Mar 1996 00:00
13 lines
1122 bytes
In article <4ilodo$8fi@sun.sirius.com> peter@sirius.com writes:
> I upgraded to Unoff4 and applied the nnrpd sharedpatch (sharedmem size set  
> to 900k, num of groups to 20k). After initial happiness about the more  
> efficient use of memory (around 500k per reader as opposed to 1MB+),  
> reports of "missing news-groups" poured in.

Had the same experience on an SGI running IRIX5.3XFS.  It mostly worked, but
a small number of groups got the "No such group" response.  I wonder if
there's an incompatibility with ACT_STYLE MMAP.

Jack

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