Outage15 Jan 1990

AT&T Long-Distance Network Collapse

One software update, installed on all 114 switches, turned a routine 6-second recovery into a 9-hour nationwide cascade.

Severity
Front-page news
Difficulty
intermediate
Companies
AT&T
Tech
Telephone switching, 4ESS, CCS7 / SS7 signaling, C
Root cause
latent bug, dependency cascade

The story

Quick (1 min)

On Monday 15 January 1990, a large part of AT&T's US long-distance phone network stopped completing calls for about nine hours.

It started small. One switch in New York had a minor hardware problem, took itself offline for a few seconds to recover, then came back. That is normal and usually invisible.

But a software update installed on every one of AT&T's 114 big switches a month earlier contained a bug. When the New York switch came back and sent calls quickly, the bug made the neighbouring switches crash too. As they recovered, they triggered the same bug in their neighbours. The failure kept bouncing around the network.

The lesson: if every copy of a system runs the same code, one bug can take them all down together.

Keep reading to the end to earn XP.Read. XP earned.

Engineer (2 min)

The setup. AT&T's long-distance network used 4ESS toll switches that coordinated through a separate signaling network called CCS7 (an early form of SS7). Each switch had a processor called a Direct Link Node (DLN) connecting it to that signaling network, and the DLN was duplicated for redundancy.

The trigger. At about 2:30 p.m. EST a 4ESS switch in New York hit a minor hardware fault and ran its normal recovery routine, pausing new calls for 4 to 6 seconds. It told its neighbours "don't send me calls", and they marked New York as out of service.

The bug. When New York came back, it immediately sent call setup messages (Initial Address Messages, or IAMs). On receiving the first one, a neighbour's DLN started updating its status map. AT&T's official report says a software flaw left the DLN "vulnerable to disruption for several seconds" during that update. If two call messages arrived within 1/100th of a second in that window, data was damaged and the DLN took itself out of service to reinitialise.

Why redundancy didn't help. The backup DLN took over, but it ran the same code. The next pair of closely spaced messages hit it in the same vulnerable window, and the whole switch was cut off from signaling. When that switch recovered and started sending calls, it triggered the same failure in its neighbours. The flaw had been loaded into all 114 4ESS switches in a mid-December update meant to speed up failover to a backup signaling network.

Recovery. Standard procedures didn't work. Engineers stabilised the network by suspending signaling traffic on the backup links, which reduced the message load on the DLNs. The last link was cleared at 11:30 p.m. EST. The next day AT&T rolled the switches back to the previous software.

Interview takeaway: redundant copies running identical code fail together, and recovery behaviour (a burst of messages when a node comes back) can itself be the trigger.

Keep reading to the end to earn XP.Read. XP earned.

Deep dive (3 min)

