diff --git a/docs/opensearch/install/important-settings.md b/docs/opensearch/install/important-settings.md index 0e666b21..f8907379 100644 --- a/docs/opensearch/install/important-settings.md +++ b/docs/opensearch/install/important-settings.md @@ -28,7 +28,7 @@ The [sample docker-compose.yml](../docker/#sample-docker-compose-file) file also Disbles swapping (along with `memlock`). Swapping can dramatically decrease performance and stability, so you should ensure it is disabled on production clusters. -- `ES_JAVA_OPTS=-Xms512m -Xmx512m` +- `OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m` Sets the size of the Java heap (we recommend half of system RAM). diff --git a/docs/security/access-control/cross-cluster-search.md b/docs/security/access-control/cross-cluster-search.md index e6e793a3..4bdd8606 100644 --- a/docs/security/access-control/cross-cluster-search.md +++ b/docs/security/access-control/cross-cluster-search.md @@ -73,7 +73,7 @@ services: - cluster.name=opensearch-cluster1 - discovery.type=single-node - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM + - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM ulimits: memlock: soft: -1 @@ -93,7 +93,7 @@ services: - cluster.name=opensearch-cluster2 - discovery.type=single-node - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM + - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM ulimits: memlock: soft: -1 diff --git a/docs/security/configuration/tls.md b/docs/security/configuration/tls.md index cd6c211e..3debafec 100755 --- a/docs/security/configuration/tls.md +++ b/docs/security/configuration/tls.md @@ -205,4 +205,4 @@ opensearch_security.ssl.http.enabled_protocols: ## (Advanced) Disable client initiated renegotiation for Java 8 -Set `-Djdk.tls.rejectClientInitiatedRenegotiation=true` to disable secure client initiated renegotiation, which is enabled by default. This can be set via `ES_JAVA_OPTS` in `config/jvm.options`. +Set `-Djdk.tls.rejectClientInitiatedRenegotiation=true` to disable secure client initiated renegotiation, which is enabled by default. This can be set via `OPENSEARCH_JAVA_OPTS` in `config/jvm.options`.