IBM Support

IC90859: IN SOME RARE CIRCUMSTANCES THE PD_GET_DIAG_HIST() TABLE FUNCTION MAY HANG.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In some rare circumstances the PD_GET_DIAG_HIST() table function
    may become stuck looping without making any progress giving the
    outward
    appearance of a hang. This can leave sessions that cannot be
    forced from the DBMS.
    
    Operating system tools like top will show db2sysc process
    consuming up to 100% CPU.
    Using 'db2pd -edus' will reveal a single thread/EDU consuming
    most/all CPU time within the db2sysc process.
    
    A db2trc of this EDU will show it is looping in the following
    two functions:
    
     pdDiagGetNextRecordFromBuffer
     pdDiagReadFromFileIntoBufferBS
    

Local fix

  • Truncate the current db2diag.log file by executing '>
    db2diag.log'. This will break the loop and result in SQL1042C
    being returned by the EDU.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7 Fix Pack 9                        *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 version 9.7 Fix Pack 9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC90859

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-14

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-16

  • APAR is sysrouted FROM one or more of the following:

    IC90716

  • APAR is sysrouted TO one or more of the following:

    IC97386 IC97389

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC90859

Modified date: 16 December 2013