DB2 - Problem description
Problem IC67420 | Status: Closed |
DB2 ABENDS USING SCALAR AGGREGATION FUNCTION WITH CONNECTION CONCENTRATOR ENABLED | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
PROBLEM DESCRIPTION: ==================== When using Scalar Aggregation functions with Connection Concentrator enabled, memory allocated for the scalar aggregation execution may become invalid when the connection is serviced by different agents, causing DB2 to trap/abend. An additional requirement is that "with hold cursors" are being used, but this is common. Connection Concentrator is enabled when the database manager configuration parameter MAX_CONNECTIONS exceeds MAX_COORDAGENTS. This criteria applies when these parameters are set to AUTOMATIC, in which case the criteria applies to the underlying values. For example, this configuration shows Connection Concentrator enabled: Max number of coordinating agents (MAX_COORDAGENTS) = AUTOMATIC(200) Max number of client connections (MAX_CONNECTIONS) = AUTOMATIC(1000) Example diagnostic trap files will include the keyword/function sqlriScalagClose: Example 1: <StackTrace> ... sqloEDUCodeTrapHandler + 0x0107 address: 0x00002AAAAABD4C00 sqldmcloP8sqeAgentPP8SQLD_CCBi + 0x002a sqlriScalagCloseDropTempP8sqlrr_cbP16sqlri_buffer_mgr + 0x007f sqlri_buffer_closeP8sqlrr_cbP15sqlri_scalagobj + 0x021d sqlriScalagCloseP8sqlrr_cbP15sqlri_scalagobj + 0x003c Example 2: <StackTrace> ... sqloCrashOnCriticalMemoryValidationFailure + 0x1C diagnoseMemoryCorruptionAndCrash__13SQLO_MEM_POOLFUlCPCc + 0x260 sqloDiagnoseFreeBlockFailure__FP8SMemFBlk + 0x748 sqloDiagnoseFreeBlockFailure__FP8SMemFBlk@glue69E + 0x74 sqlofmblkEx + 0x48 sqlri_buffer_close__FP8sqlrr_cbP15sqlri_scalagobj + 0xB0 sqlriScalagClose__FP8sqlrr_cbP15sqlri_scalagobj + 0x2C sqlriScalagClose__FP8sqlrr_cbP15sqlri_scalagobj@glue10D1 + 0x70 sqlricjpInfrequent__FP8sqlrr_cbPP12sqlri_opparml + 0x4 sqlricjp__FP8sqlrr_cbP12sqlri_opparmilT4 - 0x170 sqlricls_simple__FP8sqlrr_cbil + 0xCC | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Systems with Connection Concentrator using ScalarAggregation * **************************************************************** * PROBLEM DESCRIPTION: * * See error description * **************************************************************** * RECOMMENDATION: * * Upgrade to a level of DB2 containing the APAR * **************************************************************** | |
Local Fix: | |
Disable Connection Concentrator: db2 update dbm cfg using MAX_CONNECTIONS -1 automatic db2stop;db2start This results in the following standard configuration: Max number of coordinating agents (MAX_COORDAGENTS) = AUTOMATIC(200) Max number of client connections (MAX_CONNECTIONS) = AUTOMATIC(MAX_COORDAGENTS) | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows | |
Solution | |
Problem first fixed in DB2 Version 9.5 Fix Pack 6 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC67425 IC67426 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 24.03.2010 14.06.2010 14.06.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) |