/etc/system SHM settings

From: Andy Ford (andy.ford_at_telindus.co.uk)
Date: 04/21/04

  • Next message: Sabrina Lautier: "SUMMARY: How to check the update version of a solaris 8 server ?"
    To: sunmanagers@sunmanagers.org
    Date: Wed, 21 Apr 2004 14:39:06 +0100
    
    

    I am trying to change SHMMAX for a Solaris 2.8 system so I can further
    test IPC::Shareable.
    In /etc/system I am setting this value with

            set msgsys:msginfo_msgmnb=8388608

    ... but It defaults back to 1048576 i.e.
    shell> sysdef -i | grep SHM
       1048576 max shared memory segment size (SHMMAX)
         1 min shared memory segment size (SHMMIN)
       100 shared memory identifiers (SHMMNI)
         6 max attached shm segments per process (SHMSEG)

    Am I doing this correctly?

    Thanks

    Andy

    -- 
    perl -e 'print qq^;@) [###]^^qq^z\.MY{eLQ9^'
    in:control developer, Telindus, RG27 9HY
    DDI: +44 1256 709211, GSM: +44 7810 636652
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: Sabrina Lautier: "SUMMARY: How to check the update version of a solaris 8 server ?"

    Relevant Pages

    • Problems accessing shared memory
      ... create or access the shared memory segment on a specific computer. ... The problem also appeared on a system using Windows 2003 server and Windows ... but we found a fix. ...
      (microsoft.public.dotnet.framework.interop)
    • Re: A shared library which attaches a shared segment - whats the right way??
      ... > The varibale which attaches the shared memory segment using 'shmat' is ... In order to understand recursion you must first understand recursion. ...
      (comp.unix.aix)
    • Re: Quick questions on Shared Memory
      ... Andrew Falanga wrote: ... I finally got my shared memory program to work. ... > system destroys the shared memory segment. ... > Then a second program access the segment and reads the values. ...
      (comp.unix.programmer)
    • Re: Argument shmaddr in shmat()
      ... void *shmat(int shmid, void *shmaddr, int shmflg); ... If the shared memory segment has never been attached to by any ... Does it mean that if the only process works with the shared memory ... segment, then shmaddr must be set 0 in shmat(), i.e. ...
      (comp.sys.hp.hpux)
    • Re: Argument shmaddr in shmat()
      ... segment, then shmaddr must be set 0 in shmat(), i.e. ... and attaches a shared memory segment -- yes, ...
      (comp.sys.hp.hpux)