IBM Support

PI86332: A CICS REGION MAY STOP FUNCTIONING AFTER A PTHREAD_CREATE_TIMEDOUT CONDITION. 18/03/15 PTF PECHANGE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A task wanted to create a new pthread (T8 TCB), and waited for
    10 seconds for the IPT (initial process thread) to create the
    pthread.
    
    A response didn't come back in that 10 seconds, so it is
    assumed that the IPT had died and timed out the request.
    
    It appears that the lpar was so busy that the IPT could not
    respond to this request in that period of time. The task that
    wanted a new pthread will get an abend, and the rest of the
    system will continue.
    
    It looks like the IPT woke up later and found the request
    to create a pthread. That request still appeared to be "active",
    i.e. the IPT didn't know that the requestor had given up and
    timed out the request. The IPT would have created the new
    pthread anyway, but at this point the whole infrastructure
    around that request (KTCB, SJKE etc) could have been reused for
    other purposes.
    
    This may lead to an 0C4/AKEA in MODULE DFHDSTCB AT OFFSET
    X'331E' and a hanging CICS region.
    
    
    CICS exception trace entries  :
    -------------------------------
    
    95019 TP000 SJ 024D SJIN  *EXC* PTHREAD_CREATE_TIMEDOUT
                                    CREATE_PTHREAD,2E6C4D00
    
    95019 TP000 KE 050A KEDS  *EXC* PTHREAD-INSUFFICIENT-STORAGE
                                    CREATE_TCB
                                    5583B900,T8,FFFB,EXEC_YES,
                                    LE_MVS,KEY8,
    
    95043 ..... DS 0055 DSTCB *EXC* DSTCB_RECOVERY
                                    TCB_REPLY,4256CA0C
    
    
    CICS Joblog :
    -------------
    DFHDS0001  AN ABEND (CODE 0C4/AKEA) HAS OCCURRED AT OFFSET
    X'331E' IN MODULE DFHDSTCB.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users with UI43899 applied.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHDS0001 reports S0C4 in MODULE        *
    *                      DFHDSTCB AT OFFSET X'331E'              *
    ****************************************************************
    CICS attempted to create a new T8 TCB (pthread).
    The IPT was woken by DFHSJIN to issue a pthread_create,
    but DFHSJIN timed out before the IPT could complete creating
    the pthread. In the reported problem, the system was heavily
    constrained on available CPU at this time.
    DFHSJIN stops waiting, and reports the time out condition:
    SJ 024D SJIN  *EXC* PTHREAD_CREATE_TIMEDOUT
    Shortly afterwards, the pthread_create does complete and
    a new pthread is attached.
    The SJKE and DS_TCB CICS control blocks which were allocated
    to this new T8 TCB are reused for other purposes. This allows
    the new T8 to start running and look for work to process.
    This can give rise to an 0C4 protection exception in
    DFHDSTCB.
    Additional Keyword: AbendS0C4
    

Problem conclusion

  • UI43899 UI44642
    CICS has been updated to prevent a T8 TCB from being attached
    after the timeout time has expired.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI86332

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-25

  • Closed date

    2018-03-15

  • Last modified date

    2018-04-03

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

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

    PI94439 PI94491 UI54489 UI54490 UI54491

Modules/Macros

  • DFHAMSJ  DFHAPJVM DFHAPLJ1 DFHAPLJP DFHAXIS2 DFHCDJNI DFHDSATT
    DFHDSATX DFHDSATY DFHDSDS4 DFHDSIT  DFHEIQSY DFHKEDD  DFHKEDS
    DFHKEIN  DFHKESTX DFHKETA  DFHKETCB DFHMNXM  DFHSJBD  DFHSJDM
    DFHSJDS  DFHSJDST DFHSJDUF DFHSJIN  DFHSJINT DFHSJIS  DFHSJIT
    DFHSJJS  DFHSJJST DFHSJL   DFHSJPTI DFHSJRL  DFHSJSA  DFHSJSC
    DFHSJST  DFHSJTE  DFHSJTH  DFHSJTRI DFHSJXM  DFHSODS  DFHSTP
    DFJ@H356 DFJ@H360 DFJ@H427 DFJDTCOE DFJOUTRE
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R900 PSY UI54489

       UP18/03/21 P F803 {

  • R903 PSY UI54491

       UP18/03/22 P F803 {

  • R90D PSY UI54490

       UP18/03/22 P F803 {

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":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"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":"5.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 April 2018