>_
.issue.db
/highway
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #947
Update issue details
Title *
Description
EARS: The database container shall not be OOM-killed under the engine's maximum connection budget plus a full parallel test run; worst-case memory (shared_buffers + max_connections x work_mem x expected sort/hash nodes) shall fit the container limit with headroom >= 20%. FOUND 2026-10-16 01:24:09 UTC: dmesg 'Memory cgroup out of memory: Killed process 3362620 (postgres) anon-rss 66MB shmem-rss 480MB'; docker inspect highway-postgres OOMKilled=true, limit 4GiB; Postgres crash recovery; highway_internal tasks failed 'server closed the connection unexpectedly' and retried. Coincided with a full tests/unit run by an agent (parallel DB connections). Host swap 100% used (12221/12287 MB) across co-hosted stacks. Note #836 bounded the fleet connection budget; verify budget x per-conn memory vs 4GiB. Moving to pg-nano (#925) changes the limits; still must hold on this host meanwhile. Verify through a load test that reproduces then no longer reproduces.
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Won't Do
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel