IBM Support

PI24063: AFTER A BROKER FLOW RUNS FOR SOME TIME IT FAILS WITH "MQ ERROR CREATING A MESSAGE HANDLE - MQ REASON CODE - 2127"

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A broker flow fails with "MQ error creating a Message Handle -
    MQ Reason code - 2127" followed by "java.lang.OutOfMemoryError:
    Failed to create a thread: retVal -1073741830, errno 112" after
    which all instances fail with an out-of-memory error.
    .
    Change Team determined storage has filled with a large number
    of 128Kb blocks (with eyecatcher AHSG) related to MQ message
    handle processing. WebSphere MQ has stopped tracking these and
    not released them back to z/OS.
    .
    Additional keywords:
    MQRC_ADAPTER_STORAGE_SHORTAGE MQMSGPROP/K
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere MQ for z/OS Version 7 *
    *                 Release 0 Modification 1.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Long-running application that uses      *
    *                      message handles fails with reason code  *
    *                      2127 MQRC_ADAPTER_STORAGE_SHORTAGE.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A long-running application issues MQCRTMH several times and uses
    a large amount of heap storage for message handles. When the
    application issues a MQDLTMH, only the first block of message
    handle storage is released.
    The routine free_all_stg in CSQAFRMN is not following the chain
    of message handle storage correctly and therefore does not free
    all the blocks.
    If this occurs many times, storage is used up and the
    application will get reason code 2127
    MQRC_ADAPTER_STORAGE_SHORTAGE.
    Additional Keywords: MQMSGPROP/K
    

Problem conclusion

  • CSQAFRMN has been altered to run down the chain of blocks and
    free them all.
    010Y
    CSQAFRMN
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI24063

  • Reported component name

    WMQ Z/OS V7

  • Reported component ID

    5655R3600

  • Reported release

    010

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-18

  • Closed date

    2015-11-30

  • Last modified date

    2016-02-01

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

    PI09766

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

    UI33395

Modules/Macros

  • CSQAFRMN
    

Fix information

  • Fixed component name

    WMQ Z/OS V7

  • Fixed component ID

    5655R3600

Applicable component levels

  • R010 PSY UI33395

       UP16/01/08 P F601

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 February 2016