Setting MaxResourceCacheSize and MaxSessionCacheSize agent parameters for Shared Memory on Linux.
search cancel

Setting MaxResourceCacheSize and MaxSessionCacheSize agent parameters for Shared Memory on Linux.

book

Article ID: 50992

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

 

We're running a Web Agent on Apache on Linux. Could you tell us what
Linux system parameters are related to :

  MaxResourceCacheSize 
  MaxSessionCacheSize 

Web Agent parameters ?

We want to make sure we have the right system settings on our Linux
OS's.

 

Environment

Release:
Component: SMAPC

Resolution

 

The ACO parameters :

  MaxResourceCacheSize
  MaxSessionCacheSize

are related to semaphores and Shared Memory.

On Linux the recommended minimum values for semaphore/shared memory
settings for kernel 2.6 (as well as 2.4 if and where it differs) are:

Kernel 2.6

  Use "sysctl kernel.sem" to see actual value of SEMMSL, SEMMNS,
  SEMOPM, SEMMNI respectively.

  Reuse SEMOPM and SEMMSL and modify SEMMNI and SEMMNS as (to modify
  SEMMSL, SEMMNS, SEMOPM, SEMMNI respectively.)  

  # sysctl -w kernel.sem="250 32000 32 128"

  SEMMNU is set internally as SEMMNI.

  set shmax:

  # sysctl -w kernel.shmmax = 2147483648

  shmseg is internally set to shmmni and you can set this with:

  # sysctl -w kernel.shmmni=24 

  (this is set to 4096 on sles9).