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

Heap dump path #629

Open
martinb3 opened this issue Dec 4, 2017 · 0 comments
Open

Heap dump path #629

martinb3 opened this issue Dec 4, 2017 · 0 comments

Comments

@martinb3
Copy link
Contributor

martinb3 commented Dec 4, 2017

Heap dump path default

Previous versions of Elasticsearch did not configure the JVM heap dump path. As such, the JVM would default to the working directory for the JVM. For the RPM and Debian package distributions this was a problem because the default would be /usr/share/elasticsearch, a path not writable by the elasticsearch user meaning that out of the box heap dumps would not be produced. It is a tragedy to not have this diagnostic information by default. Starting in Elasticsearch 6.0.0, the RPM and Debian packages configure the heap dump path to be /var/lib/elasticsearch. If this location is not suitable for receiving heap dumps (e.g., due to disk space concerns), you should adjust this path to a more suitable location.

The default value isn't going to work for us, because we need to parameterize it. Add back -XX:HeapDumpPath=/var/lib/elasticsearch and make it a workable parameter.

@martinb3 martinb3 added this to the Support v6.0.0 milestone Dec 4, 2017
@martinb3 martinb3 changed the title [6.0.0] Heap dump path Heap dump path Dec 4, 2017
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