[
https://issues.apache.org/jira/browse/AWF-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Stevenson moved DEFT-135 to AWF-1:
---------------------------------------
Reporter: Niklas Gustavsson
Key: AWF-1 (was: DEFT-135)
Project: Apache AWF (was: Deft)
> java.io.IOException: Too many open files
> ----------------------------------------
>
> Key: AWF-1
> URL: https://issues.apache.org/jira/browse/AWF-1
> Project: Apache AWF
> Issue Type: Bug
> Reporter: Niklas Gustavsson
>
> Hi, during load test with static files I get this exception:
> java.io.IOException: Too many open files
> sun.nio.ch.ServerSocketChannelImpl.accept0 at (Native Method) ~ [na na]
> at sun.nio.ch.ServerSocketChannelImpl.accept (ServerSocketChannelImpl.java:
> 152) ~ [na na]
> at org.deftserver.web.http.HttpProtocol.handleAccept (HttpProtocol.java: 43)
> ~ [bin / na]
> at org.deftserver.io.IOLoop.start (IOLoop.java: 78) ~ [bin / na]
> at it.meebookto.webserver.MainServer.main (MainServer.java: 25)
> It seems that the method
> HttpResponse.write (File file)
> does not release resources after reading from the file system.
> Sorry for my bad english:)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira