perf: restore lost elasticsearch and redpanda memory limits - #307
Open
dargmuesli wants to merge 2 commits into
Open
dargmuesli wants to merge 2 commits into
dargmuesli wants to merge 2 commits into
Conversation
Member
Author
|
Locally load-tested both services against a real Docker Swarm deployment (linux/arm64, not emulated) before merging. Redpanda: Elasticsearch: heap confirmed at 512mb via its own boot log. Sent a single 118.7MB bulk request (matching the exact scenario in the existing
Bumped the limit to 1536m in the latest commit based on this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Elasticsearch's heap and Redpanda's memory flags were deliberately capped in 6a6ac65 (2026-07-23), but the dargstack v4 migration restored both compose files from a point in history before that tuning, so the caps were lost silently. Redpanda has since run without any memory limit at all; its Seastar runtime reserves most of the host's memory by default, which is a likely contributor to the reccoom Kafka connectivity errors seen in Sentry on 2026-09-04, 2026-09-07, and 2026-09-13. This restores the original limits verbatim from 6a6ac65, rebased onto the current compose structure: elasticsearch's heap back to 512m/512m with 1024m/512m container limits, redpanda's
--memory 512M --smp 1 --reserve-memory 0Mwith 1024M/512M container limits.