redpanda-data / redpanda-data/redpanda
The hard minimum memory requirement is wrongly presented as "recommended" and non-fatal
Open
Nobody has claimed this yet.
kind/bug
- Dominant language
- C++
- Stars
- 12.6k
- Forks
- 792
- PR merge metrics
- No merged PRs in 30d
Description
Version & Environment
Redpanda version: (use rpk version): v26.1.4
OS: Ubuntu 24.04
What went wrong?
If you start Redpanda with not enough memory it fails with an error:
Failure during startup: std::runtime_error (Memory: '...' below recommended: '...')
This is fine, but if it’s a hard requirement then:
- it shouldn’t describe the minimum as just "recommended"
- the
SEVERITYgiven byrpk redpanda checkfor theFree memory per CPU [MB]row should beFatal, notWarning
What should have happened instead?
- It should say "below minimum:"
- The
SEVERITYshould beFatal
How to reproduce the issue?
- Start Redpanda on a server with not enough RAM.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the startup memory error that reports memory as "below recommended," then locate the rpk redpanda check implementation for the Free memory per CPU [MB] row. Done means the message says "below minimum" and that row reports Fatal severity; the payload names no files or tests, so search by these exact strings first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100