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.
What changed, earliest first
| Server | What changed | Before → after | Started | Size of jump |
|---|---|---|---|---|
| 2 servers ops-01, worker-01 same minute | TCP segments resent routine | 0% → 18–29.4%chart | 8 min before the alarm | huge |
| cache-01 raised no alert | TCP segments resent | 0% → 4.3% +4 points chart | 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/minchart | 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/minchart | 2 min before the alarm | huge |
| db-01 | service stopped cause “Stopped postgresql.service - PostgreSQL RDBMS.” |
0/min → 3/min from none | 2 min before the alarm | small |
| shop.example.com raised no alert | website answering effect | 1 → 0chart | 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