This section contains the following topics:
Tune the Shared Memory Segments
How to Tune the Solaris 10 Resource Controls
If you install an Oracle iPlanet agent on Solaris systems, tune the shared memory settings of the operating environment for the agent to function correctly. By increasing the shared memory segments or your operating environment, you improve the performance of the Agent. The variables that control shared memory segments are defined in the specification file of your operating environment.
For AIX operating environments, run the following command before starting an Oracle iPlanet web server:
export EXTSHM=ON
Note: Sometimes Linux operating environments require tuning the shared memory segments. For more information about the shared memory segments and how to tune them, see the documentation for your particular operating environment.
Follow these steps:
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 that are required, allocate 4 KBs per 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 require large caches.
(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, systemwide.
Example: (except Solaris 9) N/A
Example: (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 Solaris 9) 100
Example: (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: (Solaris 9) 100
Example: (Solaris 9) 400
Specifies the number of processes using the undo facility. For optimal performance, set the semmnu value greater than the number of Oracle iPlanet web server processes running on the system at any one time. Exceed the maxprocs setting by 200 or more.
Example: (Solaris 9) 200
$ sysdef -i
Tune the resource controls at the project level to improve the performance of the agent.
Note: See your Solaris documentation for more information.
Tuning the resource controls on Solaris 10 uses the following process:
Specifies the maximum shared memory IDs for a project.
Specifies the maximum number of semaphore IDs for a project.
Specifies the maximum number of message queue IDs for a project.
Specifies the total amount of shared memory allowed for a project.
Specifies the maximum number of semaphores allowed per semaphore set.
Specifies the maximum number of semaphore operations allowed per semop.
Specifies the maximum number of messages on a message queue.
Specifies the maximum number of bytes of messages on a message queue.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|