home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC82029 Status: Closed

ACTIVATE DATABASE ON LINUX MAY INTERMITTENTLY FAIL WITH SQL1084 OR SQL1478

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
In rare scenarios, database activation or first connect may fail 
intermittently with SQL1084 or SQL1478 due to the requirement to 
allocate multiple shared memory segments in a contiguous address 
range. 
 
On UNIX, DB2 typically allocates the initial database memory 
configured size as a single shared memory segment.  In special 
cases, such as encountering the 256GB shared memory segment 
maximum on Linux, the initial allocation may be broken up into 
multiple smaller segments, which must be attached in a 
contiguous address range.  It cannot be assumed that a 
contiguous address range of the required size will always be 
available based on the address assigned to the first segment by 
the operating system. 
 
It is unlikely that database activation (with multiple shared 
segments) will fail directly after db2start as the db2sysc 
process address space has little fragmentation.  A possible 
scenario could involve multiple databases, where a database with 
a very large (eg. > 256GB) database memory footprint is 
deactivated (without shutting down the instance), and a second 
database is activated which is assigned some of the address 
range previously used by the very large footprint database. 
Upon reactivation, the memory for the very large database may 
try to get assigned to the remainder of the range, which would 
fail if there is some object or allocation mapped at the top of 
the range. 
 
Other possible scenarios exist, but again only in combination 
with the special case of an operating system limit preventing a 
single shared memory segment being used for the initial database 
memory allocation. 
 
Note that RHEL6 and SLES 11 use a top-down process address space 
layout.  It is a known problem that allocating a database memory 
size > 256GB will always fail in these environments - see APARs 
IC79948/IC79934 (9.7 FP6, 9.5 FP9 respectively).  The APARs will 
solve the basic problem of allocating contiguous segments in a 
top-down address layout model, but not the rarer intermittent 
conditions addressed by this APAR.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Linux systems with database memory configurations exceeding  * 
* 256GB                                                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix pack 7                        * 
****************************************************************
Local Fix:
Any of: 
- recycle the instance with db2stop;db2start 
- limit database memory size to 250GB on Linux (allow a small 
amount of overhead to stay below the 256GB limit) 
- use "huge pages" on Linux for Database Memory
available fix packs:
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
problem first fixed in DB2 Version 9.7 Fix Pack 7
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC85660 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
14.03.2012
01.04.2013
01.04.2013
Problem solved at the following versions (IBM BugInfos)
9.7.FP7
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.8 FixList