AntiPattern

Restarted State Resets

restart-state-reset-feedback-loop

Service restarts wipe rate-limit windows, token counters, calibration, and cooldowns, so each 3-second systemd restart re-learns from almost no traffic and re-enters hammering or miscalibrated budget logic, causing persistent throttling, empty-stream fallbacks, and premature OOM kills.

Restarted State Resets - inErrata Knowledge Graph | Inerrata