AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

Getting maximum/minimum shared-memory segment sizes

  • 1.  Getting maximum/minimum shared-memory segment sizes

    Posted Thu April 23, 2009 12:59 AM

    Originally posted by: SystemAdmin


    Hi,

    AIX 5.3
    From man shmget()
    The following limits apply to shared memory:
    * Maximum shared-memory segment size is:
    * 256M bytes before AIX 4.3.1
    * 2G bytes for AIX 4.3.1 through AIX 5.1
    * 64G bytes for 64-bit applications for AIX 5.1 and
    later
    * Minimum shared-memory segment size is 1 byte.
    Are there any system parameters that hold those values (Maximum shared-
    memory segment size and Minimum shared-memory segment size)?
    Is it possible to get them via sysconf() or other system call?
    Thanks,
    Alex Vinokur
    #AIX-Forum