Skip to content

Commit

Permalink
Adds note about duplicating java opts in multiple places (opensearch-…
Browse files Browse the repository at this point in the history
…project#1720)

* Adds note about duplicating java opts in multiple places

Signed-off-by: JeffH-AWS <[email protected]>

* Fixed verb

Signed-off-by: JeffH-AWS <[email protected]>

* Using JVM options rather than Java options per developer guidance

Signed-off-by: JeffH-AWS <[email protected]>

* Added short blurb about WHY you shouldn't do it

Signed-off-by: JeffH-AWS <[email protected]>

Signed-off-by: JeffH-AWS <[email protected]>
  • Loading branch information
Jeff Huss authored Oct 27, 2022
1 parent 0cb8d7e commit 40860b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _opensearch/install/important-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ The [sample docker-compose.yml]({{site.url}}{{site.baseurl}}/opensearch/install/

Allows you to access Performance Analyzer on port 9600.

Do not declare the same JVM options in multiple locations because it can result in unexpected behavior or a failure of the OpenSearch service to start. If you declare JVM options using an environment variable, such as `OPENSEARCH_JAVA_OPTS=-Xms3g -Xmx3g`, then you should comment out any references to that JVM option in `config/jvm.options`. Conversely, if you define JVM options in `config/jvm.options`, then you should not define those JVM options using environment variables.
{: .note}

### Network requirements

The following ports need to be open for OpenSearch components.
Expand Down

0 comments on commit 40860b8

Please sign in to comment.