Kbase P129034: Client process getting error 1720 in 10.1B attempting to attach to database in shared memory on Wind
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  02/07/2009 |
|
Status: Verified
SYMPTOM(s):
Client process getting error 1720 in 10.1B attempting to attach to database in shared memory on Windows.
Unable to attach shared memory Global\<shmname>, error 0. (1720)
Getting error 1176 when starting database server with large value for -B on Windows under 10.1B.
The data space of the process is not enough for the shm segment (1176)
FACT(s) (Environment):
Windows
OpenEdge 10.1B
CAUSE:
Changes to internal architecture of the 10.1B client code and 10.1B database internals have changed the memory requirements and some functional limits for many executables.
In 10.1Bx the client will most likely only be able to connect in shared memory to a database whose total allocated shared memory is around 1.4 Gig of RAM (or less).
Depending on parameters used to start the database the following are the values typical for -B dependent on database blocksize:
DB Blocksize Approximate limit for -B value which
will allow shared memory connection
1k 1400000
2k 700000
4k 350000
8k 175000
These numbers are largely approximations.
Changes to .dll versions within a system may increase or lower these suggested values.
Changes to some startup parameters which affect shared memory such as -B, -L, -Mxs, -shmsegsize, et al. will likely alter the above limits.
Though the database may be able to startup with values higher than those listed above, the client requires a much larger heap size in 10.1B compared to earlier versions and this added memory usage lowers the total memory that the client can attach to and still be within the addressable 32-bit memory limit for a client executable on Windows.
FIX:
Consider reducing the -B for the database startup. A good starting point is to reduce the prior value by 10%.
The database must be restarted for this new setting to take effect and the client connection in shared memory should be attempted immediately after the database is started to see if the reduction in -B is sufficient to avoid the 1720 error.