From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1e1195a3e2e3fda7,start X-Google-Attributes: gid1164f8,public From: weemba@sagi.wistar.upenn.edu (Matthew P Wiener) Subject: Shared Memory--how to add? Date: 1995/10/31 Message-ID: <475ts4$mih@netnews.upenn.edu>#1/1 X-Deja-AN: 118288039 organization: The Wistar Institute of Anatomy and Biology reply-to: weemba@sagi.wistar.upenn.edu (Matthew P Wiener) newsgroups: comp.sys.dec 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)