On Monday 4 January 2021, the first working day of the year for much of the world, Slack was unusable for about two hours and unreliable for more than an hour after that. The trigger was a piece of AWS networking that could not grow as fast as the traffic returning from the holidays. What makes the incident worth studying is everything that happened next: the autoscaler shrank the fleet and then tried to add 1,200 servers at once, the service that sets up new servers fell over, and the dashboards the engineers needed were unreachable for the same reason the product was.
It is a clean example of a cascading failure, where each automatic safety mechanism reacts sensibly to what it can see and the sum of those reactions is worse than the original fault.
What broke for users, and when
Slack published two accounts: a short root cause analysis report dated 14 January, and a longer engineering write-up on 1 February. Together they give the timeline below. All times are Pacific Standard Time, the zone both documents use.
| Time (PST) | What happened |
|---|---|
| about 06:00 | Packet loss begins between Slack's servers. Some customers see occasional errors and slowness. |
| 06:46 | Engineers are paged for a high error rate. Soon afterwards the dashboard and alerting service becomes unavailable. |
| 06:57 | 99% of messages are still being sent successfully. Slack says the normal figure is above 99.999%. |
| about 07:00 | The usual top-of-the-hour burst of traffic arrives on top of the network trouble. The web tier saturates and Slack becomes unavailable. |
| 07:01 to 07:15 | Automation tries to add 1,200 servers to the web tier. The provisioning service is overwhelmed. |
| 08:05 to 08:15 | The provisioning service is found to be out of open file handles. The limit is raised and it starts working again. |
| about 09:15 | Enough healthy web servers are in service. Slack is slow and error rates are raised, but most customers can work. |
| 10:40 | AWS finishes rolling out extra Transit Gateway capacity. Errors and latency return to normal. |
During the worst two hours, customers either could not load the Slack client at all or were shown an error page pointing them to the status page.
The network underneath: VPCs joined by a hub
Slack runs mainly on AWS. In its write-up, Slack explains that it began with everything in a single AWS account and later moved to running services in separate accounts and separate Virtual Private Clouds. A VPC is a private network inside the cloud provider with its own address range and routing rules. Splitting services across VPCs gives stronger isolation between them and finer control over which operators can touch what.
Separate networks still need to talk to each other. Slack connects its VPCs through AWS Transit Gateways. AWS describes a Transit Gateway as a network transit hub that interconnects VPCs and on-premises networks: each VPC attaches to the hub, and the hub routes packets between them. The alternative, connecting every pair of VPCs directly, needs a number of links that grows with the square of the number of networks, so a hub is the natural choice once there are many.
The cost of a hub is that it sits on the path of every cross-VPC packet. Transit Gateways are operated by AWS and are meant to scale without the customer doing anything. On 4 January one of Slack's gateways became overloaded and started dropping packets.
Slack's explanation is about the shape of its traffic. Usage is at its lowest over the holidays. On the first Monday back, everybody returns at once, and their Slack clients have stale caches, so each client downloads more data than usual when it first connects. Slack's own serving systems had coped with this jump in previous years. This time the gateway did not scale up quickly enough.

From packet loss to a saturated web tier
Packet loss does not usually produce clean, fast errors. It produces slowness. When a packet is dropped, TCP waits and retransmits, so a call that is normally quick takes far longer. From the application's point of view the backend has not failed; it has become slow.
Slack's web tier at the time served requests with Apache worker threads. Each request holds a worker while it waits for its backends to answer. If backend calls slow down, every request holds its worker for longer, and a fixed pool of workers can serve fewer requests per second. The root cause report gives a striking figure: the slow requests were only about 1% of incoming requests, but they consumed about 40% of server time.
Slack also has a known traffic rhythm. Reminders, scheduled jobs and integrations fire on the hour and half hour, producing small peaks. The 07:00 peak arrived on a web tier that was already short of free workers, and the extra load made the packet loss worse. The web tier ran out of capacity and Slack went down.
How autoscaling and provisioning made it worse
Slack scaled its web tier automatically on two signals: CPU utilisation and the fraction of Apache worker threads in use. On a normal day these move together. On this day they pointed in opposite directions.
A thread that is blocked waiting for a network reply uses no CPU. As more workers sat waiting, CPU utilisation across the fleet fell, and the autoscaler read that as spare capacity and removed servers. Engineers who had logged in to production machines to investigate found their SSH sessions cut off as those machines were shut down. At the same time, health checks were marking instances as unhealthy because they could not reach their backends, and automation started replacing them.
Then the second signal took over. Worker utilisation climbed, because the workers were all stuck, and the autoscaler swung to adding capacity: 1,200 servers between 07:01 and 07:15.
A new server is not useful the moment it boots. At Slack an internal system called provision-service configures and tests each new instance, which means talking to other internal systems and to AWS APIs. It was doing so across the same lossy network, so every step took longer than normal, and it had never been asked to handle so many machines at once. It hit two limits. The main one was the Linux limit on open files: according to the root cause report, the service kept a file handle open for every server it was provisioning. It also ran into rate limits on the AWS APIs it called.
The result was a large number of instances that existed but could not serve traffic. They still counted towards the maximum size of the autoscaling group, so the fleet reached its configured ceiling while most of its members were broken, and engineers had to clear them out by hand.

