IBM Support

PI84422: CAE AGENT DOESN'T DETACH CREATED THREADS WHICH MAY LEAD TO HANG AND MESSAGES "EDC5112I RESOURCE TEMPORARILY UNAVAILABLE" IN LOG

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Each time when new socket on CAE Agent is opened to process CAE
    Server's requests, CAE Agent creates new joinable thread. When
    socket is closed, assosiated thread must be detached. CAE Agent
    doesn't detach created threads. As result, variable MAXTHREADS
    is increased each time when new socket is opened. When
    MAXTHREADS reaches maximum value, CAE Agent becomes unavailable
    and can not process any requests from CAE Server.
    .
    CAE Server has internal sockets pool for each CAE Agent and new
    sockets are opened not for each request from Server. Socket in
    pool is closed if it was unused during 10 minutes. This fact
    hides threads leakage and usually this issue can be reproduced
    only when CAE Agent is active during very long time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM DB2 Query MOnitor z/OS.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Each time when new socket on CAE Agent  *
    *                      is opened to process CAE Server's       *
    *                      requests, CAE Agent creates new         *
    *                      joinable thread. When socket is closed, *
    *                      associated thread must be detached.     *
    *                      CAE Agent doesn't detach created        *
    *                      threads. As result, variable MAXTHREADS *
    *                      is increased each time when new socket  *
    *                      is opened. When MAXTHREADS reaches      *
    *                      maximum value, CAE Agent becomes        *
    *                      unavailable and can not process any     *
    *                      requests from CAE Server.               *
    *                      CAE Server has internal sockets pool    *
    *                      for each CAE Agent and new sockets are  *
    *                      opened not for each request from        *
    *                      Server. Socket in pool is closed if it  *
    *                      was unused during 10 minutes. This      *
    *                      fact hides threads leakage and usually  *
    *                      this issue can be reproduced only when  *
    *                      CAE Agent is active during very long    *
    *                      time.                                   *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI84422

  • Reported component name

    DB2 QUERY MONIT

  • Reported component ID

    5655E6701

  • Reported release

    330

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-07-12

  • Closed date

    2017-08-28

  • Last modified date

    2017-10-02

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

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

Modules/Macros

  • CQMEO
    

Fix information

  • Fixed component name

    DB2 QUERY MONIT

  • Fixed component ID

    5655E6701

Applicable component levels

  • R330 PSY UI49877

       UP17/09/11 P F709

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.3.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 November 2021