2.15.1 Description
ARTSHM
is used to manage shared memory for
GETMAIN SHARED.
It handles shared memory allocation
and free request.
Environment variableKIX_SHR_IPCKEY
and
KIX_SHR_SIZE
specify IPC key and size of shared
memory, these two variables must be configured to enable this
feature. User can specify shared memory attach address by
KIX_SHR_ATADDR,
default 0x300000000000, the specified
address must be a page-aligned address. Environment variables must
same for ARTSHM
and application servers.
User can configure more than one ARTSHM
in a
domain. On startup, the first booted ARTSHM
creates/initializes shared memory, following ARTSHM
attaches to the shared memory. On shutdown, the last
ARTSRM
destroys shared memory.
ARTSHM
must startup before any ART application
servers (ARTSTRN/1
, ARTATRN/1
and
ARTDPL
), and shutdown after all ART application
servers.
If application servers that use shared memory are still alive
when the last ARTSRM
shutdown, ARTSRM
doesn't destroy shared memory, user must clean up the shared memory
manually.
If ARTSHM
stops abnormally, the shared memory is
not destroyed, when ARTSHM
recovered either by Tuxedo
RESTART
feature or manually startup, it attaches to
shared memory, the memory management information is kept.
If the feature is not enabled, the server failed to boot.
Parent topic: Shared Storage Management Server (ARTSHM)