Skip to content

Conversation

AshleyDumaine
Copy link

I'm running Newsblur on an Ubuntu VM and noticed the db_elasticsearch container kept crashing with the following spamming in the logs:

Unrecognized VM option 'UseSVE=0'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I was able to get around this by commenting out the option:

  db_elasticsearch:
    container_name: db_elasticsearch
    image: docker.elastic.co/elasticsearch/elasticsearch:8.17.0
    mem_limit: 1200m
    mem_reservation: 512m
    restart: unless-stopped
    environment:
      - discovery.type=single-node
      - "ES_JAVA_OPTS=-Xms384m -Xmx384m" # -XX:UseSVE=0"
        # - "CLI_JAVA_OPTS=-XX:UseSVE=0"
      - cluster.routing.allocation.disk.threshold_enabled=false
      - xpack.security.enabled=false
      - bootstrap.memory_lock=false
      - indices.breaker.total.use_real_memory=false

@samuelclay
Copy link
Owner

@claude Can you change this to only apply those elasticsearch options on arm machines? Possibly in the ansible environment config?

@claude
Copy link

claude bot commented Oct 21, 2025

Claude encountered an error —— View job

Failed with exit code 128

I'll analyze this and get back to you.

@samuelclay
Copy link
Owner

@claude try again now?

@claude
Copy link

claude bot commented Oct 21, 2025

Claude encountered an error —— View job

Failed with exit code 128

I'll analyze this and get back to you.

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.

2 participants