Repository navigation
fix(k8s): replace the SearXNG worker before its memory limit - #4951
Merged
Merged
Conversation
The SearXNG worker grew about 50 MiB a day and was never replaced, so it reached the 384 Mi limit and the container was OOM-killed. Granian now replaces a worker that passes 512 MiB (GRANIAN_WORKERS_MAX_RSS), and the memory request and limit are 256 Mi and 1 Gi, so a worker at the cap and its replacement fit.
dan-petty
marked this pull request as ready for review
November 12, 2026 06:36
dan-petty
enabled auto-merge (squash)
November 12, 2026 06:36
Owner
Author
|
Fail-to-pass:
Live facts: Prometheus rss 160 to 364 MiB over 4 days (cache under 1 MiB); After the merge, Argo CD syncs the Deployment. Check: |
dan-petty
pushed a commit
that referenced
this pull request
Nov 12, 2026
🤖 I have created a release *beep* *boop* --- ## [0.117.0](v0.116.2...v0.117.0) (2026-11-12) ### Features * **git:** refuse a push that does not hold origin/main ([#4879](#4879)) ([f55a20b](f55a20b)), closes [#4670](#4670) ### Bug Fixes * **k8s:** replace the SearXNG worker before its memory limit ([#4951](#4951)) ([95abe10](95abe10)) * **mcp:** mark the tools that write local state not read-only ([#4942](#4942)) ([6d93d77](6d93d77)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
23 tasks
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.
The SearXNG worker grew about 50 MiB a day and was never replaced. In 4 days its resident memory rose from 160 MiB to 364 MiB against the limit of 384 Mi, and the container was OOM-killed on 2026-11-12.
Granian 2.8.4 in the pinned image replaces a worker that passes
GRANIAN_WORKERS_MAX_RSS. The Deployment sets it to 512 MiB, and the memory request and limit go to 256 Mi and 1 Gi, so the main process, the resource tracker, a worker at the cap and its replacement fit. "The limits" ink8s/README.mdand the SearXNG invariant tests hold the new values.Closes #4939
Change:
openspec/changes/archive/2026-11-12-4939-searxng-worker-memory/