Properly configuring MaxResourceCacheSize and MaxSessionCacheSize web agent parameters on Linux.
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).