From: weemba@sagi.wistar.upenn.edu (Matthew P Wiener)
Subject: Shared Memory--how to add?
Date: 1995/10/31 [thread overview]
Message-ID: <475ts4$mih@netnews.upenn.edu> (raw)
What is "shared memory"? More importantly, how do I put it in?
I am planning on installing Oracle7 for an Alpha running Dec Unix
version 3.2, and their manual refers me to "ipcs", "ipcrm", "shmget",
"shmctl" and "shmop".
In particular, it says to run ipcs to see how much I have:
------------------------------------------------------------------------
# ipcs
Message Queues:
T ID KEY MODE OWNER GROUP
q 0 1090519431 --rw------- root system
Shared Memory:
T ID KEY MODE OWNER GROUP
*** No shared memory segments are currently defined ***
Semaphores:
T ID KEY MODE OWNER GROUP
s 0 1090519431 --ra------- root system
------------------------------------------------------------------------
Now, does this merely mean that no program has called shmget(2) yet,
and I can just install Oracle7 away and let it worry about it? Or
does this mean that our default came with SHMMAX, SHMMIN, SHMMNI,
SHMSEG all set to zero, and I need to redo these parameters? The
Oracle7 manual says there is a kernel parameter change somewhere in
/usr/sys/conf along with a README, but in addition to the lack of a
README, all I found there was a definition buried inside param.c:
------------------------------------------------------------------------
/* shared memory */
struct shminfo shminfo = { /* shared memory info structure */
SHMMAX,
SHMMIN,
SHMMNI,
SHMSEG
};
------------------------------------------------------------------------
So, what gives?
--
-Matthew P Wiener (weemba@sagi.wistar.upenn.edu)
next 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 Matthew P Wiener [this message]
1995-10-31 5:00 ` Shared Memory--how to add? Dirk Grunwald
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