Investigate and reduce excessive CPU utilization spike

Task 10307 · Done · Coder · created · updated

- With CPU profiling the system went to 8 tasks and was all 100% CPU. Fix the profiler - Analyze top 5 ways to reduce CPU load and coordinate with operator - The screenshot shows the current load which feels like too much ![image.png](attachment:img-ngIyjVgA5p.png)

Outcome

Profiler fixed (--gil, 1 min in 5; it had pinned prod CPU at 99% and scaled to 8). Plus memory-bundle cache, DBOS 10s polls, idle lease-drain/cp-peers/live-cast skips, pure-ASGI auth middleware. Quick gate green; #7024 merged 9e992414, deploy succeeded. Memory: proposed 1 gotcha.

Pull request

Artifacts

Attachments

Activity

  • Created
  • Run
  • Runner started
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Awaiting response
  • Runner resumed
  • Runner ended (done)