-
Notifications
You must be signed in to change notification settings - Fork 580
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
Jersey threads can attempt to write after Netty's event loops are shut down #2499
Comments
Details of exception that can be reported multiple times:
|
The scenario here is a Docker container that is stopped via a SIGTERM followed by a SIGKILL. Perhaps the SIGTERM is causing the event loop to shut down while the Jersey threads are still running --which may explain why they attempt and fail to write data to a connection. More investigation is needed. |
PR #2505 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Under heavy load and when Jersey threads are blocked on I/O, it appears these threads can attempt to write to a connection after the Netty's event loops are shut down, resulting in a
RejectedExecutionException
thrown by Netty. As a result, an application may report multiple exceptions while shutting down.The text was updated successfully, but these errors were encountered: