home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC91542 Status: Geschlossen

OVERRIDE VIRTUAL AND OTHER USER LIMITS FOR DB2CKPW DAEMON IN LOW MEMORY
LINUX SYSTEMS

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
More recent Linux distributions have newer defaults(4GB) on 
virtual memory (and other) resource limits, it is 80% of 
RAM+swap.  This makes the password checking daemons to fail to 
attach shared memory particularly when FCM over allocates shared 
memory. 
 
db2start command would fail with the following symptom. 
 
05/02/2011 06:30:33     0   0   SQL1042C  An unexpected system 
error occurred. 
05/02/2011 06:30:33     1   0   SQL1042C  An unexpected system 
error occurred. 
SQL1032N  No start database manager command was issued. 
SQLSTATE=57019 
 
 
diag.log would contain something like below, 
 
2011-05-02-06.29.33.729607-240 E13553E825            LEVEL: 
Error 
PID     : 8547                 TID  : 140736813065984PROC : 
db2sysc 0 
INSTANCE: db2inst1             NODE : 000 
EDUID   : 12                   EDUNAME: db2sysc 0 
FUNCTION: DB2 UDB, fast comm manager, 
sqlkf_init_allocate_shared, probe:121 
DATA #1 : <preformatted> 
Allocated FCM shared memory. 
Required size: 226922980 bytes 
       Total shared memory needed: 226922980 bytes 
       Total shared memory needed for FCM control structures: 
64111072 
bytes 
       Total shared memory needed for FCM buffers: 85639168 
bytes 
       Total shared memory needed for FCM channels: 19931136 
bytes 
       Total shared memory needed for FCM sessions: 9527296 
bytes 
Current FCM resources configuration (for 2 logical and 2 
failover 
partitions): 
       buffers: 17900 
       channels: 10740 
       sessions (internal): 1790 
 
2011-05-02-06.29.33.729801-240 I14379E344            LEVEL: 
Error 
PID     : 8547                 TID  : 140736813065984PROC : 
db2sysc 0 
INSTANCE: db2inst1             NODE : 000 
EDUID   : 12                   EDUNAME: db2sysc 0 
FUNCTION: DB2 UDB, fast comm manager, 
sqlkf_init_allocate_shared, probe:122 
DATA #1 : Codepath, 8 bytes 
14:16:22:24 
 
2011-05-02-06.29.33.759528-240 I14724E874            LEVEL: 
Severe (OS) 
PID     : 8542                 TID  : 140736813065984PROC : 
db2wdog 0 
[db2inst1] 
INSTANCE: db2inst1             NODE : 000 
EDUID   : 2                    EDUNAME: db2wdog 0 [db2inst1] 
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr, probe:180 
MESSAGE : ZRC=0x850F00C4=-2062614332=SQLO_ADDR_CONFLICT 
         "An address space conflict was detected attaching to 
shared 
memory." 
CALLED  : OS, -, shmat                            OSERR: ENOMEM 
(12) 
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM_SET_HDL, 48 bytes 
0x00007FFFD7BFD750 : 0000 0020 0200 0000 0000 0020 0200 
0000    ... ....... .... 
0x00007FFFD7BFD760 : 0000 0000 0000 0000 0000 0000 0000 
0000    ................ 
0x00007FFFD7BFD770 : 0000 F90F 0000 0000 0480 0600 0B00 
0000    ................ 
DATA #2 : Pointer, 8 bytes 
0x0000000220000000 
 
2011-05-02-06.29.34.563621-240 I15599E854            LEVEL: 
Severe (OS) 
PID     : 8548                 TID  : 140736813065984PROC : 
db2ckpwd 0 
INSTANCE: db2inst1             NODE : 000 
EDUID   : 1                    EDUNAME: db2ckpwd 0 
FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr, probe:180 
MESSAGE : ZRC=0x850F00C4=-2062614332=SQLO_ADDR_CONFLICT 
         "An address space conflict was detected attaching to 
shared 
memory." 
CALLED  : OS, -, shmat                            OSERR: ENOMEM 
(12) 
DATA #1 : Memory set handle, PD_TYPE_OSS_MEM_SET_HDL, 48 bytes 
0x0000000200011F20 : 0000 0020 0200 0000 0000 0020 0200 
0000    ... ....... .... 
0x0000000200011F30 : 0000 0000 0000 0000 0000 0000 0000 
0000    ................ 
0x0000000200011F40 : 0000 F90F 0000 0000 0480 0600 0B00 
0000    ................ 
DATA #2 : Pointer, 8 bytes 
0x0000000220000000
Problem-Zusammenfassung:
Local-Fix:
Setting SOFTVIRTUALLIMIT="UNLIMITED" resolves this issue.
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
Workaround
keiner bekannt / siehe Local-Fix
Kommentar
This fix addresses the failures related to shared memory in 
systems with more memory.
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC97542 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
15.04.2013
18.10.2013
18.10.2013
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.3 FixList
10.1.0.3 FixList