Incorrectly setting allocated memory in the ES_JAVA_OPTS
variable
#434
Labels
Bug
Something isn't working
ES_JAVA_OPTS
variable
#434
I've got a report from a user using the Shield's
addusers
script, where the command fails because OS cannot allocate memory (see output below), presumably because the script tries to use the memory settings for Elasticsearch process, and there's no additional 8GB on the system :)It seems like we're including
new_resource.allocated_memory
in theES_JAVA_OPTS
environment variable in the Chef code.I'm wondering if we should do this? Shouldn't setting
ES_HEAP_SIZE
be enough?CC/ @markwalkom
The text was updated successfully, but these errors were encountered: