Cases2 cases
1 to 2 of 2
IL-0387Mailgun MongoDB secondaries were overloaded by rising connections, and a rollback then moved reads onto the primary tooMailgun2017- Symptoms
On 12 January 2017 at 14:09 UTC, Mailgun engineers began responding to alerts for the click and open tracking services and the primary MongoDB clusters in one production region. Within ten minutes the engineers found that the MongoDB secondary servers, which serve most reads, were under heavy load and slow to answer, which also caused the tracking errors. The status page reported intermittent timeouts on the Control Panel, API, SMTP and tracking links.
- Trigger
A gradual increase in connections to the MongoDB secondary servers, which coincided with several MongoDB configuration changes made the day before. A rollback of those changes then also introduced, by mistake, a change that moved the API and SMTP services from the secondaries to the primary.
- Root cause
- Component
- Contributing factor
- Detection
Alerts for the click and open tracking services and the primary MongoDB clusters at 14:09 UTC.
- Remediation
- Rolled back the previous day's MongoDB configuration changes through several pull requests from 15:15 UTC
- Resized the MongoDB servers to handle more connections
- Deployed connection limits at the MongoDB server level
- Limited the number of connections the services could open to the MongoDB primary
- Redeployed the configuration that makes services prefer secondary servers for reads
- Action items
- Run the tracking infrastructure across two independent regions
- Limit the number of connections every service can open to the database
- Permanently increase the size of the primary Mongo cluster and roll the change out to the other data centers
- Let click redirection keep working when downstream services fail
IL-0590F5 load balancers cached a path MTU of 296 after Rackspace reboots, and Mailgun connections failed intermittentlyMailgun2014- Symptoms
On Saturday, September 27, 2014 at 6:50 p.m. UTC, Mailgun saw that all its database replicas and the internal traffic between its environments in all regions were broken and reporting timeouts. Once Rackspace began rebooting cloud instances in its Chicago data center (ORD), Mailgun customers had intermittent connection failures.
- Trigger
Rackspace, Mailgun's parent company and hosting provider, rebooted cloud instances in its Chicago data center (ORD), and the cloud maintenance triggered an error condition on Mailgun's F5 load balancers.
- Root cause
- Component
- Contributing factor
- –
- Detection
Mailgun noticed at 6:50 p.m. UTC on September 27 that all database replicas and the internal traffic between its environments were broken and reporting timeouts.
- Remediation
- The Rackspace networking team cleared the cached path MTU on Mailgun's F5s and on some Rackspace dedicated customers' F5s
- Set up a new virtual IP for Mailgun services
- Changed Mailgun's DNS settings, which forced the remote F5s to clear their caches
- Action items
- Finish the root cause analysis of the F5 path MTU problem with Rackspace
- Make sure maintenance of Mailgun's cloud infrastructure has no impact on Mailgun customers
These 2 cases involve Cloud load balancer and Database. kubegap audits a Kubernetes cluster for gaps like these, read-only, from Claude Code or Codex; its checks cite public reports like the ones in this library.
By root cause2
unknown1 case
- Component
- Contributing factor
- Organisation
DNS or network fault1 case
- Contributing factor
- –
- Organisation