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

Too many open files error: thousands of open connections to Auth0 #84

Open
landonreed opened this issue May 11, 2018 · 0 comments
Open
Labels

Comments

@landonreed
Copy link
Member

We experienced an issue where thousands of connections were being held open to Auth0. A sample connection appeared like this after running lsof:

TCP ip-172-30-2-68.eu-west-1.compute.internal:49970->ec2-52-28-229-49.eu-central-1.compute.amazonaws.com:https

This was preventing the application from making any other http requests and the result to users was that the user token could not be verified. If encountered in the future, it may be possible to kill off these TCP connections or simply restarting the server will work.

A potential fix might be to use the auth0 java library for getting the user profile in Auth0Connection.java, which may manage auth0 connections better.

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

No branches or pull requests

1 participant