IBM Support

IJ34905: LONG DELAY IN ATTACHAPI

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

  • When using AttachAPI on multiple JVMs at same time there is an
    observed long delay or pause
    .
    stack Trace:
    OverlappingFileLockException might occur after the long delay or
    pause
    
    Cause of exception is
    java.nio.channels.OverlappingFileLockException:
    sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java)
    sun.nio.ch.SharedFileLockTable.add(FileLockTable.java)
    sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java)
    java.nio.channels.FileChannel.lock(FileChannel.java)
    openj9.internal.tools.attach.target.FileLock.lockFile(FileLock.j
    ava)
    openj9.internal.tools.attach.target.CommonDirectory.obtainAttach
    Lock(CommonDirectory.java)
    com.ibm.tools.attach.attacher.OpenJ9VirtualMachine.tryAttachTarg
    et(OpenJ9VirtualMachine.java)
    

Local fix

Problem summary

  • The problem is caused when AttachAPI is used simultaneously on
    multiple JVM's waiting for lock objects
    

Problem conclusion

  • The JVM has been updated to reduce the long delays by properly
    handling exceptions and reducing timeout for error recovery.
    
    PR: https://github.com/eclipse-openj9/openj9/pull/13140
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP36  (8.0.6.36)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ34905

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-12

  • Closed date

    2021-09-12

  • Last modified date

    2021-09-12

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022