Why the dashboards went dark, and how Slack recovered
Slack tries to keep its monitoring independent of the systems it watches. Here there was a dependency nobody had intended: the dashboard and alerting service ran in a different VPC from the databases behind it, so its queries crossed the Transit Gateways too. When the gateway dropped packets, the dashboards failed along with the product.
The metrics themselves were still being collected, and engineers could query the metrics backends directly, but without the prepared dashboards this was slow work. They could not launch fresh dashboard servers either, because that needed provision-service, which was down.
Recovery came in steps. Engineers disabled downscaling to keep what capacity they had. Around 08:05 they diagnosed the open-file problem and by about 08:15 provision-service was running again with a higher limit. New instances began to enter service. Load balancers were still seeing most health checks fail, but they have a panic mode that spreads requests across all instances when too many look unhealthy, which kept traffic flowing to servers that were in fact able to answer. By about 09:15 Slack was, in the write-up's words, "degraded, not down".
Meanwhile AWS engineers, alerted by their own monitoring to the packet drops, increased the gateway's capacity manually. That change finished rolling out across all availability zones at 10:40, and the network returned to normal.
What Slack and AWS changed
From the two Slack documents:
- AWS said it was reviewing how Transit Gateways scale when packets per second rise sharply. The root cause report adds that the provider increased capacity and moved Slack from a shared system to a dedicated one.
- Slack set a reminder to ask AWS to scale the gateways up in advance at the end of the next holiday season.
- The dashboard service was to be moved into the same VPC as its database, removing its dependency on the gateways. Slack also wrote a runbook for debugging by querying the metrics backends directly.
- The open-file limit on provision-service was raised, the AWS API rate limit was increased, and Slack committed to more provisioning workers and regular load tests of the service.
- Slack said it would revisit its health-check and autoscaling settings, including the rate of scaling and the metrics used, so that a network fault could not overload provisioning again.
- It planned to test request timeouts and limits on simultaneous requests, so that a few slow requests could not occupy most of a server.
The computer science underneath
Hub-and-spoke networks. A VPC is an isolated network, and there are several ways to join two of them. The lesson on peering, transit gateways and other private connectivity compares them. A hub keeps routing simple, and it also becomes a shared dependency: its capacity is a limit on everything that crosses it, even when the provider manages it for you.
Scaling signals. An autoscaler is a control loop. It reads a metric, compares it with a target and adds or removes machines. Capacity planning and autoscaling covers how to choose that metric. The lesson from this incident is that low CPU means "idle" only if the work is CPU-bound. A server whose threads are all blocked on I/O is fully busy and almost idle on CPU at once.
File descriptors as a finite resource. Every open file, socket and pipe in a Unix process is a small integer index into a per-process table, and the kernel caps the size of that table. Files, inodes and file descriptors explains the table. A service that holds one descriptor per in-flight job has a hard ceiling on concurrency, and reaching it looks like this:
$ ulimit -n
1024
accept: Too many open files
The number above is a common default and only an example; Slack has not published the value it used.
Timeouts, load shedding and monitoring independence. A slow dependency is more dangerous than a dead one because callers keep waiting. Retries, timeouts and circuit breakers shows how a deadline on each call stops slow requests from holding every worker. And observability is only useful if it survives the failure it is meant to explain, which means checking what the monitoring path itself depends on.
What an interviewer could ask from this
Why did CPU utilisation fall while the service was overloaded? The workers were blocked waiting for network replies. Blocked threads do not use CPU, so the fleet looked idle by that metric while having no free workers.
What would be a better scaling signal for a thread-per-request web tier? Worker or connection pool utilisation, queue length or request latency, ideally combined, with scale-in made slow and cautious and scale-out rate limited to what provisioning can absorb.
Why can a slow dependency be worse than a failed one? A failed call returns at once and can be retried or shed. A slow call holds a thread, a connection and memory until it times out, so a small share of slow requests can consume a large share of capacity.
What is load balancer panic mode, and why does it exist? When most backends fail health checks, the checks themselves are probably wrong or the fault is shared. Sending traffic to every instance is better than concentrating it on the few still marked healthy.
How would you stop a provisioning system from collapsing during a mass scale-up? Bound its concurrency with a queue, load test it beyond the largest expected scale-up, raise resource limits deliberately, and cap how many instances the autoscaler may request per minute.
How do you keep monitoring alive during a network failure? Keep the query path short and inside one failure domain, avoid sharing the dependencies of the system being watched, and keep an external probe and a documented manual fallback.
Takeaways
- The trigger was a managed network hub that did not scale fast enough for the first working day after the holidays. The outage was shaped by what Slack's own automation did next.
- CPU utilisation is a misleading scaling signal when threads are blocked on a slow network. The same fault produced a scale-in and then a scale-out of 1,200 servers.
- Systems on the recovery path, such as provisioning, need load testing at disaster scale, because that is the only time they see it.
- Monitoring that crosses the same network hub as production fails at the moment it is needed.












