IBM Support

IJ12021: IBM JRE FAILS TO CLOSE THE FILE DESCRIPTORS RELATED TO ASYNCHRONOUSSERVERSOCKETCHANNEL OBJECT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: When lsof -i -P <pid> is run on your java
    application you can see File descriptors leaked even when
    AsynchronousServerSocketChannel is being closed
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • When the fix(JSE-7671) was added where we completed accept()
    before the close() call whereas in Oracle JRE we try to close a
    channel while it is accepting a connection from a client in
    asynchronous way. While doing the fix the negative case of
    accept-pending was pre-maturely returned with the close() thus
    creating the leak.
    

Problem conclusion

  • The JDK has been updated to close the file descriptors even in
    the case of negative accept-pending check.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP27  (8.0.5.27)
       7    SR10 FP40 (7.0.10.40)
       7 R1 SR4 FP40  (7.1.4.40)
    .
    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

    IJ12021

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-10

  • Closed date

    2019-03-29

  • Last modified date

    2019-07-04

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

  • R700 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":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022