Skip to content

Commit

Permalink
Try more ram for opensearch instances
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Jun 28, 2024
1 parent bdc68f8 commit 5922469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ services:
target: gally_opensearch2
# restart: unless-stopped
environment:
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g" # Set min and max JVM heap sizes to at least 50% of system RAM
- "OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g" # Set min and max JVM heap sizes to at least 50% of system RAM
- "DISABLE_SECURITY_PLUGIN=true" # Disable security plugin
- cluster.name=os-docker-cluster # Search cluster name
- cluster.routing.allocation.disk.threshold_enabled=false # Avoid ES going read-only because low disk space availability
Expand Down Expand Up @@ -162,7 +162,7 @@ services:
target: gally_opensearch2
# restart: unless-stopped
environment:
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g" # Set min and max JVM heap sizes to at least 50% of system RAM
- "OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g" # Set min and max JVM heap sizes to at least 50% of system RAM
- "DISABLE_SECURITY_PLUGIN=true" # Disable security plugin
- cluster.name=os-docker-cluster # Search cluster name
- cluster.routing.allocation.disk.threshold_enabled=false # Avoid ES going read-only because low disk space availability
Expand Down

0 comments on commit 5922469

Please sign in to comment.