-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Getting threads blocked #59
Comments
This has nothing to do with JJWT - JJWT is completely stateless and does not manage threads or locks itself anywhere. You're apparently hitting what looks to be like a design flaw in the |
Right, looks like this is not a problem of your library, but JDK: |
Could you please offer a pull request for the fix? |
Also, what SDK are you using? Oracle JDK? Open JDK? |
@strokine Could you please indicate which SDK you were using? Also, did you try using BouncyCastle to see if that helped? |
Oracle JDK. No, we didn't use BouncyCastle. |
Closing since there's not much we can do here (it's a JDK implementation issue). There is a workaround identified in the comments of http://bugs.java.com/view_bug.do?bug_id=7092821. |
Hello, under normal load everything works just fine, but when server gets a lot of traffic I'm getting response time spikes. While I'm analyzing the thread dump I see a lot of blocked threads, which I don't see at all during no spike time, even under heavy load:
I'm not sure what could cause the problem, but if you know, please fix it.
Thanks for the library anyway,
Eugene
The text was updated successfully, but these errors were encountered: