Flagsmith outage, 10 July 2024
Core API outage
- Started
- Resolved
- 9 Jul 2024, 23:30 UTC - reported afterwards
- Impact
- Not stated
Is this still happening?
No. Flagsmith marked this incident resolved.
Right now: Flagsmith reports all systems operational. (as of 1 Dec, 21:40 UTC) Live Flagsmith status
At a glance
- Flagsmith did not rate the impact of this incident.
- Flagsmith had 1 other incident in the 30 days before it.
- 3 earlier incidents look like the same kind of problem (same affected part or wording); the most recent was on 4 Jul 2024.
Our summary from the Flagsmith incidents we have recorded since 27 Feb 2023 - how we count.
What caused it: Flagsmith's root cause analysis
At around 23:35 UTC, July 9th we received an alert that our Core API was not responding. This resulted in our SaaS customers not being able to use the Flagsmith dashboard \([app.flagsmith.com](http://app.flagsmith.com)\). Customers SDK’s serving flags were not impacted for those using the Edge API. Please note, any customers still using our Core API to serve flags were also impacted. This number is limited as we have advised customers to migration to the Edge API starting in June 2022. Our team resolved the issue at 3:06 UTC, July 10th and the Core API was fully responsive. The root cause of the issue was a database running at maximum CPU caused by requests to an end point that triggered an inefficient query. We also had our load balancer consistently recycling unhealthy API tasks that also strained the system due to unnecessary database connections. These two items combined, resulted in the core API being unresponsive. We recovered the database by dropping all traffic and terminating all open connections. This allowed the database to be recovered and process traffic normally. We are mitigating future issues like this by doing the following: * Optimizing the query that was triggered that used too much CPU capacity \(note that this has been completed and deployed to our production SaaS environment\) * Add better alerting when inefficient queries are identified in the application * Improving our internal tools \(e.g. PagerDuty\) to improve response time of issue identification triggered by some team members being out of office
Last update from Flagsmith
At around 23:35 UTC, July 9th we received an alert that our Core API was not responding. This resulted in our SaaS customers not being able to use the Flagsmith dashboard \([app.flagsmith.com](http://app.flagsmith.com)\). Customers SDK’s serving flags were not impacted for those using the Edge API. Please note, any customers still using our Core API to serve flags were also impacted. This number is limited as we have advised customers to migration to the Edge API starting in June 2022. Our team resolved the issue at 3:06 UTC, July 10th and the Core API was fully responsive. The root cause of the issue was a database running at maximum CPU caused by requests to an end point that triggered a...
Read the full incident on the official Flagsmith status page
Similar Flagsmith incidents
Earlier incidents with the same affected part or wording - useful to see how long this kind of problem usually takes.
-
, resolved
-
, resolved
Core API is not respondingPostmortem
-
, resolved after 40 min
Other recent Flagsmith incidents
Something wrong on this page?
Thanks - your report is on its way to us. We read every one.