-
Notifications
You must be signed in to change notification settings - Fork 229
Set Xms equal to Xmx at Elasticsearch startup #383
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
Comments
Do we have node sizing documentation currently that references sizing for ES that we can add to to make sure users are aware of this? We should make sure that this information is well dispersed in our docs since we are effectively changing how this will work on smaller test installations. Or would this be alright since we change the Xmx based on the amount of memory available to the pod? |
@ewolinetz I dont see it as a huge issue to document. In practice, this is recommended way of running java servers to avoid GC issues. My suspicion is that any deployment quickly grabs all the memory it can anyway. And to your point, we adjust max heap based on whats available to the container. |
I believe we should not allow the user to set I believe we do most of that today, no? |
My first take on this #389 |
Closes openshift#383 (cherry picked from commit 5ae268a)
We should not make it possible to start ES with
Xms < Xmx
. One of the reasons is that we may not be able to fully benefit from disabled swap (#206) via mlockall.The text was updated successfully, but these errors were encountered: