IBM Support

IC79625: INSTANCE CAN CRASH WHEN STATEMENT MONITOR IS TURN ON

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Instance can crash with the following stack when the Statement
    Monitor switch is turned ON
    
    0        ossDumpStackTraceEx
    1        OSSTrapFile::dumpEx
    2        sqlo_trce
    3        sqloEDUCodeTrapHandler
    4        __pthread_mutex_cond_lock
    5        sqm_add_ss_counters
    6        sqm_take_stmt_snap
    7        sqm_snap_appl
    8        sqlmonssagnt
    9        sqlmonssbackend
    10       sqlesrvr
    11       sqleMappingFnServer
    

Local fix

  • Set statement monitor switch to OFF (DFT_MON_STMT) and make sure
    that the statement monitor switch is not turned on for the
    sessions (db2 get monitor switches).
    Note that db2top -s Statement option has Statement Monitor
    switch turned on by default so using db2top to monitor
    statements will make the system vulnerable to this APAR.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Instance can crash with the following stack when the         *
    * Statement                                                    *
    * Monitor switch is turned ON                                  *
    *                                                              *
    * 0        ossDumpStackTraceEx                                 *
    * 1        OSSTrapFile::dumpEx                                 *
    * 2        sqlo_trce                                           *
    * 3        sqloEDUCodeTrapHandler                              *
    * 4        __pthread_mutex_cond_lock                           *
    * 5        sqm_add_ss_counters                                 *
    * 6        sqm_take_stmt_snap                                  *
    * 7        sqm_snap_appl                                       *
    * 8        sqlmonssagnt                                        *
    * 9        sqlmonssbackend                                     *
    * 10      sqlesrvr                                             *
    * 11      sqleMappingFnServer                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 6.                       *
    ****************************************************************
    

Problem conclusion

  • Upgrade to DB2 Version 9.7 Fix Pack 6.
    

Temporary fix

  • Set statement monitor switch to OFF (DFT_MON_STMT) and make sure
    that the statement monitor switch is not turned on for the
    sessions (db2 get monitor switches).
    

Comments

APAR Information

  • APAR number

    IC79625

  • 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

    2011-11-04

  • Closed date

    2014-07-21

  • Last modified date

    2014-07-21

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

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

    IT03279

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 #: IC79625

Modified date: 21 July 2014