Find what is causing OOMKilled dealbot workers
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- typescript
- Domain
- backend, observability
Research direction
The issue names no file yet; the allocating path is unknown and the work is to find it. Start with the pull-check timeout path and the overlapping deal work it may share with, then add the 1-second memory sampling the issue describes across main and worker threads. Done means a captured spike is traced to a specific allocating path and a fix is verified to stop that OOM source.
Written by the indexing model from the issue text.
Description
43 worker OOM kills are visible in total on staging and prod. Kernel logs verify 15 of them (12 staging, 3 prod) as 2 GiB container-limit OOMs, dominated by anonymous process memory. The allocating code path remains unknown. Kernel evidence.
Key evidence
- 14 of the 15 verified kills occurred 3.2–4.2 seconds after a 300-second pull-check timeout on the same pod. Most timeouts do not cause a kill, so this is a lead, not proof of causation.
- Current sampling misses the spike: the latest staging kill had a reading of about 190 MiB within 30 seconds of reaching the limit.
- Anonymous memory could be JS heap, Buffers, or native allocations.
Next steps
- Add temporary memory sampling at 1 second or finer, recording active jobs, process RSS, heap, and external/Buffer memory across main and worker threads.
- Capture a spike and identify the allocating path. Start with the pull-check timeout path and overlapping deal work.
- Fix the cause and verify that it prevents OOM kills from that source.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 9
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 9
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from FilOzone/dealbot
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
FilOzone/dealbot#649 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted ready-for-work
Difficulty 1/5 Under an hour Newbie friendliness 86/100
FilOzone/dealbot#616 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
FilOzone/dealbot#775 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
Maintainers usually reply within 1 day
All issues in FilOzone/dealbot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zabuton-app/meguri#875 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
iruzen-dono/workless#117 ·
Maintainers usually reply within 1 day
-
area:api area:web wave wave:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day