Kbase 20368: HP-UX 11 Configurable Shared Memory Parameters
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  24/11/2008 |
|
Status: Verified
GOAL:
HP-UX 11 Configurable Shared Memory Parameters
FACT(s) (Environment):
HP-UX 11 32-bit
HP-UX 11 64-bit
FIX:
The below settings are recommended by Progress for the Progress applications. The values required by Progress must be added to the current kernel parameter values. In other words these recommendations do not take into account the requirement of UNIX operating system and/or any other application that uses shared memory and semaphores.
Shared memory is allocated in swappable shared memory space. Data structures for managing shared memory are located in the kernel.
The kernel configuration parameters related to shared memory control are:
- Maximum allowable shared memory segment size.
- Maximum number of shared memory segments that can be allocated simultaneously, system-wide.
- Maximum number of shared memory segments that can be attached to a single process.
- shmem
Enables or disables System V IPC shared memory support in the kernel at system boot time (Series 700 only).
Minimum = 0 (exclude System V IPC shared memory code from kernel)
Maximum = 1 (include System V IPC shared memory code in kernel)
Default = 1
- shmmax
Specifies system-wide maximum allowable shared memory segment size.
Minimum = 2048 (2 KB)
Maximum = 0x40000000 (1024 MB) on 32-bit systems
1 TB on 64-bit systems
Default = 0x04000000 (64 MB)
- shmmni
Specifies system-wide maximum allowable number of shared memory segments (by limiting the number of segment identifiers).
Minimum = 3
Maximum = (memory limited)
Default = 200 identifiers
- shmseg
Defines the maximum number of shared memory segments that can be simultaneously attached to a single process.
Minimum = 1
Maximum = shmmni
Default = 120