Kbase P29706: Calculating values for Progress-relevant kernel parameters
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/06/2007 |
|
Status: Verified
GOAL:
Calculating values for Progress-relevant kernel parameters
GOAL:
What are the Progress-relevant kernel parameters?
GOAL:
Shared memory and semaphore parameter kernel settings for Progress
FACT(s) (Environment):
UNIX
Progress 9.x
FIX:
The following is extracted from the documentation. It can be used as a basis for calculating the relevant values. Please note that the values these give are only for what Progress will require - the specific values set will have to be adjusted according to what else is running on the system and what their kernel requirements might be.
If unsure, please discuss any proposed changes with your system adminstrator and/or your operating system vendor.
It should also be noted that the values that these calculations provide are quite conservative, and it can be advisable to increase them by 50%.
Parameter names may vary between platforms: check your os documentation for details.
----------------------------------------------------------------------
Shared Memory and Semaphore Parameter kernel settings for Progress
SHMMNI Maximum number of shared memory (SHM) identifiers.
2 per active multi-user database; if (#users > 50), add 1 per 25 users; if (-B > 400), add 1 per 200 buffers.
SHMSEG Maximum number of SHM segments a single process can attach.
4-8
SHMALL Maximum number of in-use SHM segments.
System default; increase if many databases are active simultaneously; decreasing -B, -n, and -L startup parameters decreases SHM requirements.
SHMMAX Maximum SHM segment size. System default; increase if you get Progress error 1135.
SEMMNI Number of semaphore (SEM) IDs; each represents an array of SEMs.
1 per active multi-user database.
SEMMSL Maximum number of semaphores per SEM ID.
(Max-local-users-on-any-database + Max-#servers-on-any-database + 4).
SEMMNS Total semaphores in the system.
(SEMMSL x #active-databases).
SEMMNU Number of semaphore undo structures.
Same value as SEMMNS.
MAXUMEM Maximum address space for a single user.
> = server size process + SHMSEG * SHMMAX.