Skip to content

Raise production indexing limit and observe parser stalls - #603

Merged
suguanYang merged 2 commits into
mainfrom
fix/wangbinqi/parse-runtime-diagnostics
Dec 3, 2026
Merged

suguanYang merged 2 commits into
mainfrom
fix/wangbinqi/parse-runtime-diagnostics

Conversation

@suguanYang

@suguanYang suguanYang commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Double the production lexical indexing unit limit from 1,048,576 to 2,097,152 in the runtime validation and ECS renderer.
  • Record Redis renewal timing and distinguish missing keys from a changed owner. Add bounded CPU and gevent heartbeat observations, including heartbeat warnings from the independent reservation watchdog.
  • Carry the parse job and task identifiers into PyMuPDF logs. Capture pool wait, child startup, elapsed time, CPU, resident memory, state and thread count when a child times out.

Evidence

  • Dec 3 production investigation found three retained revisions with maximum measured character/work count of 1,860,905. Five other jobs lost their Redis processing locks on one CPU-saturated worker.
  • The regression tests cover the new configuration ceiling, cgroup counter deltas with ECS task capacity, and job context on an actual child timeout. The first Linux test run passed 42 renderer tests, 1,039 API tests, and 818 Worker contract tests. Typecheck passed on the revised commit. All checks passed on the revised commit after rerunning the existing API indexing timeout test that exceeded its wall-clock assertion in the previous attempt.

Merge Danger

Door Reversible through the normal ECS release workflow.

Blast radius Knowhere production API and Worker indexing limits, plus Worker diagnostics. Monitor indexing deadline failures, CPU and memory during the incident retry batch.

@suguanYang
suguanYang merged commit b0d6cab into main Dec 3, 2026
8 of 9 checks passed
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