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

cannot close connection #32

Open
ys588281 opened this issue Nov 4, 2015 · 0 comments
Open

cannot close connection #32

ys588281 opened this issue Nov 4, 2015 · 0 comments

Comments

@ys588281
Copy link

ys588281 commented Nov 4, 2015

I need to close connection after using apollo-cassandra.
Is there API provided from apollo or any other ways to close connection.
If I did not close it, I would encounter emfile error after using it for a while.
The error message is like:
Error: All host(s) tried for query failed. First host tried, 10.XXX.XXX.XX:0000: Error: connect EMFILE.

I can deal with it by increasing the limit of open files on linux server but I don't think it is a good way.

Is there anyone can help me solve this question?

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

1 participant