Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-241

Socket file descriptors leak leading to "Too Many Files Open" using FTP/S

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M2, 1.0.0-M3, 1.0.0-M4
    • 1.0.0-RC1
    • Server
    • None
    • Linux & Win + JRE newer than 1.5.0_11

    Description

      This documented JVM bug "SSLServerSocket file descriptor leak" (http://bugs.sun.com/view_bug.do?bug_id=6764972) affects FTPServer in FTP/S mode and eventually leads to a "Too Many Files Open" condition on Linux (and equivalent platform-dependent condition on windows).

      For workaround hints see:
      http://www.nabble.com/-security-dev-00402-:-Re:-NullPointerException-at%09sun.security.ssl.OutputRecord.writeBuffer-td20492154.html

      See also this discussion thread on FTPServer mailing list:
      http://mail-archives.apache.org/mod_mbox/mina-ftpserver-users/200812.mbox/browser

      Attachments

        1. FDLeakBase.java
          4 kB
          Fred Moore
        2. FDLeakBaseM4.java
          4 kB
          Niklas Therning
        3. TestKO.java
          1.0 kB
          Fred Moore
        4. TestOK.java
          1 kB
          Fred Moore

        Activity

          People

            niklas Niklas Therning
            fredmoore Fred Moore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: