IBM Support

IV55924: 'TOO MANY OPEN FILES' ERROR DUE TO COM.SUN.IMAGEIO.PLUGINS.JPEG.JPEGIMAGEREADER OBJECTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.io.IOException: Too many open files
    .
    Stack Trace: 1.java.io.IOException: Too many open files
    at java.io.File.createNewFile(File.java:894)
    <stack trace may vary>
    2.java.net.SocketException: Too many open files
    at java.net.Socket.createImpl(Socket.java:405)
    <stack trace may vary>
    .
    

Local fix

Problem summary

  • Problem is caused as
    com.sun.imageio.plugins.jpeg.JPEGImageReader objects are being
    refered through JNI code as JNI global references, causing delay
    in garbage collection of JPEGImageReader objects and hence
    leaking of resources(Memory/File descriptors).
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       6 R1 SR8       (6.1.8.0)
       6    SR16      (6.0.16.0)
    .
    To resolve this issue JVM is updated to use weak references to
    JPEGImageReader objects in JNI code.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV55924

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-26

  • Closed date

    2014-03-27

  • Last modified date

    2014-03-27

  • 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

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 March 2014