DB2 - Problem description
Problem IC68296 | Status: Closed |
INSTANCE TRAPS AT FUNCTION SQLPENDUOWRUNTIME DUE TO OUT OF MEMORY FAILURE FOR DATABASE HEAP | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
During application initialization certain database components are initialized using db heap memory. If the database runs out of this db heap memory the application initialization would fail and these database components would be terminated and freed. This particular error is due to a logic error in which a certain component is not terminated and cleaned up properly when the application initialization fails and leaves certain freed memory to be de-referenced later. The following db2diag.log snippet can be seen before the trap occurs. [...] 2116556 2010-04-13-04.49.27.641871-240 E94769794E721 LEVEL: Warning 2116557 PID : 28617 TID : 47708077287744PROC : db2sysc 2116558 INSTANCE: svtdbm2 NODE : 000 DB : ADD 2116559 APPHDL : 0-4924 APPID: *LOCAL.svtdbm2.100413084944 2116560 AUTHID : SVTDBM2 2116561 EDUID : 3495 EDUNAME: db2agent (ADD) 2116562 FUNCTION: DB2 UDB, SQO Memory Management, sqloMemLogPoolConditions, probe:30 2116563 DATA #1 : <preformatted> 2116564 Out of memory failure for Database Heap (DBHEAP). 2116565 Requested block size : 7952 bytes. 2116566 Physical heap size : 48431104 bytes. 2116567 Configured heap size : 48431104 bytes. 2116568 Unreserved memory used by heap : 0 bytes. 2116569 Unreserved memory left in set : 14680064 bytes. 2117067 2010-04-13-04.49.28.707575-240 I94791120E492 LEVEL: Warning 2117068 PID : 28617 TID : 47708077287744PROC : db2sysc 2117069 INSTANCE: svtdbm2 NODE : 000 DB : ADD 2117070 APPHDL : 0-4924 APPID: *LOCAL.svtdbm2.100413084944 2117071 AUTHID : SVTDBM2 2117072 EDUID : 3495 EDUNAME: db2agent (ADD) 2117073 FUNCTION: DB2 UDB, RAS/PD component, pdEDUIsInDB2KernelOperation, probe:600 2117074 DATA #1 : String, 22 bytes 2117075 _Z17sqlpEndUowRuntime 2117076 DATA #2 : String, 4 bytes 2117077 sqlp 2117078 2117079 2010-04-13-04.49.28.708031-240 I94791613E558 LEVEL: Severe 2117080 PID : 28617 TID : 47708077287744PROC : db2sysc 2117081 INSTANCE: svtdbm2 NODE : 000 DB : ADD 2117082 APPHDL : 0-4924 APPID: *LOCAL.svtdbm2.100413084944 2117083 AUTHID : SVTDBM2 2117084 EDUID : 3495 EDUNAME: db2agent (ADD) 2117085 FUNCTION: DB2 UDB, RAS/PD component, pdResilienceIsSafeToSustain, probe:800 2117086 DATA #1 : String, 37 bytes 2117087 Trap Sustainability Criteria Checking 2117088 DATA #2 : Hex integer, 8 bytes 2117089 0x0000000000023840 2117090 DATA #3 : Boolean, 1 bytes 2117091 false 2117093 2010-04-13-04.49.28.709538-240 I94792172E556 LEVEL: Error 2117094 PID : 28617 TID : 47708077287744PROC : db2sysc 2117095 INSTANCE: svtdbm2 NODE : 000 DB : ADD 2117096 APPHDL : 0-4924 APPID: *LOCAL.svtdbm2.100413084944 2117097 AUTHID : SVTDBM2 2117098 EDUID : 3495 EDUNAME: db2agent (ADD) 2117099 FUNCTION: DB2 UDB, base sys utilities, sqleagnt_sigsegvh, probe:1 2117100 MESSAGE : Error in agent servicing application with coor_node: 2117101 DATA #1 : Hexdump, 2 bytes 2117102 0x00002B63E6C0F912 : 0000 .. 2117197 2010-04-13-04.49.28.710505-240 I94797825E570 LEVEL: Error 2117198 PID : 28617 TID : 47708077287744PROC : db2sysc 2117199 INSTANCE: svtdbm2 NODE : 000 DB : ADD 2117200 APPHDL : 0-4924 APPID: *LOCAL.svtdbm2.100413084944 2117201 AUTHID : SVTDBM2 2117202 EDUID : 3495 EDUNAME: db2agent (ADD) 2117203 FUNCTION: DB2 UDB, base sys utilities, sqleagnt_sigsegvh, probe:10 2117204 MESSAGE : Error in agent servicing application with APPLICATION NAME: 2117205 DATA #1 : Hexdump, 8 bytes 2117206 0x00000002010A6412 : 666C 7461 626C 6573 fltables [...] A trap file can be generated. One instance of a stack trace is the following: <StackTrace> -----FUNC-ADDR---- ------FUNCTION + OFFSET------ 0x00002B63DC3CF7FF ossDumpStackTraceEx + 0x01ef (/home/svtdbm2/sqllib/lib64/libdb2osse.so.1) 0x00002B63DC3CA5C6 _ZN11OSSTrapFile6dumpExEmiP7siginfoPvm + 0x00cc (/home/svtdbm2/sqllib/lib64/libdb2osse.so.1) 0x00002B63D96EE7A9 sqlo_trce + 0x03fb (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D9732D09 sqloEDUCodeTrapHandler + 0x0243 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D6F01C00 address: 0x00002B63D6F01C00 ; dladdress: 0x00002B63D6EF4000 ; offset in lib: 0x000000000000DC00 ; (/lib64/libpthread.so.0) 0x00002B63D8263018 _Z17sqlpEndUowRuntimeP8sqeAgentP9SQLP_DBCB + 0x00c6 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D825F178 address: 0x00002B63D825F178 ; dladdress: 0x00002B63D700D000 ; offset in lib: 0x0000000001252178 ; (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D825DD14 _Z8sqlpxrbkP8sqeAgentP15SQLXA_CALL_INFOPiP9SQLP_GXIDPP11sqlo_xla tch + 0x03dc (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D8260FC4 _Z8sqlptfrgP8sqeAgentm + 0x0764 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D8266395 _Z8sqlpdenvP8sqeAgentb + 0x01bd (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E49EF7 _ZN16sqeLocalDatabase13TermDbConnectEP8sqeAgentP5sqlcai + 0x03e1 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D8B4EB09 _ZN14sqeApplication21HandleStartUsingErrorEP8sqeAgentP8SQLE_BWAP 5sqlcaP22SQLESRSU_STATUS_VECTOR + 0x0547 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E30B7E _ZN14sqeApplication13AppStartUsingEP8SQLE_BWAP8sqeAgentccP5sqlca Pc + 0x06a4 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E2C97E address: 0x00002B63D7E2C97E ; dladdress: 0x00002B63D700D000 ; offset in lib: 0x0000000000E1F97E ; (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E2B7B0 _ZN14sqeApplication13AppLocalStartEP14db2UCinterface + 0x01b8 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E8720D _Z11sqlelostWrpP14db2UCinterface + 0x001d (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E88942 _Z14sqleUCengnInitP14db2UCinterfacet + 0x051a (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E87835 sqleUCagentConnect + 0x02b5 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7F187D2 _Z18sqljsConnectAttachP13sqljsDrdaAsCbP14db2UCinterface + 0x0086 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7EF5D17 _Z16sqljs_ddm_accsecP14db2UCinterfaceP13sqljDDMObject + 0x007f (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7EED262 _Z17sqljsParseConnectP13sqljsDrdaAsCbP13sqljDDMObjectP14db2UCint erface + 0x0068 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7EED783 _Z10sqljsParseP13sqljsDrdaAsCbP14db2UCinterfaceP8sqeAgentb + 0x035b (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7EE2AC3 address: 0x00002B63D7EE2AC3 ; dladdress: 0x00002B63D700D000 ; offset in lib: 0x0000000000ED5AC3 ; (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7EE99B2 address: 0x00002B63D7EE99B2 ; dladdress: 0x00002B63D700D000 ; offset in lib: 0x0000000000EDC9B2 ; (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7EE7341 address: 0x00002B63D7EE7341 ; dladdress: 0x00002B63D700D000 ; offset in lib: 0x0000000000EDA341 ; (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7EE70D0 _Z17sqljsDrdaAsDriverP18SQLCC_INITSTRUCT_T + 0x0102 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D7E221D9 _ZN8sqeAgent6RunEDUEv + 0x09f7 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D84CD2BC _ZN9sqzEDUObj9EDUDriverEv + 0x00a6 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D84CD213 _Z10sqlzRunEDUPcj + 0x0009 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D8246702 sqloEDUEntry + 0x02f4 (/home/svtdbm2/sqllib/lib64/libdb2e.so.1) 0x00002B63D6EFA143 address: 0x00002B63D6EFA143 ; dladdress: 0x00002B63D6EF4000 ; offset in lib: 0x0000000000006143 ; (/lib64/libpthread.so.0) 0x00002B63DCD708CD __clone + 0x006d (/lib64/libc.so.6) </StackTrace> | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users * **************************************************************** * PROBLEM DESCRIPTION: * * During application initialization certain database * * components * * are initialized using db heap memory. If the database runs * * out * * of this db heap memory the application initialization would * * fail * * and these database components would be terminated and freed. * * * * This particular error is due to a logic error in which a * * certain * * component is not terminated and cleaned up properly when the * * * * application initialization fails and leaves certain freed * * memory * * to be de-referenced later. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 LUW V9.7 FP2 or higher * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Instance won't trap at sqlpenduowruntime when an out of memory failure occurs for the database heap. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC68297 IC68298 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 29.04.2010 13.05.2010 13.05.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP2 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.2 |