Skip to content

modifying the jvm options to configure Elasticsearch memory usage doesn't work #1237

@murilosouza-ds

Description

@murilosouza-ds
  • Module version: 9.0.0
  • Puppet version: 8.9.0
  • Os version: Ubuntu 20.04.6 LTS

Bug description

The README recomends: when configuring Elasticsearch's memory usage, you can modify it by setting jvm_options

class { 'elasticsearch':
  jvm_options => [
    '-Xms4g',
    '-Xmx4g'
  ]
}

This adds -Xms4g and -Xmx4g in the file /etc/elasticsearch/jvm.options.d/jvm.options. But this configuration is overwritten by the contents of /etc/elasticsearch/jvm.options, therefore nullifying its effects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions