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

Unclosed opened file handlers. #9

Closed
triStone opened this issue Oct 27, 2014 · 2 comments
Closed

Unclosed opened file handlers. #9

triStone opened this issue Oct 27, 2014 · 2 comments

Comments

@triStone
Copy link

I have a nodes names A which have about 1M docs. Every time I use
select * from A limit 1000, this plugin will open 15 handlers and leave them open after query.

This bug will cause the count of file descriptors reach the max limit after some queries.

@triStone
Copy link
Author

More details:
5 of them are [eventpool], 10 of them are pipe

@ansjsun
Copy link
Member

ansjsun commented Oct 27, 2014

i use it in
https://github.com/NLPchina/elasticsearch-sql/blob/master/src/main/java/org/elasticsearch/plugin/nlpcn/RestSqlAction.java

it search by es default ...

so ..how do ? i am not good at this ..can you help me ?

@ansjsun ansjsun closed this as completed in d9d5707 Nov 7, 2014
ansjsun added a commit that referenced this issue Nov 7, 2014
prevent open file handles leak. fixes #9
shi-yuan pushed a commit that referenced this issue Jan 13, 2018
Merge From NLPchina/elasticsearch-sql
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