Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
murilosouza-ds opened this issue Sep 19, 2024 · 0 comments

Comments

@murilosouza-ds
Copy link

  • 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.

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

No branches or pull requests

1 participant