MF63459 - SQL-RUN-WAIT SQL SELECT QUERIES HANG. THE JOBS REMAINED IN E
PTF ( Program Temporary Fixes ) Cover letter
SQL-RUN-WAIT SQL SELECT QUERIES HANG. THE JOBS REMAINED IN E
Pre/Co-Requisite PTF / Fix List
REQ LICENSED PTF/FIX LEVEL
TYPE PROGRAM RELEASE NUMBER MIN/MAX OPTION
---- -------- --------- ------- ------- ------
CO 5770999 V7R2M0 MF61763 00/00 0000
CO 5770999 V7R2M0 MF61347 00/00 0000
CO 5770999 V7R2M0 MF61348 00/00 0000
CO 5770999 V7R2M0 MF61106 00/00 0000
CO 5770999 V7R2M0 MF58586 00/00 0000
CO 5770999 V7R2M0 MF59835 00/00 0000
CO 5770999 V7R2M0 MF59839 00/00 0000
CO 5770999 V7R2M0 MF57655 00/00 0000
NOTICE:
-------
Application of this PTF may disable or render ineffective programs that
use system memory addresses not generated by the IBM translator,
including programs that circumvent control technology designed to limit
interactive capacity to purchased levels. This PTF may be a prerequisite
for future PTFs. By applying this PTF you authorize and agree to the
foregoing.
This PTF is subject to the terms of the 'IBM License Agreement for Machine
Code', the terms of which were provided in a printed document that was
delivered with the machine.
SUBJECT TO ANY WARRANTIES WHICH CAN NOT BE EXCLUDED OR EXCEPT AS EXPLICITLY
AGREED TO IN THE APPLICABLE LICENSE AGREEMENT OR AN APPLICABLE SUPPORT
AGREEMENT, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON INFRINGEMENT,
REGARDING THE PTF.
APAR Error Description / Circumvention
-----------------------------------------------
SELECT Queries hang, the jobs remained in END status. No joblog,
no call stack available.
TASKINFO showed
Last dispatch timebase: 0009BAF64330594A (negative 'SinceRun'
means task ran after this)
***Dumping task (at breakpoint) on current logical processor
TDE=B00150000FA70000 Name=MSTHREAD:QDBSRV12 QSYS 341851
SinceRun=000:00:07.811351 CPU=000:00:00.057580 Pri=C0 tdescr=004
WaitObject=C0DC5FE265000900 QQu-QuQueue
WaitCaller=FFFFFFFFF76A8E8C module rirsServiceBreakpoint+0x46C
InitialTDE=B00140000EBBB000
REG1=C84FAF3EB2FFEEC0 NIA=FFFFFFFFFF6C0B24 module
SkRefCount+0xC84
..................... LR=FFFFFFFFFF6C0AE8 module
SkRefCount+0xC48
ISF=C84FAF3EB2FFEEC0 NIA=FFFFFFFFFF6C0B28 module
SkRefCount+0xC88
ISF=C84FAF3EB2FFF000 NIA=FFFFFFFFFCCC39CC module DbpmQds+0xCF8C
ISF=C84FAF3EB2FFF0C0 NIA=FFFFFFFFC9E39BDC module
DbpmDataSource+0xCC1C
ISF=C84FAF3EB2FFF120 NIA=FFFFFFFFC9E30D94 module
DbpmDataSource+0x3DD4
ISF=C84FAF3EB2FFF1A0 NIA=FFFFFFFFFCC5BDF8 module
DbpmReadOnlyQuery+0x12D98
ISF=C84FAF3EB2FFF300 NIA=FFFFFFFFFBCDFEB4 module
DbopRunTimeInfo+0x574
ISF=C84FAF3EB2FFF3E0 NIA=FFFFFFFFFBCE03AC module
DbopRunTimeInfo+0xA6C
ISF=C84FAF3EB2FFF460 NIA=FFFFFFFFCD818EB0 module
DbServerBase+0xA30
ISF=C84FAF3EB2FFF520 NIA=FFFFFFFFCD8192EC module
DbServerBase+0xE6C
ISF=C84FAF3EB2FFF680 NIA=FFFFFFFFCD7D8F10 module
DbAsyncCall+0x1790
ISF=C84FAF3EB2FFF840 NIA=FFFFFFFFFD21AD28 module dbmaint+0x1938
ISF=C84FAF3EB2FFF960 NIA=FFFFFFFFFF0050E8 module #cfmir+0xE8
ISF=C84FAF3EB2FFFA20 NIA=FFFFFFFFFF0D1658 module cfscv0a+0x148
ISF=EFDD9410FDFFFC60 NIA=02F4192AD500387C srvpgm
QSYS/QQQOOOUPCL-QQQOOOUPCL:DbopThreadMain__FP14DbopThreadParm+0x
FC Stmt#=3
ISF=EFDD9410FDFFFDA0 NIA=1C66B184B400B36C srvpgm
QSYS/QLESPI-QLECRTTH:LE_Create_Thread2__FP12crtth_parm_t+0x21C
Stmt#=20
ISF=EFDD9410FDFFFEE0 NIA=FFFFFFFFFFFF81D0 module #cfcblat+0x1D0
ISF=C84FAF3EB2FFFA80 NIA=FFFFFFFFFE1A12B8 module
AiUpcallPortalMach+0xC8
ISF=C84FAF3EB2FFFCC0 NIA=FFFFFFFFC227D934 module
pminitiatethread+0x2C24
ISF=C84FAF3EB2FFFF20 NIA=0000000000000000 Not valid instruction
address
Stack unwind complete
CORRECTION FOR APAR MA46307 :
-----------------------------
During the processing of the cancellation of an SMP query a
cancellable wait may be entered briefly. If the executing job
is ended, then a resource in the query execution object (QEO)
may remain held. When that QEO is destroyed in a QDBSRVnn
thread, it may result in that thread hanging on the stacks
posted below. If this happens enough times, all of the server
threads may become hung in different objects in this state. At
that point, without any server threads to perform normal SQE
work, new queries may begin to hang.
The fix associated with this defect is to ensure that the
resource is released in this situation.
CIRCUMVENTION FOR APAR MA46307 :
--------------------------------
None.
Activation Instructions
None.
Special Instructions
None.
Default Instructions
THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.
Supersedes
PTF/FIX NO(S). APAR TITLE LINE
-------------- ------------------------------------------------------------
MF62233 LIC-DB-OTHER-PERFM Internal Database Maintenance
MF62121 LIC-DB-OTHER-UNPRED Internal Database Maintenance
MF58200 LIC-DB-UNPRED Index build status file 16 byte alignment
MF61762 LIC-OTHER-LOOP JOB RUNNING DB QUERY WON'T END EVEN AFTER END
MF61346 LIC-DB-OTHER-UNPRED Internal Database Maintenance
MF61223 LIC-DB-OTHER-LOOP a query accessing a table that is being re
MF61105 LIC-DB-OTHER-F/DBPMTRAP-T/QQQOOOUPCL-RCX'1720'-MSGMCH3203 CR
MF59999 LIC-DB-OTHER-UNPRED Internal Database Maintenance
MF59838 LIC-DB-OTHER-UNPRED Enable logging of page header mismatch f
MF58866 LIC-DB-OTHER-F/QDBSIGEX-MSGCPF5040 Attempt to read by RRN fr
MF57657 LIC-DB-OTHER-UNPRED Internal Database Maintenance
MF59085 LIC-DB-OTHER-PERFM Performance improvements for SQE EVI Acce
MF58643 LIC-DB-OTHER-PERFM Query performing a large sort in overcomm
MF58585 LIC-DB-OTHER-PERFM An SQL CANCEL of an SMP query may take an
MF57914 LIC-DB-OTHER-UNPRED Internal Database Maintenance
Summary Information
System.............................. | i |
Models.............................. | |
Release............................. | V7R2M0 |
Licensed Program............... | 5770999 |
APAR Fixed.......................... | View details for APAR MA46307 |
Superseded by:...................... | View fix details for PTF MF66611 |
Recompile........................... | N |
Library............................. | QSYS |
MRI Feature ........................ | NONE |
Cum Level........................... | C7290720 |
IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.
Document information
More support for:
i family
Software version: V7R2M0
Operating system(s): OS/400
Reference #: MF63459
Modified date: 17 April 2017