IBM Support

IT31603: A DEADLOCK CAN OCCUR IN AN INTEGRATION SERVER WHEN STOPPING AN APPLICATION AS PART OF AN ADMINISTRATION ACTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A timing window while processing an application shutdown request
    can cause a deadlock wit the following stack:
    
    #0 0x00007fbdfe659cf2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    from /usr/lib64/libpthread.so.0
    #1 0x00007fbe025a307f in ImbSemaphore::wait(long) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libCommonServices.so
    #2 0x00007fbe025bdfb3 in ImbThreadPool::~ImbThreadPool() ()
    from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libCommonServices.so
    #3 0x00007fbe01850a37 in ImbDataFlowManager::onStop(bool) ()
    from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #4 0x00007fbe01a558dd in
    ImbResource::stateTransition(ImbResource::ObjectState,
    ImbConfigObject*, bool) () from /opt/EAsmbl_image/ace-11.0.0.3/s
    erver/lib/libMessageServices.so
    #5 0x00007fbe01a56b9f in ImbResource::stop(bool,
    ImbResource::FailureAction) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #6 0x00007fbe0187e49d in
    ImbDeployedResourceGroup::stopFlows(bool) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #7 0x00007fbe018a35aa in ImbDataFlowApplication::onStop(bool) ()
    from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #8 0x00007fbe01a558dd in
    ImbResource::stateTransition(ImbResource::ObjectState,
    ImbConfigObject*, bool) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    
    This occurs because the flow thread pool is waiting for all the
    message flow threads to terminate, but the termination request
    has not been fully sent and acknowledged by all the message flow
    threads. Some message flows in the deployed applications may
    continue to process messages while in this hung state.
    

Local fix

  • The Integration Server must be manually restarted.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM App Connect Enterprise 11.0.0.4 and earlier.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A timing window while processing an application shutdown request
    can cause a deadlock wit the following stack:
    
    #0 0x00007fbdfe659cf2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    from /usr/lib64/libpthread.so.0
    #1 0x00007fbe025a307f in ImbSemaphore::wait(long) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libCommonServices.so
    #2 0x00007fbe025bdfb3 in ImbThreadPool::~ImbThreadPool() ()
    from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libCommonServices.so
    #3 0x00007fbe01850a37 in ImbDataFlowManager::onStop(bool) ()
    from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #4 0x00007fbe01a558dd in
    ImbResource::stateTransition(ImbResource::ObjectState,
    ImbConfigObject*, bool) () from /opt/EAsmbl_image/ace-11.0.0.3/s
    erver/lib/libMessageServices.so
    #5 0x00007fbe01a56b9f in ImbResource::stop(bool,
    ImbResource::FailureAction) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #6 0x00007fbe0187e49d in
    ImbDeployedResourceGroup::stopFlows(bool) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #7 0x00007fbe018a35aa in ImbDataFlowApplication::onStop(bool) ()
    from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    #8 0x00007fbe01a558dd in
    ImbResource::stateTransition(ImbResource::ObjectState,
    ImbConfigObject*, bool) () from
    /opt/EAsmbl_image/ace-11.0.0.3/server/lib/libMessageServices.so
    
    This occurs because the flow thread pool is waiting for all the
    message flow threads to terminate, but the termination request
    has not been fully sent and acknowledged by all the message flow
    threads. Some message flows in the deployed applications may
    continue to process messages while in this hung state.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT31603

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0550

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-21

  • Closed date

    2020-04-24

  • Last modified date

    2020-04-24

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

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

Fix information

  • Fixed component name

    APP CONNECT ENT

  • Fixed component ID

    5724J0550

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
25 April 2020