Incident library
What broke, and what we learned
Real outages from real companies, each in a few lines: what users saw, the root cause and the lesson. Every card links to the company’s own postmortem.
45 incidents
- GitHub · 30 Oct 2026
GitHub requests fail when a shared database connection pool runs out
- What broke
- Some github.com requests hung for up to about 10 seconds and then failed. At the worst point, about 43% of pull request merge attempts failed, and about 3.5% of API calls.
- Why
- A database connection pool shared by many services was already near its limit. Some update requests began a write, then ran a lookup that could take several seconds, holding their connections unused. The pool ran out, and new requests failed when the connection timeout expired.
- Lesson
- Hold a pooled connection only while you use it. Do slow work before you borrow one, and watch how long connections stay checked out.
databasesconnection-poolingoverload - GitHub · 1 Apr 2026
GitHub code search down, then hours out of date
- What broke
- Code search failed every query from 14:40 to 17:00 UTC. It came back with results that missed repository changes made after about 07:00 UTC, and was fully current at 23:45 UTC.
- Why
- An automated change during a messaging-system upgrade broke coordination between internal services and halted search indexing. An unintended deployment during recovery then cleared internal routing state.
- Lesson
- A search index is a derived copy. Nothing in Git was lost, so the fix was to reset the index to a point before the problem and index again from there.
searchread-modelsindexing - Discord · 25 Mar 2026
Discord voice and video outage: message queues grew faster than they drained
- What broke
- From 12:13 to 15:30 PDT, voice and video were badly degraded. Most users could not start or join calls and saw "Awaiting Endpoint".
- Why
- A config change stopped 17% of sessions without a clean handoff. The reconnect flood passed a rate limit that had not been re-tuned, gateway nodes in one zone began to run out of memory, and process mailboxes in the voice syncers grew until their health reports to etcd stopped arriving and they dropped out of service discovery.
- Lesson
- Every queue needs a limit and an owner. Retune the limits that provide backpressure after any migration, and watch queue length.
queuesoverloadbackpressure - Cloudflare · 5 Dec 2025
Cloudflare outage: a global config change hit an old bug
- What broke
- For about 25 minutes, about 28% of the HTTP traffic Cloudflare served got 500 errors.
- Why
- While adding protection for a React security flaw, a change turned off an internal test tool. It went out through a global config system in seconds and hit a years-old bug in the older proxy.
- Lesson
- Config systems that reach every server in seconds need the same gradual rollout and health checks as code.
configdeploys - Cloudflare · 18 Nov 2025
Cloudflare outage: a feature file grew too big
- What broke
- For several hours, many sites behind Cloudflare showed 5xx error pages, and dashboard logins and Access sign-ins also failed.
- Why
- A database permission change made a query return duplicate rows, so a generated feature file doubled in size. The proxy had a hard limit on features and crashed when the file went over it.
- Lesson
- Treat files your own systems generate like user input: check them, roll them out slowly, and keep a kill switch for each feature.
configdatabasedeploys - Amazon Web Services · 20 Oct 2025
AWS DynamoDB outage: an empty DNS record in us-east-1
- What broke
- DynamoDB in us-east-1 refused new connections for about three hours, and EC2 launches, load balancers, Lambda and many other services failed for much of the day.
- Why
- A race between two copies of the DNS automation let an old plan overwrite a newer one. Cleanup then deleted it, which left the DynamoDB endpoint with no IP addresses.
- Lesson
- Automation that writes critical records must refuse stale changes, and you must plan for recovery backlogs that last longer than the first fault.
dnsdependenciescapacity - Cloudflare · 14 Jul 2025
Cloudflare 1.1.1.1 outage: an old config mistake woke up
- What broke
- For 62 minutes, the 1.1.1.1 DNS resolver was down worldwide, so most of its users could not look up names and most websites seemed broken.
- Why
- A config change in June wrongly tied the 1.1.1.1 addresses to a non-production service. A later, unrelated change refreshed that config and withdrew the addresses everywhere.
- Lesson
- Check the full result of a change, not only the lines you edited, because old mistakes can wait for an unrelated trigger.
configdnsnetworking - Cloudflare · 12 Jun 2025
Cloudflare outage: a storage provider failure broke many products
- What broke
- For about two and a half hours, Workers KV failed most requests, and products built on it, such as Access logins, WARP and the dashboard, also failed.
- Why
- Part of the storage behind Workers KV ran on a third-party cloud that had its own outage. Many Cloudflare products depended on KV, so the failure spread.
- Lesson
- Know what your core services depend on, and do not let them rely on one outside store with no backup.
dependencies - Google Cloud · 12 Jun 2025
Google Cloud outage: blank policy fields crashed API checks
- What broke
- For hours, many Google Cloud and Workspace APIs returned 503 errors across the world, touching 76 Cloud products.
- Why
- New quota code had no feature flag and no null check. A policy with blank fields copied to every region in seconds and made the API checker crash again and again.
- Lesson
- Put new code paths behind a flag, check data that is copied everywhere, and add backoff so restarts do not overload a shared database.
configdeploysretries - Heroku · 10 Jun 2025
Heroku outage: an unplanned OS update cut network routes
- What broke
- Many Heroku customers had failed logins and broken apps, some for up to 24 hours, and the status page was slow and wrong.
- Why
- An automatic OS update that should have been off restarted networking on hosts. Routes were only set at first boot, so they were lost, and status tools ran on the same hosts.
- Lesson
- Turn off unplanned updates in production, and run your status page and incident tools on separate systems.
deploysnetworkingobservability - ruby-saml (open source), GitLab · 12 Mar 2025
ruby-saml: two XML parsers disagreed, so anyone could sign in as anyone
- What broke
- Critical bugs in ruby-saml up to 1.17.0 let an attacker with one valid signed SAML document forge an assertion for any user and log in as them. GitHub's researchers found an exploitable instance in GitLab, which shipped a critical patch.
- Why
- Signature checking used two different XML parsers. A crafted document made them pick different signature elements, so the check passed on content that was never really signed.
- Lesson
- Read the user only from the exact element whose signature you verified, use a maintained SAML library, and patch it fast.
securityauthentication - CrowdStrike · 19 Jul 2024
CrowdStrike outage: a content update crashed Windows hosts
- What broke
- Windows machines running the Falcon sensor crashed to a blue screen, and many needed manual fixes to start again.
- Why
- The content expected 21 input fields, but the sensor supplied only 20. The sensor read past the end of its input array and crashed, and a validator bug let the content through.
- Lesson
- Content and config updates can crash systems just like code, so check their shape, test them on a few machines first, and roll out slowly.
configdeploystesting - xz-utils (open source) · 29 Mar 2024
xz/liblzma: a backdoor hidden in release tarballs reached the SSH server
- What broke
- xz versions 5.6.0 and 5.6.1 carried a backdoor in liblzma. On some Linux distributions it was loaded into the SSH server and made logins slow, which is how a developer found it.
- Why
- The release tarballs held a build-script line that was not in Git. It ran a hidden script at build time that pulled code from test files. OpenSSH loaded liblzma indirectly, through a systemd patch.
- Lesson
- Check that what you install was built from the source you reviewed, and remember that a dependency of a dependency runs with your full power.
securitysupply-chain - Cloudflare · 2 Nov 2023
Cloudflare outage: one data centre lost power
- What broke
- For hours, the Cloudflare dashboard and APIs failed, and logs and analytics were down for almost two days, though customer traffic kept flowing.
- Why
- A power failure took out one data centre. Some services meant to survive that still depended on systems that ran only there, and losing the whole site had never been tested.
- Lesson
- Prove high availability by turning off a whole site in a test, and do not let new services skip the rules.
dependenciestestingcapacity - GitHub · 15 Aug 2023
GitHub webhooks delayed by up to 4.5 hours
- What broke
- For about four and a half hours, webhook deliveries waited in an internal job queue. Some customers got their webhooks up to 4.5 hours late.
- Why
- A large, sustained spike in webhook deliveries backed up the internal job queue used to process webhooks.
- Lesson
- Webhooks can arrive hours late, so receivers need a way to catch up, and senders need to stop one load source from slowing everyone.
webhooksqueuesoverload - Microsoft · 16 Jun 2023
Storm-0558: a consumer signing key opened enterprise mailboxes
- What broke
- An attacker read Exchange Online mail at 22 organizations and 503 personal accounts with forged tokens, including about 60,000 emails from the US State Department.
- Why
- The tokens were signed with a stolen 2016 consumer key. A shared key endpoint listed consumer and enterprise keys together, and token-checking libraries did not tell them apart, so enterprise mail accepted consumer-signed tokens. How the key was stolen is still unknown.
- Lesson
- Mark the trust boundary between systems that share key or login infrastructure, and check on every request that a token was issued for this side.
securityidentitythreat-modelling - Ezypay · 16 May 2023
Ezypay charged some direct debit customers two or four times
- What broke
- Some Australian customers' regular direct debit payments were processed twice, and some four times. Ezypay reversed each duplicate within 24 hours.
- Why
- A batch billing service must run as one instance. During a rolling deploy, a badly handled exception while taking its lock let two instances run, and a batch file with duplicated debits slipped past a skipped reconciliation check.
- Lesson
- A lock that tries to make work start once is not enough. Check at the end that each payment happens once, and reconcile every file before it leaves.
paymentsduplicatesbatchdeploys - OpenAI · 20 Mar 2023
ChatGPT: a Redis client bug showed some users other users' data
- What broke
- Some ChatGPT users saw chat titles from other active users, so ChatGPT was taken offline. Later checks found some Plus users' payment details (no full card numbers) may also have been visible to others.
- Why
- In the asyncio redis-py client, a request cancelled after it was sent left its reply on a pooled connection. A server change caused a spike in cancellations, and later requests read other users' cached data.
- Lesson
- A shared connection that gets out of step returns the wrong data, so drop it on cancel and check that cached data belongs to the caller.
cacheredisprivacy - Reddit · 14 Mar 2023
Reddit Pi-Day outage: a Kubernetes upgrade renamed a label
- What broke
- For 314 minutes, Reddit showed error pages or empty home pages to people trying to use it.
- Why
- The upgrade to Kubernetes 1.24 removed an old node label. The network config used that label to pick its route reflectors, so cluster networking broke.
- Lesson
- Read upgrade notes for removed names, test upgrades on clusters like production, and practise rollback before you need it.
deploysnetworkingconfig - Datadog · 8 Mar 2023
Datadog outage: an automatic OS update broke networking
- What broke
- For about a day, Datadog was down in five regions, so users could not reach the site or APIs and monitors did not alert.
- Why
- An automatic security update restarted a network service on tens of thousands of nodes. The restart deleted container network routes, and the update window was the same in every region.
- Lesson
- Control background updates like any other deploy, because regions that share images and settings can fail together.
deploysnetworkingconfig - Cloudflare · 2 Feb 2023
Cloudflare wrongly throttled one customer's traffic
- What broke
- Cloudflare throttled one customer's traffic to its origin server, and the website became unusable. The throttle stayed on for almost 13 hours (12 hours 53 minutes).
- Why
- The site's traffic spike filled a shared network link to an internet exchange. An unapproved manual throttle was then applied, and support wrongly thought the customer had broken the terms.
- Lesson
- Actions that limit a customer need a clear process, more than one approval and a message to the customer.
capacityhuman-error - CircleCI · 4 Jan 2023
CircleCI security incident: customer secrets stolen from production
- What broke
- An attacker copied customers' environment variables, keys and tokens from CircleCI's production systems, and CircleCI told every customer to rotate all their secrets.
- Why
- Malware on one engineer's laptop stole a valid single sign-on session. That engineer could create production access tokens, and the attacker took encryption keys from a running process, which could let them read the encrypted data.
- Lesson
- Keep long-lived secrets out of shared stores where you can, prefer short-lived credentials, and be ready to rotate everything fast.
securitysecretsci-cd - Atlassian · 5 Apr 2022
Atlassian outage: a cleanup script deleted 883 sites
- What broke
- 775 customers lost access to Jira, Confluence and other Atlassian products, and some waited up to 14 days for their sites to come back.
- Why
- A script meant to remove one old app was given site IDs instead of app IDs. The API accepted either kind, so it deleted whole sites.
- Lesson
- Make delete APIs check what they are deleting, prefer soft delete, and be able to restore one customer quickly.
data-losshuman-errortesting - Slack · 22 Feb 2022
Slack: emptied cache nodes turned each miss into a query on every database shard
- What broke
- Many users could not connect to Slack, because client boot requests failed under heavy database load.
- Why
- A Consul agent upgrade made Memcached nodes leave service discovery, so the cache control plane swapped in empty nodes and the hit rate dropped. Each miss on group DM membership queried every database shard, those queries timed out, and the cache could not refill.
- Lesson
- A cache that empties faster than it can refill can push the database into overload, so limit cache churn and make misses cheap.
cachememcacheddatabasecascading-failure - Amazon Web Services · 7 Dec 2021
AWS us-east-1 outage: a connection storm on the internal network
- What broke
- For several hours, many AWS services in us-east-1 had errors, including EC2 APIs, the console, Route 53 APIs and STS.
- Why
- An automatic capacity change caused a flood of connections that overloaded internal network devices. A hidden bug stopped clients from backing off, so retries kept the congestion going.
- Lesson
- Retries must back off. If clients retry without waiting, a small overload can turn into a long outage.
retriescapacitynetworking - GitHub (npm) · 2 Nov 2021
npm: a publish was authorized for one package and applied to another
- What broke
- A bug bounty report showed that an attacker could publish new versions of any npm package from an account without proper authorization. GitHub patched it within six hours.
- Why
- The authorization service checked the package named in the request URL, but the publishing service chose the package from the contents of the uploaded file.
- Lesson
- Check permission on the same object the action will change, not on a second copy of the request that may disagree.
securityauthorization - Roblox · 28 Oct 2021
Roblox outage: 73 hours down after Consul broke
- What broke
- Roblox was fully down for most of 73 hours, and players came back in steps only on the fourth day.
- Why
- A new streaming feature in Consul and a slow path in its BoltDB storage made Consul fail under load. Almost every service, including monitoring, depended on that one Consul cluster.
- Lesson
- Do not put everything on one coordination system, and keep monitoring separate from the systems it watches.
dependenciesconsensusobservability - Meta (Facebook) · 4 Oct 2021
Facebook outage: a maintenance command cut off every data centre
- What broke
- Facebook's services could not be reached from the internet, and even DNS lookups for its names failed.
- Why
- A maintenance command took down the whole backbone network, and a bug in the audit tool failed to stop it. DNS servers then withdrew their routes, and remote access tools were down too.
- Lesson
- Safety checks need their own tests, and the tools you use to fix an outage must not depend on the network that is down.
networkingdnsdependencies - Fastly · 8 Jun 2021
Fastly outage: a valid customer config hit a hidden bug
- What broke
- About 85% of Fastly's network returned errors, so many large websites failed to load for most of an hour.
- Why
- A deploy in May added a bug that stayed hidden. A valid customer config change in June hit the exact conditions that triggered it.
- Lesson
- Hidden bugs can wait weeks for a trigger, so test many config combinations and be able to turn things off everywhere fast.
configtestingdeploys - Slack · 4 Jan 2021
Slack outage: post-holiday traffic overloaded a cloud network link
- What broke
- On the first work day of 2021, Slack was down and then slow for about three and a half hours.
- Why
- A surge of traffic overloaded the AWS Transit Gateways that link Slack's networks, so packets were dropped. Autoscaling then tried to add 1,200 servers, which hit limits and made things worse.
- Lesson
- Autoscaling can make an outage worse, and your cloud provider's limits are part of your capacity plan.
capacitynetworkingobservability - Cloudflare · 2 Nov 2020
Cloudflare outage: a half-broken switch stalled etcd and set off database promotions
- What broke
- For 6 hours and 33 minutes, the Cloudflare API and dashboard were degraded. API success fell as low as 75%, and the dashboard was up to 80 times slower.
- Why
- A partly failed switch cut one etcd node off from the leader. Repeated elections made etcd read-only, so two database clusters could not confirm their primary and promoted a replica. A bug then forced a rebuild of all replicas.
- Lesson
- Automatic failover should not fire just because the coordination service is sick, and a promotion must not leave the new primary alone under full load.
consensusdatabasenetworking - Monzo · 29 Jul 2019
Monzo outage: new Cassandra servers answered reads with no data
- What broke
- From about 13:10, some customers could not log in, make payments or see correct balances. Most were fixed by 15:08, and all by 23:00.
- Why
- Six new Cassandra servers joined with auto_bootstrap set to false. They took ownership of some data before any of it was copied to them, so some data appeared to be missing when it was read.
- Lesson
- A quorum only helps if the replicas in it hold the data. Test topology changes at the same scale as production.
databasereplication - Cloudflare · 2 Jul 2019
Cloudflare outage: one regex used all the CPU
- What broke
- For about 27 minutes, visitors to Cloudflare sites around the world got 502 errors, and Cloudflare lost about 80% of its traffic.
- Why
- A new firewall rule had a regex that backtracked badly. It was pushed to every server at once, and it used all the CPU that serves web traffic.
- Lesson
- Roll out rule and config changes in stages like code, and use a regex engine that cannot run forever.
configdeploystesting - Google Cloud · 2 Jun 2019
Google Cloud outage: maintenance stopped network control in many sites
- What broke
- For three to four hours, several US and South American regions had heavy packet loss, and Compute Engine, Cloud Storage and YouTube were hit.
- Why
- A bug in maintenance automation stopped network control jobs in several places at once instead of one. Routes were withdrawn, and the lost config had to be rebuilt.
- Lesson
- Automation must limit how much it can change at once, and the network's control system should not depend on the network it runs.
networkingconfigcapacity - Mailchimp (Mandrill) · 4 Feb 2019
Mandrill outage: one Postgres shard stopped writes to avoid transaction ID wraparound
- What broke
- Mandrill, Mailchimp's transactional email service, sent only about 80% of queued email for about 40 hours, and its queues were back to normal about 43 hours after the start.
- Why
- Autovacuum on one busy Postgres shard fell behind or failed, the transaction IDs reached their limit, and the database went into safety shutdown mode. A vacuum of the shard, whose two largest tables were terabytes in size, was estimated to take up to 40 days.
- Lesson
- Monitor transaction ID age on every Postgres database and alert long before the limit, and know which large tables you could truncate in an emergency.
databasepostgresvacuum - GitHub · 21 Oct 2018
GitHub outage: a 43-second network cut caused a day of trouble
- What broke
- For about 24 hours, GitHub showed stale or wrong data, and webhooks and Pages builds were delayed.
- Why
- A 43-second network break made the database tool fail over to the other coast. Writes then existed on both sides and could not be merged back fast.
- Lesson
- Automatic failover must know your network layout, and keeping data correct matters more than coming back fast.
databasenetworkingconsensus - Monzo · 27 Oct 2017
Monzo outage: stale proxy routes, then a restart of every proxy
- What broke
- Current account payments failed for about 80 minutes, and for the last 18 minutes the whole platform, including the app, was down.
- Why
- A Kubernetes and etcd client bug stopped linkerd from getting routing updates. Restarting every linkerd proxy then hit a parsing bug on an empty service, and no traffic flowed.
- Lesson
- A proxy layer on every call can fail everything at once, so never restart all of it at the same time.
service-meshnetworkingdependencies - Amazon Web Services · 28 Feb 2017
AWS S3 outage: one wrong input removed too many servers
- What broke
- For about four hours, S3 in us-east-1 could not serve requests, and services that need S3, such as EC2 launches and Lambda, also failed.
- Why
- A playbook command to remove a few billing servers had one wrong input and removed far more, including servers S3 needs to find objects. Restarting them took hours.
- Lesson
- Tools that remove capacity must work slowly and refuse to go below a safe minimum, because one typo should not take down a region.
human-errorcapacity - GitLab · 31 Jan 2017
GitLab outage: the primary database was wiped by mistake
- What broke
- GitLab.com was down for about 18 hours, and about six hours of database changes, such as issues, comments and new accounts, were lost.
- Why
- While fixing broken replication, a command meant for the secondary database ran on the primary and deleted its data. Several backup methods were broken or had never been set up, and nobody had noticed.
- Lesson
- A backup you have never restored is not a backup, so test restores often and alert loudly when a backup job fails.
data-lossdatabasehuman-error - Cloudflare · 1 Jan 2017
Cloudflare DNS outage: a leap second made a time difference negative
- What broke
- From midnight UTC until 06:45 UTC, some DNS lookups for customers using CNAME records failed. At peak, about 0.2% of DNS queries were affected.
- Why
- RRDNS measured upstream response times with Go's time.Now(). When time went backwards at the leap second, the value went negative, and rand.Int63n panicked on it.
- Lesson
- Measure durations with a monotonic clock, and never assume one wall-clock reading is later than an earlier one.
timedns - Amazon Web Services · 20 Sept 2015
AWS DynamoDB outage: storage servers could not get their partition lists
- What broke
- DynamoDB in US-East returned errors for about five hours, with errors settling at about 55% of requests, and SQS, EC2 Auto Scaling, CloudWatch and the AWS Console were hit too.
- Why
- Global secondary indexes had made each storage server's partition list much bigger. After a short network blip, many servers asked the metadata service for their lists at once, timed out, dropped out and retried.
- Lesson
- Watch the size of internal data that grows with your features, and have a way to stop retries so an overloaded dependency can recover.
retriescapacitydependencies - Flexcoin · 2 Mar 2014
Flexcoin: a race in balance transfers emptied the hot wallet
- What broke
- An attacker took 896 BTC, all the coins in Flexcoin's hot wallet, and the exchange closed the next day.
- Why
- Thousands of transfer requests sent at the same moment moved coins out of an account before its balance was updated, so the account went overdrawn.
- Lesson
- A balance check and the write that follows must be one atomic step, or the row must be locked between them.
databaseconcurrencymoney - GitHub · 10 Sept 2012
GitHub outage: health checks failed a busy database over, then back
- What broke
- GitHub's main MySQL database role moved between servers twice in one day, and the site was slow until the new server's cache warmed up.
- Why
- A database migration put unusual load on the primary, so the cluster manager's health checks failed on it. The automatic failover picked a server with a cold cache, whose health checks then failed too.
- Lesson
- A health check that fails under load can move work onto a weaker server. Treat busy and dead as different things before you fail over a database.
databasefailoverhealth-checks - Knight Capital · 1 Aug 2012
Knight Capital: a missed server lost over $460 million in 45 minutes
- What broke
- In about 45 minutes after the market opened, Knight's trading system sent millions of unwanted orders and lost more than $460 million.
- Why
- A manual deploy left old code on one of eight servers. The new code reused a flag that once turned on that old code. The old code could no longer see that its orders were filled, so it kept sending new ones.
- Lesson
- Automate deploys and check every server runs the same version, never reuse old flags, and have a fast kill switch for systems that move money.
deploysconfighuman-error - PostgreSQL user (pgsql-admin mailing list) · 20 Apr 2009
Forgotten prepared transactions stop a PostgreSQL server
- What broke
- A PostgreSQL 8.2.9 test server with 315 databases refused all commands to avoid transaction ID wraparound, and VACUUM did not fix it.
- Why
- Prepared transactions from two-phase commit had been left open since July 2008. The admin did not know they existed, and they blocked VACUUM. What created them was never confirmed.
- Lesson
- A prepared transaction lives until someone commits or rolls it back. Disable the feature unless a transaction manager owns it, and alert on old ones.
databasepostgrestwo-phase-committransactions