Skip to content

fix: API OOM 137 - liveness probe, memory, probe timeouts - #23

Merged
surrealwolf merged 1 commit into
mainfrom
fix/api-oom-137-probes-memory-pooling
Feb 9, 2026
Merged

fix: API OOM 137 - liveness probe, memory, probe timeouts#23
surrealwolf merged 1 commit into
mainfrom
fix/api-oom-137-probes-memory-pooling

Conversation

@surrealwolf

@surrealwolf surrealwolf commented Feb 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

K8s deployment updates to fix API pods exiting with error 137 (SIGKILL).

Changes

Liveness probe

  • Path: /api/health/api/livez (lightweight endpoint, no DB)
  • Timeout: 5s → 10s
  • Avoids killing healthy pods when DB is slow

Readiness probe

  • Timeout: 3s → 10s
  • Failure threshold: 2 → 3
  • Initial delay: 10s → 15s

Resources

  • Memory limit: 1Gi → 2Gi (reduce OOM risk)

Image

  • Bump API image to v0.17 (from v0.11)

Dependency

Requires high-command-api changes that add /api/livez endpoint:

- Use /api/livez for liveness (lightweight, no DB) to avoid SIGKILL on slow health
- Increase memory limit 1Gi -> 2Gi to reduce OOM risk
- Increase probe timeouts: liveness 5s->10s, readiness 3s->10s
- Increase readiness failureThreshold 2->3
- Bump API image to v0.17

Co-authored-by: Cursor <cursoragent@cursor.com>
@surrealwolf
surrealwolf merged commit cf83b16 into main Feb 9, 2026
3 checks passed
@surrealwolf
surrealwolf deleted the fix/api-oom-137-probes-memory-pooling branch February 9, 2026 05:19
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.

1 participant