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
criticalinc_20261017_9806a86d · 2026-10-17 20:34 UTC

PostgresNotAnswering on db-01

Resolved 20:41 UTC after 9 min

This alert on db-01: 5th time in 30 days · usually over in 8 min · last 12 h ago

db-01: PostgreSQL is not answering the agent

Cause · from the AI investigation of the same fire (WebErrorRateHigh)
db-01: systemd stopped PostgreSQL cleanly at 20:30:26Z ("received fast shutdown request") and it has not come back, so app-01, app-02 and worker-01 get "connection refused" on 172.31.2.53:5432 and nginx on web-01 returns 500 on /checkout.
The statistics agree: db-01, service stopped: 3/min (hour before: 0/min), 2 min before the alarm.
service stopped on db-01: from 0/min to 3/min over the 70 minutes before the alarm and 1 after; usual level 0/min.alarm3/min0/min70 min before1 min after

What changed, earliest first

ServerWhat changedBefore → afterStartedSize of jump
2 servers
ops-01, worker-01
same minute
TCP segments resent routine 0% → 18–29.4%
chartTCP segments resent on 2 servers: from 0% to 29.4% over the 30 minutes before the alarm and 1 after; 2 servers.
8 min before the alarm huge
cache-01 raised no alertTCP segments resent 0% → 4.3%
+4 points
chartTCP segments resent on cache-01: from 0% to 4.3% over the 30 minutes before the alarm and 1 after; usual level 0%.
6 min before the alarm clear
3 servers
app-01, app-02, worker-01
same minute
connections refused
“checkout failed after 1ms: connection to server at "172.31.2.53", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?”
0/min → 12–60/min
chartconnections refused on 3 servers: from 0/min to 60/min over the 30 minutes before the alarm and 1 after; 3 servers.
2 min before the alarm huge
3 servers
web-01, app-01, app-02
same minute
log lines per minute
“nginx: web-01 nginx: 127.0.0.1 - - [17/Oct/2026:20:30:26 +0000] "GET /checkout HTTP/1.1" 500 27 "-" "curl/8.5.0"”
new kind of line, 101/min (none in the hour before), 50% of the extra lines (on web-01)
3/min → 60–236/min
chartlog lines per minute on 3 servers: from 0/min to 236/min over the 30 minutes before the alarm and 1 after; 3 servers.
2 min before the alarm huge
db-01service stopped cause
“Stopped postgresql.service - PostgreSQL RDBMS.”
0/min → 3/min
from none
2 min before the alarm small
shop.example.com raised no alertwebsite answering effect 1 → 0
chartwebsite answering on shop.example.com: from 0 to 1 over the 30 minutes before the alarm and 1 after; usual level 1.
2 min before the alarm clear

Investigation

Same fire as WebErrorRateHigh on web-01 (same cause, within 15 minutes): its AI write-up covers this one, so it was not paid for twice.

Alerts in this incident

  • PostgresNotAnswering on db-01 20:33 UTC

Runbook

The agent cannot query PostgreSQL through its local socket. systemctl status postgresql and journalctl -u postgresql -n 50 on the server: stopped, crashed, out of disk, or local logins refused after a pg_hba.conf change.

Whyfire's starter runbook

Incidents like this before

  • Earlier incidents like this are not part of this demo

Silenced before

  • Never silenced in the last 6 months

Also started nearby

  • WebErrorRateHigh on web-01 2 min before the alarm
  • WebsiteDown on shop.example.com at the alarm