-
Notifications
You must be signed in to change notification settings - Fork 355
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 stuck in WAITING
#3800
Comments
@joekarl Commented |
@daniloradenovic Commented |
@joekarl Commented Though seems more of a bandaid than an actual fix. |
@joekarl Commented |
|
To understand this issue correctly:
Well, I admit a reproducer would help here.... |
As part of the upgrade path from Dropwizard 0.x -> 1.x the jersey version was bumped to 2.25.1
What we've noticed is that across a number of our production services, we're seeing threads randomly moving from a
RUNNABLE
to aWAITING
state and staying in that waiting state. This seems to occur randomly, but mostly centered around higher throughput paths that can sometimes incur higher latency. As these blocked threads increase over time, the thread pool is eventually starved and the service topples over.This seems somewhat related to this previous issue (targeted for 2.26+ milestone) https://github.com/jersey/jersey/issues/3207
Here's an example from a recent thread dump. We see something similar for each stuck thread and the entries in the thread dump slowly increase over time as they're not evicted from the thread pool.
The text was updated successfully, but these errors were encountered: