🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Dan Notov Fri, 09 Feb 1996 00:00
Sharedactive help?
#4769
Author: Dan Notov
Date: Fri, 09 Feb 1996 00:00
23 lines
1525 bytes
Hi all!

I am setting up a new news server (inn1.4unoff3) on a Tricord SMP with
Solaris 2.5 x86. I attempted to install the sharedactive patch for
nnrpd, and cannot seem to keep it running. According to truss, nnrpd
exits with SEGV. I had set XSEM_UNDO to SEM_UNDO. I'm doing unit testing
with only myself on the machine. 

ipcs does show allocated SHM & one SEM for my instance of nnrpd.

Any FAQ pointers I've missed?

/danno 
-- 
     +-----------------------------------------------------------+
     | Daniel S. Notov  +-------------+  Consultant @ DEC        |
     | danno@large.com  +-------------+  +1-303-766-2680 V       |
     +-----------------------------------------------------------+
     | "Certainly the game is rigged. Don't let that stop you;   |
     | if you don't bet, you can't win." -Lazarus Long           |
     +-----------------------------------------------------------+

Re: Sharedactive help?
#4880
Author: Russell Vincent
Date: Tue, 13 Feb 1996 00:00
28 lines
1594 bytes
[ Distribution: inet removed ]

Dan Notov (danno@large.com) wrote:

: I am setting up a new news server (inn1.4unoff3) on a Tricord SMP with
: Solaris 2.5 x86. I attempted to install the sharedactive patch for
: nnrpd, and cannot seem to keep it running. According to truss, nnrpd
: exits with SEGV. I had set XSEM_UNDO to SEM_UNDO. I'm doing unit testing
: with only myself on the machine. 

From my tracing, I found that Solaris 2.4 (and probably others) doesn't
always return the same pointer value for different processes accessing
the same shm area. The sharedactive.patch assumes that these pointers
are always the same.

I posted a new patch a few weeks ago that solved this problem, although
it reduced the amount of shared memory (unfortuntely). There is still
a significant saving for many nnrpd processes. The patch also fixes
a few other possible pointer (mis-)uses. I have been running it for
a while now with not a single core dump.

If you don't have my patch and want to try it on Solaris 2.5, give me
a shout.

 -Russell


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