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

After Volume Increase, large number of “java.nio.file.FileSystemException” and “TranslogException” Logs #17279

Closed
benlavender opened this issue Mar 23, 2016 · 6 comments
Assignees
Labels
:Distributed/Engine Anything around managing Lucene and the Translog in an open shard. feedback_needed

Comments

@benlavender
Copy link

Here is the URL to my issues at ES discussion: https://discuss.elastic.co/t/indices-created-in-new-node-after-disk-extend/43794

Since we had a disk volume deplete it’s space the ES went down until we extended it, since then ES has been stopping every day and a large amount of the below logs have been created:

Caused by: java.nio.file.FileSystemException: /var/lib/elasticsearch/elasticsearch/nodes/0/indices
/devicename-2016.02.21/4/index: Too many open files

TranslogException[failed to create new translog file]; nested: FileAlreadyExistsException[/var/lib/elasticsearch/elasticsearch/nodes/0/indices/devicename-2016.03.21/1/translog/translog-17.tlog]
I also noted that since the increase it’s switch to /node1 from /node0.

I’m aware of a bug in V2 but we’re running 2.1.1 right now.

@s1monw
Copy link
Contributor

s1monw commented Mar 23, 2016

I think this is fixed by #15788 any chance you can upgrade to 2.1.2 also can you provide the full stacktrace?

@benlavender
Copy link
Author

I upgraded to 2.3.0 via the .DEB package, I still see the below type errors when starting ES:

Caused by: [syslog-2016.03.24][[syslog-2016.03.24][1]] EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[/var/lib/elasticsearch/elasticsearch/nodes/0/indices/syslog-2016.03.24/1/translog/translog-2.ckp];

Caused by: java.nio.file.FileSystemException: /var/lib/elasticsearch/elasticsearch/nodes/0/indices/syslog-2016.03.29/4/translog/translog-21.tlog: Too many open files

The instance will keep logging this until it peaks it's CPU %

@clintongormley
Copy link

Too many open files

You need to increase your file handle limit

@benlavender
Copy link
Author

Please can someone provide the method of doing this? Thanks

@s1monw
Copy link
Contributor

s1monw commented May 21, 2016

closing no feedback

@s1monw s1monw closed this as completed May 21, 2016
@clintongormley clintongormley added :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. and removed :Translog :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Engine Anything around managing Lucene and the Translog in an open shard. feedback_needed
Projects
None yet
Development

No branches or pull requests

3 participants