SUMMARY: how to turn on Shared Memory on Solaris 2.3

From: Venkat Chalasani (vc@kong.geol.lsu.edu)
Date: Tue Jun 21 1994 - 03:49:58 CDT


Original Posting :
>
> System : SS-10 - Model 514, 224MB RAM
>
> I have included following in /etc/system and rebooted the system.
> set shmsys:shminfo_shmmax=81920000
> set shmsys:shminfo_shmmin=1
> set shmsys:shminfo_shmmni=100
> set shmsys:shminfo_shmseg=48
>
> $ ipcs -a gives me the following.
> IPC status from <running system> as of Wed Jun 8 18:09:52 1994
> Message Queue facility not in system.
> Shared Memory facility not in system.
> Semaphore facility not in system.
>
> What do I need to do to switch on Shared Memory Facility?

IPCS shows only the active IPC facilities. If they are active, they
are not reported.
In Solaris2.x, all modules will be loaded when they are needed by default.
So IPCS didn't report any as nothing was loaded. But when I used some
programs which require shared memory, it did report that.
If some one needs to load these facilities by default (not when they are
used), they can do that by placing the following in /etc/system
        forceload: sys/shmsys
        forceload: sys/msgsys
        ...

Thanks to :

        emsca!soporte!lsp@Venezuela.Sun.COM (Leonardo Serres Perfetti (emsca))
        Aad v/d Klaauw <Aad.van.der.Klaauw@cwi.nl>
        tim.cannon@amp.com
        rmills@ccd.harris.com
        larson@erim.org
        syd@dsinc.myxa.com
        hydres!paul
        misik@alpha.dcs.fmph.uniba.sk (Andrej Misik)
        Manfred Liebchen <liebchen@rs1.rrz.Uni-Koeln.DE>
        bbrq990@b-r.com (Raymond Trzaska)
        kroeze@cs.utwente.nl (Edward W. Kroeze)
        anderson@neon.mitre.org (Mark S. Anderson)
        Birger.Wathne@vest.sdata.no (Birger A. Wathne)
        silva@infonet.com (Ed Silva)

|---------------------------------------------------------------------------|
 _/ _/ _/ _/ Venkat Chalasani vc@kong.geol.lsu.edu
  _/ _/ _/ _/ Research Associate IV vc@glass.geol.lsu.edu
   _/ _/ _/ E233 Howe-Russell Complex (504) 388-3353 (dept)
    _/ _/ _/ Lousiana State University (504) 388-3138 (work)
     _/ _/ _/ _/ Baton Rouge, LA 70803 (504) 388-2302 (fax)
      _/_/ _/ _/ ++++++++++++++++++++++++++++++++++++++++++++++++++
|---------------------------------------------------------------------------|
|---------------------------------------------------------------------------|



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:04 CDT