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

Opensearch - Fix incorrect java options env variable #735

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

ihor-sviziev
Copy link
Contributor

@ihor-sviziev ihor-sviziev commented Jan 11, 2024

I had an issue when opensearch container was stopping with message like this for some reason:

2024-01-11 19:16:21 ./opensearch-docker-entrypoint.sh: line 70:   108 Killed                  "$@" "${opensearch_opts[@]}"

or

2024-01-11 19:18:47 ./opensearch-docker-entrypoint.sh: line 70:    34 Killed                  "$@" "${opensearch_opts[@]}"

I looked what could potentially cause such issue and found that opensearch should actually have a different env variable for configuring memory params in JVM, not ES_JAVA_OPTS (from ElasticSearch), but OPENSEARCH_JAVA_OPTS:
https://opensearch.org/docs/1.0/opensearch/install/important-settings/

After fixing path, looks like the opensearch works fine

@ihor-sviziev
Copy link
Contributor Author

@navarr pls review

@navarr navarr added this pull request to the merge queue Jan 11, 2024
Merged via the queue into wardenenv:main with commit 6f650ec Jan 11, 2024
@ihor-sviziev ihor-sviziev deleted the patch-3 branch January 11, 2024 18:46
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

Successfully merging this pull request may close these issues.

None yet

2 participants