Consultor Eletrônico



Kbase P133127: When not using -shmsegsize, what is the default value used when allocating shared memory segments?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/28/2011
Status: Verified

GOAL:

When not using -shmsegsize, what is the default value used when allocating shared memory segments?

GOAL:

How does the shared memory allocation algorithm work when not specifying -shmsegsize?


FACT(s) (Environment):

OpenEdge 10.1B
OpenEdge 10.1C
All Supported Operating Systems
OpenEdge Category: Database

FIX:

In OpenEdge 10.1B and later, when the database startup parameter "-shmsegsize" is not specified, the database manager attempts to determine the best segment size to use.

It will attempt to allocate 1 segment for the Shared Memory requirements. If the code determines that a 2GB segment should be used, but the machine is configured for a maximum segment size of 1GB, the code "should" end up creating a 1GB segment and then 1 of more segments at the maximum size until the Shared Memory requirements are met. The last segment should be the smallest.

Pre-10.1B behavior can be forced by adding "-shmsegsize 128" in the 32-bit version of our product or using "-shmsegsize 1g" or 1024 for the 64-bit version, to the database startup parameters.