Skip to content
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

Thread blocking under high load for unboundid-ldapsdk 3.1.1 #20

Open
yuriyz opened this issue Dec 22, 2016 · 4 comments
Open

Thread blocking under high load for unboundid-ldapsdk 3.1.1 #20

yuriyz opened this issue Dec 22, 2016 · 4 comments

Comments

@yuriyz
Copy link

yuriyz commented Dec 22, 2016

We got random thread blocking on unbound id side under high load of oxauth (https://github.com/GluuFederation/oxAuth).

oxauth uses unboundid-ldapsdk 3.1.1 to connect to slapd. Connection pool is set to 1000. While profiling oxauth under high load (500 requests per second) we noticed small thread blocking on unbound id side.

ldap_
ssl

Please let me know if you need more details.

@davidely-unboundid
Copy link

davidely-unboundid commented Dec 22, 2016 via email

@yuriyz
Copy link
Author

yuriyz commented Dec 23, 2016

Thanks for nice hint. I added it and don't see blocking with SecureRandom anymore.

However I still see problem with SSLContextImpl, any idea?

https://cloud.githubusercontent.com/assets/2013070/21434330/89ea2c96-c87c-11e6-8e92-19385f17adf2.png

@davidely-unboundid
Copy link

davidely-unboundid commented Dec 23, 2016 via email

@yuriyz
Copy link
Author

yuriyz commented Dec 23, 2016

I think I found the reason, it's bug in jvm https://bugs.openjdk.java.net/browse/JDK-8133070
I will double check and will come back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants