LLM Service Outage Postmortem: How a 10-Hour Multi-Model Disruption Unfolded and How to Build Resilience
This article walks through a real large language model (LLM) service outage that escalated from an infrastructure disruption into a platform-wide, multi-model failure lasting nearly ten hours. It breaks down the four-stage failure chain—regional data center loss, control plane collapse, data plane overload, and recovery-time secondary failures—and explains why naive client retries amplify outages, with a Python exponential backoff example. It then provides a resilience checklist covering multi-AZ and multi-region deployment, fault isolation and bulkheads, fallback strategies, observability, and drills, plus YAML health check and circuit breaker examples, to help teams compress recovery from hours to minutes.
1. Incident Overview: How an Infrastructure Blip Became a Full Outage
One evening in early March, a large model platform began to misbehave: the web chat entry point, the developer console, and an AI coding assistant all saw error rates spike almost simultaneously. The on-call engineer initially assumed a routine failure in the user session path (login/logout) and scoped the investigation to the identity and session modules. But soon the model inference APIs began failing at scale, and the blast radius expanded from the “control plane” to the “data plane.”
The system status fluctuated several times. The main service briefly recovered shortly before midnight, but in the early morning the core large model began throwing errors in bulk again, followed by issues with a separate lightweight model. Things did not fully stabilize until dawn. The whole event lasted nearly ten hours and spanned the platform itself plus multiple models.
Tracing the root cause: that night in early March, a core data center operated by a cloud provider in an overseas region was struck by an unidentified object. Sparks and a fire broke out on site, and the fire department cut power directly. The cloud provider’s notice stated that one availability zone (AZ) experienced sparks and a fire caused by the object’s impact; other AZs in the same region remained available, but restoring connectivity to the damaged AZ took several hours. Beyond this AI platform, multiple other online services were affected as well.
The first conclusion from this timeline: the availability of an LLM service is not determined by the model alone, but is locked in by three factors working together—regional infrastructure, cross-layer dependencies, and capacity headroom.
2. The Failure Chain: Four Stages of Amplification from Data Center Power Loss to Model Unavailability
1. Regional Failure: An Availability Zone Is Not a Safe Box
An availability zone is designed to isolate single-data-center failures. But when an incident involves physical destruction and a fire-triggered power cut, what is affected is not just compute instances—it also includes network ingress, storage replicas, and dependent services within that AZ. If an application deploys all critical components in a single AZ, or has strong synchronous dependencies across AZ calls, the isolation capability breaks down.
2. The Control Plane Collapses First: Sessions and Auth Are the First Domino
Login, logout, and token validation typically depend on session storage and authentication services. When the AZ hosting these components is damaged, the control plane sees error rates rise first, and users experience “can’t log in, frequent disconnects.” If attention stays only on session logic at this point, the fault boundary will be misjudged.
3. The Data Plane Falls: Inference APIs Get Dragged Down by Capacity and Dependencies
Control plane anomalies trigger a client retry storm, and inference APIs—already running with tight capacity headroom—rapidly become overloaded. At the same time, if the vector retrieval, cache, object storage, and message queues that the model service depends on time out on cross-zone calls, thread and connection pools fill up, ultimately manifesting as “the models are failing across the board.”
4. Secondary Jitter: An Avalanche During Recovery
After the main service recovered, backlogged requests and a retry surge flooded in at the same time, maxing out the core model again; traffic was then scheduled to the lightweight model, which was also overwhelmed. This is a classic recovery-phase secondary failure, often harder to handle than the initial outage.
3. Why “Retries” Amplify Failures: A Minimal Example
Most clients use fixed-interval retries by default, which multiplies request volume during an outage. A more robust approach is exponential backoff + jitter + a budget cap:
import random, timedef call_with_backoff(fn, max_attempts=3, base=0.2, cap=2.0):for attempt in range(max_attempts):try:return fn()except Exception:if attempt == max_attempts - 1:raise# Exponential backoff + random jitter to avoid synchronized retry surgesdelay = min(cap, base * (2 ** attempt)) * (0.5 + random.random())time.sleep(delay)
There are three key points: first, set a maximum number of attempts to avoid infinite retries; second, add random jitter to spread out retry peaks; third, pair it with a circuit breaker so that when the backend keeps failing, requests fail fast, leaving capacity for requests that can actually succeed.
4. A Resilience Checklist: Compressing Ten Hours Down to Minutes
1. Multi-Region and Multi-AZ Deployment
- Deploy critical components across at least three AZs, with the control plane and data plane deployed separately;
- Reserve cross-region disaster recovery capability, with a clear data replication approach and switchover scripts;
- Plan capacity so that “after a single-region failure, the remaining capacity can still handle full traffic,” avoiding overload the moment you switch over.
2. Fault Isolation and the Bulkhead Pattern
- Partition resource pools and quotas by business line to prevent a single point of failure from triggering a global avalanche;
- Set independent concurrency limits and queues for different models so the core model is not crowded out by bypass traffic;
- Set timeouts and queue limits for long-tail requests to prevent connection pool exhaustion.
3. Fallback and Degradation Strategies
- When a model is unavailable, switch to a smaller model or a rules engine;
- Turn off non-critical capabilities (such as personalized recommendations and log analysis) directly to protect the main path;
- Give users clear messaging and a queuing mechanism to reduce duplicate submissions.
4. Observability and Incident Response
- Metrics: error rate, time to first token, end-to-end latency, queue length, retry rate, circuit breaker state;
- Logs: a unified request identifier threaded through the gateway, inference, and dependency calls for fast localization;
- Alerts: set thresholds on a “user-perceivable” dimension rather than only looking at single-instance metrics;
- Drills: regularly run three types of failure drills—AZ power loss, dependency timeouts, and capacity saturation.
An illustrative health check and circuit breaker configuration (pseudocode):
healthcheck:interval: 5stimeout: 2sunhealthy_threshold: 3circuit_breaker:error_rate_threshold: 0.5open_duration: 30shalf_open_requests: 5
5. Turning an Outage into an Asset: Postmortem Practices and a Baidu AI Cloud Reference
The real value of a ten-hour outage lies in producing reusable engineering assets. It is worth establishing a three-layer postmortem mechanism: a timeline review (aligning each anomaly point with its dependencies), a root cause review (distinguishing trigger factors from amplification factors), and a closed-loop improvement process (every improvement has an owner and acceptance criteria).
In a general cloud environment, you can build a resilience foundation using common capabilities such as log services, monitoring and alerting, object storage, message queues, and container platforms. Baidu AI Cloud likewise emphasizes general engineering practices such as multi-AZ and multi-region disaster recovery, fault isolation, and elastic scaling in its architecture design. Enterprises can use these to improve the resilience of their own intelligent applications, turning uncontrollable infrastructure incidents into predictable, drillable, and containable engineering capabilities.
