[ https://issues.apache.org/jira/browse/FTPSERVER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-241. --------------------------------------- Resolution: Fixed Assignee: Niklas Gustavsson Thanks a lot for the test script and ambitious debugging. I had an easy time reproducing the bug. The workaround has been implemented and the file handle count is now consistent below 10 when using the test case program. Commited in rev 726546. Please verify and re-open if this doesn't solve your problem Fred. > Socket file descriptors leak leading to "Too Many Files Open" using FTP/S > ------------------------------------------------------------------------- > > Key: FTPSERVER-241 > URL: https://issues.apache.org/jira/browse/FTPSERVER-241 > Project: FtpServer > Issue Type: Bug > Components: Server > Affects Versions: 1.0.0-M2 > Environment: Linux & Win + JRE newer than 1.5.0_11 > Reporter: Fred Moore > Assignee: Niklas Gustavsson > Fix For: 1.0.0-RC1 > > Attachments: FDLeakBase.java, FDLeakBaseM4.java, TestKO.java, > TestOK.java > > > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.