warninginc_20261017_863419fb · 2026-10-17 20:32 UTC
WebErrorRateHigh on web-01
Resolved 20:46 UTC after 15 min
This alert on web-01: 29th time in 30 days · usually over in 15 min · last 1 h ago
100% of requests to web-01 failed with a server error in 5 minutes
Cause · from the AI investigation
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), at the alarm.
Followed the errors: app-02 → db-01 · “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?”
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% → 14.3–30.8%chart | 7 min before the alarm | huge |
| 3 servers app-02, app-01, 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 | at the alarm | huge |
| 3 servers web-01, app-02, app-01 same minute | log lines per minute effect “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, 89.3/min (none in the hour before), 50% of the extra lines (on web-01) |
3/min → 59–236/minchart | at the alarm | huge |
| db-01 raised no alert | service stopped cause “Stopped postgresql.service - PostgreSQL RDBMS.” |
0/min → 3/min from none | at the alarm | small |
| cache-01 raised no alert | TCP segments resent | 0% → 3.6% +4 points chart | at the alarm | clear |
| shop.example.com raised no alert | website answering effect | 1 → 0chart | at the alarm | clear |
Investigation
Evidence:
- db-01 20:30:26.652Z: "Stopped postgresql.service" and "Stopped postgresql@16-main.service". At 20:30:26.7Z sessions, including shop@shop, were ended "due to administrator command".
- db-01 20:32:20Z: the postgres exporter still can't connect, failing with "/var/run/postgresql/.s.PGSQL.5432: no such file or directory".
- web-01 20:30:26Z:
GET /checkoutreturns 500. app-01 and app-02 log about 60 refused connections a minute.
Action: Start PostgreSQL on db-01 (systemctl start postgresql). The logs I checked don't show who stopped it, so look in auth.log or the shell history.
Statistics check: I agree with the statistics: db-01 was the first thing to change, and the 16 Oct incident had the same pattern (not confirmed by on-call). The TCP-resend rises they list are routine.
Written by claude-opus-5-5 from the evidence above.
Alerts in this incident
- WebErrorRateHigh on web-01 20:31 UTC
Runbook
The web server is answering requests with server errors (5xx): what is behind it is failing.
- Which status: 502 or 504 = the backend is down or too slow; 500 = the application itself failed (its log has the error).
- The web server's error log names the upstream (
journalctl -t nginxor /var/log/nginx/error.log); then that server's application log, and what it depends on (database, cache). - One backend of several: a single bad server behind the load balancer.
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
- None
3 AI turns · about $0.059