Skip to content

Enable bootstrap.memory_lock for Elasticsearch nodes (global) (#255)#258

Merged
akuzminsky merged 1 commit intomainfrom
issue-255-bootstrap-memory-lock-global
Mar 6, 2026
Merged

Enable bootstrap.memory_lock for Elasticsearch nodes (global) (#255)#258
akuzminsky merged 1 commit intomainfrom
issue-255-bootstrap-memory-lock-global

Conversation

@akuzminsky
Copy link
Member

Gate on $facts['elasticsearch']['memory_lock'] so existing nodes
without the fact are unaffected. When enabled:

  • Set bootstrap.memory_lock: true in elasticsearch.yml
  • Add systemd override with LimitMEMLOCK=infinity
  • Set vm.swappiness=1 via sysctl

Disable oracular builds - the repo is unused and deprecated.

Gate on $facts['elasticsearch']['memory_lock'] so existing nodes
without the fact are unaffected. When enabled:
- Set bootstrap.memory_lock: true in elasticsearch.yml
- Add systemd override with LimitMEMLOCK=infinity
- Set vm.swappiness=1 via sysctl

Disable oracular builds - the repo is unused and deprecated.
@akuzminsky akuzminsky merged commit 71a1580 into main Mar 6, 2026
2 checks passed
@akuzminsky akuzminsky deleted the issue-255-bootstrap-memory-lock-global branch March 6, 2026 22:31
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