Live demo · the Whyfire screens as on-call sees them · read-only← The guided demoJoin the waitlist
Whyfire AI write-up on · claude-opus-5-5
← Resolved incidents
warninginc_20261014_9be3e1d0 · 2026-10-14 17:15 UTC

ServiceRestartLoop on worker-01

Resolved 17:29 UTC after 15 min

This alert on worker-01: First time in 30 days

shop-worker.service on worker-01 is failing and restarting

Cause · from the AI investigation
worker-01: a new release of /opt/shop/worker.py adds import order_templates, but that module isn't installed, so every start of shop-worker.service crashed. After 5 quick restarts systemd gave up, and the worker is now down.
The statistics agree: worker-01, service failed: 11/min (hour before: 0/min), 1 min after the alarm.
service failed on worker-01: from 0/min to 11/min over the 70 minutes before the alarm and 10 after; usual level 0/min.alarm11/min0/min70 min before10 min after

What changed, earliest first

ServerWhat changedBefore → afterStartedSize of jump
worker-01service failed cause
“shop-worker.service: Main process exited, code=exited, status=1/FAILURE”
0/min → 11/min
from none
1 min after the alarm big
worker-01service restart loop
“shop-worker.service: Scheduled restart job, restart counter is at 1.”
0/min → 6/min
from none
chartservice restart loop on worker-01: from 0/min to 6/min over the 30 minutes before the alarm and 10 after; usual level 0/min.
1 min after the alarm clear
worker-01service stopped
“Stopped shop-worker.service - Order confirmation worker.”
0/min → 1/min
from none
chartservice stopped on worker-01: from 0/min to 1/min over the 30 minutes before the alarm and 10 after; usual level 0/min.
1 min after the alarm small

Investigation

Evidence:

  • 17:09:01: the old worker was healthy and logged "sent 131001 order confirmations".
  • 17:14:13.506: shop-worker.service was stopped and restarted. Nothing in the logs shows who triggered it.
  • 17:14:13.667: the new code failed at line 1 with "ModuleNotFoundError: No module named 'order_templates'" ("# new in this release"). This repeated 5 times, and at 17:14:15.870 systemd logged "Start request repeated too quickly".

Action: Deploy the missing order_templates module or roll worker.py back. Then run systemctl reset-failed shop-worker and restart the service. Order confirmations are not being sent until then.

Origin check: The host is right, but the pre-pass prime suspect (service failures) is a symptom. The cause was the incomplete release that took effect at the 17:14:13 restart.

Written by claude-opus-5-5 from the evidence above.

Alerts in this incident

  • ServiceRestartLoop on worker-01 17:14 UTC

Runbook

systemd keeps restarting this service. journalctl -u <unit> -n 50 shows why: usually a bad config change, a missing file or a port already in use.

Whyfire's starter runbook

Incidents like this before

  • None in the last 90 days

Silenced before

  • Never silenced in the last 6 months

Also started nearby

  • None

3 AI turns · about $0.058