If you install an Apache or Sun Java System Web Agent on Solaris or HP-UX systems, you must tune the operating system's shared memory settings for the Web Agent to function correctly. By increasing the operating system's shared memory segments, you improve the performance of the Web Agent. The variables that control shared memory segments are defined in the operating system's specification file.
For AIX operating systems, you must run the following command before starting an Apache server:
export EXTSHM=ON
Note: You may need to tune the shared memory segments if you are using Linux. For more information about the shared memory segments and how to tune them, see the documentation for your particular operating system.
To increase shared memory segments
set shmsys:shminfo_shmmax=33554432
Specifies the maximum shared memory segment size. Controls the maximum size of the Agent resource and session cache.
Note: To estimate the amount of memory segments required, allocate 4KB/entry in each cache, or view cache usage statistics in the OneView Monitor. See the Web Agent Configuration Guide for more information about using the OneView Monitor.
Example: 33554432 (32 mb) for busy sites that need large cache capacity.
(Not required for Solaris) Minimum shared memory segment size. Controls the minimum size of the Agent resource and session cache.
Specifies the maximum number of shared memory segments that can exist simultaneously, system-wide.
Example: (except Apache 1.x/Solaris 9) N/A
Example: (Apache 1.x/Solaris 9) 200
(Not required for Solaris 9) Specifies the maximum number of shared memory segments per process.
Example: 24
Specifies the number of semaphore identifiers. Use 11 for every instance of the Agent that you run on the system.
Example: (except Apache 1.x/Solaris 9) 100
Example: (Apache 1.x/Solaris 9) 200
Specifies the number of semaphores in the system. Use 10 for every instance of the Agent that you run on the system.
Example: (except Apache 1.x/Solaris 9) 100
Example: (Apache 1.x/Solaris 9) 400
Specifies the number of processes using the undo facility. For optimal performance, semmnu should be greater than the number of Apache child processes or Sun Java System processes running on the system at any one time. For Apache servers, this value should exceed the maxclients setting by 200 or more. For Sun Java System servers, this value should exceed the maxprocs setting by 200 or more.
Example: (except Apache 1.x/Solaris 9) 200
Example: (Apache 1.x/Solaris 9) 400
$ sysdef -i
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |