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

install.py should recommend different settings for minimal memory instances, if possible #85

Closed
mmguero opened this issue Mar 28, 2022 · 1 comment
Labels
install.py Relating to the install.py configuration script opensearch Relating to Malcolm's use of OpenSearch performance Related to speed/performance

Comments

@mmguero
Copy link
Collaborator

mmguero commented Mar 28, 2022

Moved from cisagov#204 by @RafnexJr.

When following the default recommendation of the memory allocation the setup script provides and the system has no swap configured Opensearch repeatedly crashed because it can't allocate enough memory. Problems occured when the server has below 12 GB memory and now swap configured, it happend on Ubuntu, Debian and OpenSUSE.
To reproduce

Steps to reproduce the behavior:

  • Server with 8GB memory and no swap
  • Install according to documentation
  • Start Malcolm with the script

Expected behavior

The script should recommend less memory for Opensearch and Logstash when the system has below 12 GB memory and no swap.
Any helpful log output or screenshots

The following output is shown (not exactly copied)

OpenSearch exited with code 137

@mmguero mmguero added opensearch Relating to Malcolm's use of OpenSearch install.py Relating to the install.py configuration script performance Related to speed/performance labels Mar 28, 2022
@mmguero mmguero added this to Malcolm Oct 14, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented Nov 5, 2024

Kamino closed and cloned this issue to cisagov/Malcolm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install.py Relating to the install.py configuration script opensearch Relating to Malcolm's use of OpenSearch performance Related to speed/performance
Projects
Status: Migrated
Development

No branches or pull requests

1 participant