Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-383

Document shared memory commandline variables

    XMLWordPrintable

    Details

    • Improvement
    • Status: Closed
    • Resolution: Won't Fix
    • None
    • Doc

      Description

      These environment variables are useful when running in envirnments with lesser amounts of shared memory such as docker.
      AM_MAX_SHARED_POOL_SIZE=0x200000
      AM_MAX_SESSION_CACHE_SIZE=0x4000000
      export AM_MAX_SHARED_POOL_SIZE
      export AM_MAX_SESSION_CACHE_SIZE

      This sets the maximum for the audit segment to 2MB and the shared cache to 128MB. By default 1/4 of the ram will be used for the shared cache which can be too much for many systems.
      They can be decimal octal or hex values of bytes.
      Note that these will be raised to the next value of 2 so the precise amount may vary a little, and also there are segment restrictions which may mean for example that on aix 32bit 256mb gets used for any value below this.

        Attachments

          Issue Links

            Activity

              People

              spareyc Charles Sparey
              alex.levin@forgerock.com Alex Levin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: