Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald)
Subject: Re: Shared Memory--how to add?
Date: 1995/10/31	[thread overview]
Message-ID: <GRUNWALD.95Oct31155156@foobar.cs.colorado.edu> (raw)
In-Reply-To: 475ts4$mih@netnews.upenn.edu


The kernel defines a parameter concerning the maximum amount of shared
memory available and the maximum number of semaphores & message queues
that can be used.

You can modify these using the /etc/sysconfigtab file. For example, if
you say:

ipc:
        shm-max = 134217728

this means you can no more have 134MByte of shared memory allocated on
your system. I believe you need to reboot for this to task effect.


You can adjust any of the following parameters -- the values shown are
the "default" values for a rather generic Digital Unix 3.2A system. I
don't know what all of them do, but it's pretty easy to pick out some
of them.

msg-max = 8192
msg-mnb = 16384
msg-mni = 64
msg-tql = 40
shm-max = 4194304
shm-min = 1
shm-mni = 128
shm-seg = 32
sem-mni = 16
sem-msl = 25
sem-opm = 10
sem-ume = 10
sem-vmx = 32767
sem-aem = 16384
num-of-sems = 60
max-kernel-ports = 22487
port-hash-max-num = 1124350
port-reserved-max-num = 22487
set-max-num = 1029




      reply	other threads:[~1995-10-31  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-31  5:00 Shared Memory--how to add? Matthew P Wiener
1995-10-31  5:00 ` Dirk Grunwald [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox