Runbook Automation Database Connectivity Issue
This summary is created by Generative AI and may differ from the actual content.
Overview
On June 25th, 2024, from 19:41 to 22:38 UTC, PagerDuty Runbook Automation experienced an incident due to the database server concurrent connection limit being reached. This affected a few Runbook Automation SaaS customers in the US service region, causing periodic database connectivity issues, job failures, and service unavailable responses. The incident was resolved by removing data from temporary tables, which normalized connection levels by 22:38 UTC.
Impact
A few Runbook Automation SaaS (cloud) customers in the US service region experienced periodic database connectivity issues, job failures, and service unavailable responses (502 or 503) during the incident period.
Trigger
The incident was triggered by the deployment of a new version of Runbook Automation, which led to elevated resource usage on the database server and eventually reached the maximum number of database connections.
Detection
The on-call was paged at 19:49 UTC due to elevated resource usage on the database server. Further alerts were received at 21:25 UTC, indicating a large volume of data being written to temporary tables and exhausting database connections.
Resolution
The incident was resolved by removing data from temporary tables, which normalized connection levels by 22:38 UTC. Additional corrective actions include adding metrics and monitoring, rolling out updates in smaller batches, and increasing database size for more connections.
Root Cause
The root cause was the deployment of a new version of Runbook Automation, which led to elevated resource usage and a large volume of data being written to temporary tables, exhausting the database connections.
