-
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resurfaced "java.io.IOException: Too many open files" when hit by multiple requests issue #1731
Comments
Is the error being logged in an exceptionCaught, or is it causing the server to crash? Do you have a stacktrace? |
Yes, the error is logged in an exceptionCaught. It is not causing the server to crash, but the request to not to be processed. Stack trace:
If the request can't be processed (or queued for later processing), a suggestion is to instead throw an exception signaling a HTTP 503 Service Unavailable response. |
This is expected behaviour, and is nothing that can be changed. The JVM is signalling that it is unable to accept the channel - therefore no connection can be initiated and no response can be sent. The client will see a connection failure. If you have a load-balancer, it should retry against an alternate host, or return the 503 on your application's behalf. |
i have this issue now , |
This has previously been reported in issue 1578: #1578
The issue was set as resolved in 4.0.2.Final, but now exists in 4.0.6.Final.
Do you have any advice on this issue?
The text was updated successfully, but these errors were encountered: