LLM Service Outage Postmortem: A 12-Hour Incident Technical Review
This article reviews a roughly 12-hour outage of a large language model chat service, explaining why LLM inference behaves differently from traditional web services in capacity planning, dependency chains, and recovery. It walks through a plausible failure chain behind the initial fix and the later relapse, then provides an actionable reliability checklist covering queue-aware monitoring, tiered rate limiting and graceful degradation, capacity planning for long-tail requests, retry and timeout governance, and multi-zone disaster recovery drills. It closes with practical advice for application teams on the consumer side.
1. Incident Background: A Service Disruption Lasting About 12 Hours
On the night of March 29, a large number of users reported that an AI chat service was unavailable. Both the web and mobile clients showed “server busy” style messages, and no new conversations could be started. According to the public incident description, the platform detected anomalies in the web and mobile services at 21:35 that evening and began investigating. Service partially recovered at 23:23, but performance degraded again at 00:20 the next day, with full recovery only around 10:00 in the morning. The total impact lasted roughly 12 hours, spanning two typical traffic windows: late night and the morning peak.
For developers, the value of an incident like this is not in watching from the sidelines but in the postmortem: why did a failure that appeared to be fixed come back a second time? What are the fundamental differences between LLM inference services and traditional web services in terms of capacity models, dependency chains, and recovery strategies? The following sections break this down layer by layer from a technical perspective.
2. Why LLM Services Are More Prone to “Busy” Errors
1. Uneven Request Cost Makes Capacity Hard to Estimate Linearly
A single request in a traditional web service has relatively stable latency, so adding replicas yields an approximately linear increase in throughput. LLM inference is different: per-request cost varies enormously. Input length, output length, whether a long chain of reasoning is triggered, and whether the request hits a cache can all cause order-of-magnitude differences in latency and GPU memory usage. A small number of very long requests can occupy inference slots for extended periods, causing queueing delay to amplify quickly, which surfaces on the frontend as “server busy.”
2. GPU Memory Is a Hard Constraint, and Batching Has a Ceiling
Inference requires both model weights and intermediate activations to reside in GPU memory at the same time. To improve throughput, engineering practice commonly uses continuous batching to combine multiple requests into one batch, but batch size is constrained jointly by memory capacity and context length. When long-context requests arrive in a burst, the available batch space shrinks, effective concurrency drops, and the queue backs up rapidly.
3. Long Dependency Chains Cause Cascading Failures
A single chat request typically passes through the access layer, authentication and quota checks, session management, retrieval-augmented generation, the inference cluster, content safety filtering, and logging and metering. Any slow stage applies backpressure upstream and forms cascading timeouts. If both the client and the gateway are configured with aggressive retry policies, a “retry storm” can turn a local overload into a global avalanche.
3. A Typical Walkthrough of the Failure Chain
Based on the public information, a reasonable walkthrough is possible (the following is a generic technical analysis, not an official conclusion):
- A traffic spike or a burst of long requests pushes queueing delay up in the inference cluster;
- Gateway-side timeouts trigger retries, amplifying request volume a second time;
- Some nodes are evicted or restarted under memory pressure, reducing capacity further;
- The first response uses rate limiting and scaling to briefly stabilize metrics, but the root cause (such as slow-request pileup, cache invalidation, or an incomplete configuration rollback) remains;
- Traffic patterns shift from night into early morning, and the backlog is released in a burst, producing the second anomaly at 00:20;
- Combined with the morning peak, full recovery only comes at 10:00 after the backlog is cleared and capacity is fully restored.
This chain explains why a single fix does not prevent a relapse: mitigation and root-cause repair are not the same thing.
4. An Actionable Reliability Checklist
1. Monitoring and Alerting Must Cover “Queueing,” Not Just “Liveness”
Checking only whether the process is alive or whether the API returns 200 cannot reveal overload. At minimum, collect: queue wait time, time to first byte, per-request token throughput, batch size and GPU memory usage, number of rejected requests, and retry rate. An illustrative metric structure:
service.online_status # liveness probequeue.wait_seconds{priority} # queue wait time, bucketed by priorityinference.batch_size # actual batch sizeinference.kv_cache_usage_ratio # GPU memory / cache usage ratiogateway.retry_ratio # share of retried requestsgateway.reject_total{reason} # distribution of rejection reasons
Alerts should fire on a combined condition of “queue wait time + rejection rate” to avoid noise from single-metric jitter.
2. Tiered Rate Limiting and Graceful Degradation
Move rate limiting away from a one-size-fits-all approach to tiers: set different quotas by user tier, request length, and whether output is streamed; put extra-long context requests in a separate queue or make them asynchronous. Degradation paths should be designed in advance and drilled, for example:
if queue_wait > T1 or reject_rate > R1:enable_short_context_only() # allow short context onlydisable_long_chain_reasoning() # turn off long chain-of-thoughtserve_cached_or_smaller_model() # fall back to a smaller model or cached resultsreturn_friendly_busy_message() # clearly tell users to retry later
The key is to make degradation a “controlled slowdown” rather than an “uncontrolled outage.”
3. Capacity and Elasticity: Reserve Headroom for Long-Tail Requests
Capacity planning cannot be based on average token length; it should use load testing at P95/P99 lengths and reserve a dedicated resource pool for long requests. Elastic scaling must account for cold-start time: loading weights and warming up an LLM instance takes time, and if you wait until the queue is full before scaling, the incident will already have happened before scaling completes. A combination of “predictive scaling + a minimum number of always-on replicas + fast warm-up images” works well. On the cloud, this can typically be implemented by combining a container platform, object storage (for model weights), a message queue (for peak shaving and asynchronization), and logging and monitoring/alerting capabilities.
4. Retry and Timeout Governance
Retries must use exponential backoff with jitter and a retry budget to avoid global retry amplification:
retry_budget = 0.1 * request_rate # retries no more than 10% of total trafficbackoff = min(cap, base * 2^attempt) * random_jitter()
Also set differentiated timeouts for each stage, ensuring that an upstream timeout is shorter than the downstream total budget, to prevent “layer-by-layer waiting.”
5. Disaster Recovery and Drills
A single-availability-zone deployment cannot withstand facility-level problems. Deploy the inference cluster across multiple availability zones, with traffic scheduling and failover. Run chaos drills regularly that simulate node eviction, slow dependencies, and cache invalidation, and verify that the degradation switches actually work. Drill records should feed into the postmortem to close the loop.
5. Recommendations for Consumers
For enterprise and developer users, three things are worth doing on the application side: first, implement retries with backoff and idempotency controls to avoid duplicate submissions; second, turn critical paths into asynchronous tasks and use a message queue to buffer peaks; third, prepare an abstraction layer over a backup model or backup provider, using a unified interface to hide differences so traffic can switch quickly when the primary path is unavailable. This way, even a multi-hour upstream disruption leaves the business in a “available but degraded” state.
6. Conclusion
The roughly 12-hour disruption is a reminder that LLM service reliability is a systems engineering problem. The core is to treat “queueing and capacity” as first-class citizens, replacing reactive firefighting with tiered rate limiting, drillable degradation, long-tail-oriented capacity planning, and multi-zone disaster recovery. While the industry widely anticipates a leap in the capabilities of the next generation of models, the underlying availability engineering that supports those capabilities deserves equal investment. Teams with related needs may also look at the general capabilities of Baidu AI Cloud in areas such as container platforms, monitoring and alerting, and logging services, to build their own elasticity and disaster recovery systems.