Timeline (from AT&T's official technical statement)

  • Mid-December 1989: a software update is loaded into the front-end processors of all 114 4ESS switches. Its goal: let switches reach a backup signaling network more quickly if the main CCS7 network has problems. AT&T said it had been "rigorously tested in laboratory environments."
  • 15 Jan 1990, ~2:30 p.m. EST: a 4ESS in New York City has a minor hardware problem. Telephony magazine reported it was a piece of trunk interface equipment that reported a fault it couldn't correct. The switch runs a 4 to 6 second recovery and pauses new calls.
  • Seconds later: neighbouring switches, told New York is out of service, note that in their status maps. New York recovers and starts sending call attempts (IAMs).
  • The cascade: neighbouring DLNs crash while updating status, their mates crash too, and switches drop off the signaling network. Each recovering switch repeats the pattern for its own neighbours. AT&T: "The unstable condition continued because of the random nature of the failures and the constant pressure of the traffic load in the network providing the call-message triggers."
  • Evening: standard procedures "proved inadequate." AT&T: "we knew very early on we had a problem we'd never seen before." Bell Labs staff in Illinois, Ohio and New Jersey join. The team works out what is happening by reading signaling message patterns.
  • 11:30 p.m. EST: after signaling on the backup links is suspended to cut the load, the last link is cleared.
  • 16 Jan: the faulty update is removed and switches go back to the previous program. Engineers find the suspicious code, reproduce the problem in the lab, fix and test it, then restore the backup signaling links.

The mechanism in detail

The official statement is careful not to name the exact coding error. It says that during a status-map update, "the receipt of two call attempts from the New York switch — within an interval of 1/100th of a second — caused some data to become damaged." That is a classic timing window: code that works for one message but not when a second arrives before the first is fully handled.

At the time, a widely circulated message in the RISKS Digest (vol. 9, issue 69) said the bug was a C break statement. It sat inside an if clause, nested within a switch statement inside a do…while loop. The break was meant for the if clause but exited the whole switch instead. Treat this as reporting circulated at the time, not as AT&T's official wording.

Why it matters

Peter Neumann, writing in RISKS, compared it to the 1980 ARPANET collapse: bogus status information propagated from node to node and was amplified at each hop. Another RISKS contributor, William Murray, argued that the deeper flaw was a system designed so that one failing part could spread failure to all the others, not "a single computer program."

AT&T also noted that "Monday's calling volume was not unusual; in fact, it was less than a normal Monday." Load didn't cause the failure; normal traffic simply supplied a steady stream of triggers.

Quotes

"While the software had been rigorously tested in laboratory environments before it was introduced, the unique combination of events that led to this problem couldn't be predicted." (AT&T technical statement)

"The fault was in the code" (Larry Seese, AT&T director of technology development, quoted in Telephony, 22 Jan 1990)

Keep reading to the end to earn XP.Read. XP earned.

Failure replay

Step by step, what broke and what it hit next.

  1. Dec 1989
    Software updatehealthy

    A new signaling software release is loaded onto all 114 4ESS switches. It passes lab testing.

    Affects: NYC 4ESS switch, Neighbour switches

  2. T+0
    NYC 4ESS switchdegraded

    A minor hardware fault in New York triggers routine recovery. The switch pauses new calls for 4 to 6 seconds.

    Affects: Neighbour switches

  3. T+0
    Neighbour switcheshealthy

    Neighbours receive a "send no calls" message and mark New York as out of service.

  4. T+6 s
    NYC 4ESS switchrecovering

    New York comes back and immediately sends call setup messages (IAMs) to its neighbours.

    Affects: Neighbour switches

  5. T+6 s
    Neighbour switchesfailing

    Two call messages arrive within 1/100th of a second while a neighbour's link processor is updating its status map. Data is damaged and the processor resets.

    Affects: CCS7 signaling network

  6. T+6 s
    Neighbour switchesdown

    The backup processor runs the same code and fails the same way. The switch is cut off from the signaling network.

    Affects: CCS7 signaling network

  7. T+minutes
    CCS7 signaling networkfailing

    Each switch that recovers sends calls and knocks over its own neighbours. The failure keeps bouncing across the country.

    Affects: Callers

  8. T+minutes
    Callersdown

    Large numbers of long-distance calls across the US fail to connect.

  9. ~T+9 h
    CCS7 signaling networkrecovering

    Engineers suspend signaling on backup links to cut message load. The last link clears at 11:30 p.m. EST.

    Affects: Callers

  10. Next day
    Software updaterecovering

    AT&T rolls every switch back to the previous program, then reproduces and fixes the flaw in the lab.

Impact

Who was affected
AT&T long-distance callers across the United States; the faulty code ran on all 114 4ESS toll switches.
How long
About 9 hours (from ~2:30 p.m. to 11:30 p.m. EST on 15 January 1990).
Cost
not disclosed

Lessons

  • Rolling the same change to every node at once removes your safety net; stage rollouts so a bug hits a few nodes first.
  • Redundant copies running identical code share the same bugs. Redundancy protects against hardware faults, not software ones.
  • Recovery paths need testing under realistic timing; the burst of traffic when a node comes back can be the trigger.
  • Design systems so a failing component is isolated instead of spreading its failure to neighbours.

Quiz

  1. What started the chain of events on 15 January 1990?

    Check answer

    A minor hardware fault on one New York switch, followed by a routine recovery. AT&T's report says one New York 4ESS had a minor hardware problem and ran its normal 4 to 6 second recovery. AT&T also noted call volume was lower than a normal Monday.

  2. Why did the backup Direct Link Node processors fail too?

    Check answer

    They ran the same flawed software, so the same timing pattern crashed them. The mate processor took over and was then hit by another pair of closely spaced messages during the same vulnerable window. Identical code means identical failure.

  3. How many 4ESS switches had the flawed update installed?

    Check answer

    All 114. The flaw was introduced into all the 4ESS switches as part of a mid-December update. Telephony reported the figure as all 114.

  4. What finally stabilised the network?

    Check answer

    Suspending signaling traffic on the backup links to reduce message load. Engineers cut the load on the affected DLN processors by temporarily suspending signaling on the backup links. The faulty update was rolled back the next day.

Interview prep

Try answering out loud before you open the model answer.

  1. system design

    You run a fleet of identical nodes that talk to each other. How would you roll out a risky protocol change without risking a fleet-wide cascade like AT&T's in 1990?

    Show model answer

    Treat the rollout as the riskiest part. Ship to a small canary set first, ideally in a part of the network where failure is contained, and watch error and restart rates. Expand in stages with automatic halt criteria. Keep the old version deployable and make rollback fast and well rehearsed; AT&T recovered by rolling back. Put the new behaviour behind a feature flag so it can be turned off without a redeploy. Finally, design for blast-radius limits: circuit breakers and rate limits on inter-node messages so one misbehaving node can't knock over its neighbours.

    A strong answer hits:

    • Canary and staged rollout with automated halt conditions
    • Fast, rehearsed rollback or feature-flag kill switch
    • Limit blast radius (cells, circuit breakers, rate limiting)
    • Recognise that identical code means correlated failure
  2. debugging

    A distributed system keeps failing in waves even though no single node is overloaded. Each node that recovers seems to cause failures elsewhere. How do you approach this?

    Show model answer

    Suspect a feedback loop. Look at what nodes do when they recover, such as reconnecting, resyncing state or sending queued work, and whether that burst is what breaks the next node. Correlate failure timestamps across nodes to see the spread pattern. To stabilise, reduce the trigger: slow or pause the recovery traffic (AT&T suspended backup-link signaling), add jitter and backoff to reconnects, then roll back recent changes. Afterwards, reproduce the timing in a lab, because these bugs often depend on two events landing inside a tiny window.

    A strong answer hits:

    • Identify the feedback loop between recovery and failure
    • Stabilise by shedding or slowing the triggering traffic
    • Roll back recent changes before root-causing
    • Reproduce timing-dependent bugs deliberately
  3. system design

    Why didn't AT&T's duplicated Direct Link Node processors prevent the outage, and what would real fault tolerance have needed?

    Show model answer

    The duplicate processor ran the same software, so the same message pattern that crashed the primary crashed the backup moments later. That redundancy only protected against independent hardware failures. Tolerating software faults needs diversity or isolation: running different versions during a staged rollout, input validation so malformed or badly timed messages are dropped instead of corrupting state, and failure containment so a node that's struggling degrades gracefully instead of resetting and starting the cycle again.

    A strong answer hits:

    • Correlated failure; same code, same bug
    • Hardware redundancy is not software fault tolerance
    • Version diversity during rollout
    • Defensive handling of unexpected message timing

Go deeper