🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Feroz Khan Mon, 27 May 1996 00:00
Sharedactive Patch
#8007
Author: Feroz Khan
Date: Mon, 27 May 1996 00:00
18 lines
865 bytes
Hi,

I've applied the sharedactive patch for Solaris and recompiled. I also modified
/etc/system appropriately and rebooted. After installing nnrpd, I get the
following error:

May 27 14:39:33 Server nnrpd[2298]: Host Can't create shared mem seg ment Invalid argument

Host Info:
Solaris 2.5 with Recommended patches
Inn 1.4 unoff 4

Any ideas/suggestions ?
Thanks
Feroz

Re: Sharedactive Patch
#7989
Author: Brian D Heaton
Date: Mon, 27 May 1996 00:00
28 lines
1163 bytes
Feroz,

	Did you edit the patch to change the max groups and max active size
parameters?  You should also change the SEM_UNDO paramater...
				BDH

khanf@Raven.und.ac.za (Feroz Khan) wrote:

>Hi,

>I've applied the sharedactive patch for Solaris and recompiled. I also modified
>/etc/system appropriately and rebooted. After installing nnrpd, I get the
>following error:

>May 27 14:39:33 Server nnrpd[2298]: Host Can't create shared mem seg ment Invalid argument

>Host Info:
>Solaris 2.5 with Recommended patches
>Inn 1.4 unoff 4

>Any ideas/suggestions ?
>Thanks
>Feroz



Re: Sharedactive Patch
#8010
Author: Operator
Date: Tue, 28 May 1996 00:00
39 lines
2227 bytes
Feroz Khan (khanf@Raven.und.ac.za) wrote:
: I've applied the sharedactive patch for Solaris and recompiled. I also modified
: /etc/system appropriately and rebooted. After installing nnrpd, I get the
: following error:
: May 27 14:39:33 Server nnrpd[2298]: Host Can't create shared mem seg ment Invalid argument
: Host Info:
: Solaris 2.5 with Recommended patches
: Inn 1.4 unoff 4
Under sunos 4.1.3u1 I found that this was caused by trying to allocate too
big of a shared memory segment. try splitting

static struct shared {
    BOOL            _GRPvalid;                      /* loaded ok */
    time_t          _GRPtimestamp;                  /* time last loaded */
    int             _GRPsize;                       /* number of groups */
    char            _GRPactive[MAX_ACTIVE_SIZE];    /* 700k */
 } *shm;

static struct shared1 {
    GROUPENTRY      *_GRPtable[GRP_SIZE];           /* 2k   */
    GROUPENTRY      _GRPentries[MAX_GROUPS];        /* 460k */
    GROUPENTRY      *_GRPnextentry[MAX_GROUPS];     /* 40k  */
 } *shm1;

your shared memory into 2 allocations like this. and see if it works any
better for you.

-Luke
                       _\\|//_
                       (-O-O-)
---------------------ooO-(_)-Ooo------------------------------------------
No purchase necessary  Keep away from fire or flames  Your mileage may vary
Void where prohibited  As seen on TV  Some assembly required  Do not stamp
Batteries not included  Place stamp here  For recrational use only
Humpty Dumpty was pushed  Keep working. Millions on welfare depend on YOU
Times approximate  This supersedes all previous notices  Luke@EriNet.com

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