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

Properly configuring MaxResourceCacheSize and MaxSessionCacheSize web agent parameters on Linux.

Environment

Release:
Component: SMAPC

Resolution

The web agent parameters, MaxResourceCacheSize and MaxSessionCacheSize are configured in the ACO (Agent Configuration Object) and 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).