🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Matthew Ward Tue, 27 Aug 1996 00:00
Shared Active Patch and Solaris Question
#10450
Author: Matthew Ward
Date: Tue, 27 Aug 1996 00:00
23 lines
1235 bytes
I've got a problem with the sharedactive patch (on 
INND1.4unoff3) running under Solaris 2.5:

When my active file gets large enough (around the 
1 megabyte range), the in.nnrpd processes cannot read 
in and/or map the shared memory segment.

I seem to have hit a limit on the maximum size of 
a shared memory segment from Solaris.

Anyone have similar experiences?

Anyone have any workarounds?

Anyone have any ideas as to how to circumvent this limit?

HELP!
--
"My people are the people of the dessert," said T.E. Lawrence, 
picking up his fork.      /\/\ a tt == Matthew.Ward@gte.net

Re: Shared Active Patch and Solaris Question
#10483
Author: Mark Hittinger
Date: Tue, 27 Aug 1996 00:00
22 lines
1364 bytes
jaf@sarastro.sun.csd.unb.ca (Tony Fitzgerald) writes:
>In article <322324B2.674C@gte.net>, Matthew Ward  <mward@gte.net> wrote:
>>I seem to have hit a limit on the maximum size of 
>>a shared memory segment from Solaris.

>As I said, perhaps.  I think the symptoms that I'm seeing are because
>the nnrpd processes are not able to see the whole shared active
>structure, however, I don't know why.  I should have thought that the
>main innd process should complain if it can't allocate a large enough
>shared segment.

In the nnrpd group.c file there are some constants that you need to raise
in addition to touching the /etc/system shared memory settings.

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Re: Shared Active Patch and Solaris Question
#10502
Author: Tony Fitzgerald
Date: Wed, 28 Aug 1996 00:00
52 lines
2514 bytes
In article <322324B2.674C@gte.net>, Matthew Ward  <mward@gte.net> wrote:
>When my active file gets large enough (around the 
>1 megabyte range), the in.nnrpd processes cannot read 
>in and/or map the shared memory segment.

What are your precise symptoms?  I'm having what I assume is a similar
problem.  The trn news reader will show groups towards the end of the
active file and indicate the number of articles but can not actually
read the articles themselves.  When I telnet to the nntp port and issue
a group command, I get the message "411 No such group".

>I seem to have hit a limit on the maximum size of 
>a shared memory segment from Solaris.

I have the following in /etc/system at the recommendation of a number of
posts, etc:

set semsys:seminfo_semmnu=1024
set semsys:seminfo_semmap=250
set semsys:seminfo_semmni=500
set semsys:seminfo_semmns=500
set semsys:seminfo_semmsl=500
set semsys:seminfo_semume=100
set shmsys:shminfo_shmmin=200
set shmsys:shminfo_shmmni=200
set shmsys:shminfo_shmseg=200
set shmsys:shminfo_shmmax=268435456

I would like to know where these things are documented.  Answerbook says
very little about only a few of the /etc/system parameters.

>Anyone have similar experiences?

As I said, perhaps.  I think the symptoms that I'm seeing are because
the nnrpd processes are not able to see the whole shared active
structure, however, I don't know why.  I should have thought that the
main innd process should complain if it can't allocate a large enough
shared segment.

>Anyone have any workarounds?

Only re-organizing the active file so that only groups that no one cares
about are affected.  I don't believe that this is a good approach.

>Anyone have any ideas as to how to circumvent this limit?

I'd like to see any correspondence you might receive privately.
-- 
O- J. Anthony Fitzgerald, jaf@UNB.ca, http://www.unb.ca/web/CSD/staff/jaf/ -O

Re: Shared Active Patch and Solaris Question
#10512
Author: Tony Fitzgerald
Date: Wed, 28 Aug 1996 00:00
30 lines
1841 bytes
In article <500bfg$sl6@dfw-ixnews1.ix.netcom.com>,
Mark Hittinger <bugs@freebsd.netcom.com> wrote:
>In the nnrpd group.c file there are some constants that you need to raise
>in addition to touching the /etc/system shared memory settings.

Thank you very much for the response.

Here are the settings that I had:

#  define MAX_ACTIVE_SIZE       1500000 /* Max size of active file */
#  define MAX_GROUPS            20000   /* Max number of groups in active */
#  define RELOAD_DELAY          300     /* min #secs before reloading active */
#  define XSEM_UNDO             SEM_UNDO /* Do use kernel undo */

there is also:

#define GRP_SIZE        512

but it's not clear whether this is something that should be played with.

Considering that my active file is 386113 bytes with 8492 groups, I would
have thought that the above settings should be more than adequate.  In
fact, if pressed, I would have said that our system is rather modest as far
as the sizes of these things go.  Are there other parameters than the ones
commented for the shared active support that should be set?
-- 
O- J. Anthony Fitzgerald, jaf@UNB.ca, http://www.unb.ca/web/CSD/staff/jaf/ -O

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