DB2 - Problembeschreibung
Problem IC68293 | Status: Geschlossen |
DB2 EDU may keep looping in signal handler and never return when LOAD commands are called from stored procedures | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 980 - DB2 | |
Problembeschreibung: | |
DB2 EDU first traps due to a SIGSEGV (signal #11), then in signal handler it keeps looping between "pdLogInternal" and "sqlm*" functions and never returns. This problem only occurs when running LOAD commands via routines, e.g. "ADMIN_CMD". Following symptoms can help you identify this issue: -- The trapped EDU never terminates (can be seen in "db2pd -edu" result). -- "FODC_Trap_XXX" directory created, trap file generated, but no dump files. -- In db2diag.log, no information for the trap. -- The correspoding application appears hung. The DB2 instance may also hang if the hanging agent is holding some latches being requested by others. -- The "db2pd -edu" result shows the EDU clocks up a lot of user CPU time. -- In the trap file, you may see "sqlmStopWaitTimeInterval" or "sqlmStartWaitTimeInterval" at the top of the stack trace. -- A series of stack traces for the apparently hung EDU shows movement and "pdLogInternal" and "sqlm* (e.g. sqlmStopInterval)" functions at the top of the stack. To get the stack trace of the EDU, you will need some OS utilities. For example, OS debugger or the "pdump.sh" SHELL script provided by IBM for AIX platform. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All users of version 9.8 on Linux, Unix and * * Windowsplatforms. * **************************************************************** * PROBLEM DESCRIPTION: * * DB2 EDU first traps due to a SIGSEGV (signal #11), then * * insignal handler it keeps looping between "pdLogInternal" * * and"sqlm*" functions and never returns.This problem only * * occurs when running LOAD commands viaroutines, e.g. * * "ADMIN_CMD".Following symptoms can help you identify this * * issue:-- The trapped EDU never terminates (can be seen in * * "db2pd-edu" result).-- "FODC_Trap_XXX" directory created, * * trap file generated,but no dump files.-- In db2diag.log, no * * information for the trap.-- The correspoding application * * appears hung.The DB2 instance may also hang if the hanging * * agent isholding some latches being requested by others.-- * * The "db2pd -edu" result shows the EDU clocks up a lot ofuser * * CPU time.-- In the trap file, you may see * * "sqlmStopWaitTimeInterval"or "sqlmStartWaitTimeInterval" at * * the top of the stacktrace.-- A series of stack traces for * * the apparently hung EDUshows movement and "pdLogInternal" * * and "sqlm* (e.g.sqlmStopInterval)" functions at the top of * * the stack.To get the stack trace of the EDU, you will need * * some OSutilities. For example, OS debugger or the "pdump.sh" * * SHELLscript provided by IBM for AIX platform. * **************************************************************** * RECOMMENDATION: * * Update to V9.8 FP3 or avoid running LOAD commands * * viastored procedures such as ADMIN_CMD. * **************************************************************** | |
Local-Fix: | |
The issue can be avoided by not running LOAD commands via stored procedures such as ADMIN_CMD. | |
verfügbare FixPacks: | |
DB2 Version 9.8 Fix Pack 3 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 UDB Version 9.8 FixPak 3. | |
Workaround | |
The issue can be avoided by not running LOAD commands via stored procedures such as ADMIN_CMD. | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 29.04.2010 10.01.2011 10.01.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.8., 9.8.FP3 | |
Problem behoben lt. FixList in der Version | |
9.8.0.3 |