Skip to main content
PING Social
Back to all articles
essayspostmorteminternet

The Day Facebook Deleted Itself From the Internet

November 3, 2026

On October 4, 2021, Facebook performed a magic trick: it made itself, Instagram, and WhatsApp vanish from the internet, all at once, using its own maintenance command. The company's engineers published the postmortem themselves, and it remains one of the great honest documents in our industry. During routine maintenance, a command was issued to assess the capacity of the global backbone network. A bug in the audit tool that was supposed to catch dangerous commands let this one through. The command withdrew the BGP routes that told the internet where Facebook's DNS servers lived. BGP, the Border Gateway Protocol, is the internet's system of directions: networks announce "the addresses you want are this way," and everyone believes them. Facebook announced, in effect, "we are nowhere," and everyone believed that too.

The cascading details are what elevate this from outage to literature. Facebook's internal systems ran on the same network it had just withdrawn, so the tools engineers needed to fix the problem were unreachable by the problem. The internal communication platform was down, because of course it was. Engineers who physically went to the data centers found their access badges did not work, because the badge system also depended on the vanished network. Recovery took hours, in part because the company had, correctly and for good security reasons, made its infrastructure hard to reach casually. Security and recoverability, it turns out, are one budget, and the meter runs on the worst day, not the average one.

Meanwhile the rest of the internet provided the control group. The flood of users checking whether Facebook was down hammered public DNS resolvers with queries for the missing domains; Twitter absorbed a cheerful refugee wave; the outage measured, depending on the estimate, in the billions of dollars of economic impact and a sharp single-day fall in the company's stock. All of it, every dollar and meme, descended from one command, one safety tool with a bug in it, one network that believed what it was told.

Start with the safety tool, because it is the most instructive object in the story. Facebook had done the right thing: dangerous commands were supposed to be caught by an audit layer before execution. The audit layer had a bug. There is no level of meta-safety that escapes this recursion by adding another tool on top; at some layer you are trusting something, and the only question is whether you know which layer that is and what evidence the trust rests on. Our factory's version of this rule is that gates are proven with fixtures: a check is not trusted because it exists, but because a known-bad artifact fails it and a known-good one passes, on the record, repeatedly. A gate that has never demonstrably caught anything is a decoration with a confident name.

Second, the badge problem, which is really the problem of correlated failure. The repair path depended on the system being repaired: access, tools, communications, all downstream of the casualty. This is the most common architectural sin in the world because it is invisible in diagrams, where dependencies are arrows, and arrows do not show that the key to the building is inside the building. The discipline is to chart the recovery path separately from the operating path, and to walk it, physically, on a good day, asking at each step: does this survive the failure it exists to repair? Our factory's version is humble in scale and identical in structure: the journal and the checkpoints that let work resume live where the workers' deaths cannot take them, and the recovery of a storage emergency must run even when the storage thresholds say no work should start. A guardrail that deadlocks its own rescue is not a guardrail.

Facebook came back, of course. The internet relearned the routes, the badges worked, the memes entered the archive. What remains, and what makes the story worth an essay instead of a footnote, is the demonstration that at sufficient scale, connectivity is belief. The internet did not lose Facebook's servers. It lost its belief that they existed anywhere, and belief, once withdrawn, cannot be restored by the servers themselves shouting. They had no way to be heard. Say where you are, keep a way to say it that does not depend on the first way, and prove your safety tools catch something before the day they are the only thing between a routine command and the horizon. The rest is commentary. Well. The rest is this essay.

Sources, for the record: Facebook's own engineering postmortem of October 5, 2021 (Santosh Janardhan, "More details about the October 4 outage") documents the backbone maintenance command, the bug in the audit tool, the withdrawal of BGP routes to its DNS servers, and the impact on internal tools and data center access. The outage began at approximately 15:39 UTC on October 4, 2021, and lasted roughly six hours.

FAQ

Questions this essay answers

What command made Facebook vanish on October 4, 2021?+

During routine maintenance, a command issued to assess the capacity of the global backbone network withdrew the BGP routes that told the internet where Facebook's DNS servers lived. A bug in the audit tool that was supposed to catch dangerous commands let this one through.

Why was recovery so hard once the routes were withdrawn?+

Facebook's internal systems ran on the same network it had just withdrawn, so the tools engineers needed to fix the problem were unreachable by the problem. Engineers who physically went to the data centers found their access badges did not work, because the badge system also depended on the vanished network.

How does the factory decide whether a safety gate can be trusted?+

A check is not trusted because it exists, but because a known-bad artifact fails it and a known-good one passes, on the record, repeatedly. A gate that has never demonstrably caught anything is a decoration with a confident name.

Questions about PING?

These notes document real architecture and real implementation. If something here is useful for your business, get in touch.

Contact PING
The Day Facebook Deleted Itself From the Internet · PING