Before AI · 4 min read · 2 sources

The tiny clock error that grew for 100 hours

A missile defence battery had run for over 100 hours without a restart, a tiny timing error had grown large, and it failed to stop a Scud missile that killed 28 American soldiers.

The file

Who
Patriot missile battery, Dhahran
Where
Dhahran, Saudi Arabia
When
1991
Shelf
Before AI
Read time
4 min read
Sources
2 sources

Part 1

The file in one minute

  1. 01·What happened

    A Patriot battery in Dhahran did not even try to intercept a Scud missile that killed 28 American soldiers.

  2. 02·The real cause

    Every time conversion lost a tiny amount of precision. After about 100 hours of running, the clock was off by a third of a second.

  3. 03·The missed fix

    A restart of a minute or two would have cleared the error. The warning sent out never said how long was too long.

  4. 04·The lesson for AI

    Long chats and long agent runs drift quietly too. Restart from a short summary you have checked.

Part 2

Timeline

  1. 11 February 1991

    The Army receives Israeli data showing the aim shifts noticeably after 8 hours of running.

  2. 16 February 1991

    A software fix is released.

  3. 21 February 1991

    Users are warned that very long run times could cause problems.

  4. 25 February 1991

    A Scud hits a US Army barracks in Dhahran and kills 28 American soldiers.

  5. 26 February 1991

    The fixed software reaches Dhahran, the day after the attack.

  6. February 1992

    The GAO publishes its audit tracing the failure to the clock error.

Part 3

What happened

On 25 February 1991, during the Gulf War, an Iraqi Scud missile hit a US Army barracks in Dhahran, Saudi Arabia, and killed 28 American soldiers. A Patriot missile battery was protecting the area. It did not even try to intercept the Scud.

A US government audit by the General Accounting Office (GAO) found the cause. The battery's computer counted time in tenths of a second, and converting that count into seconds lost a tiny amount of precision every time. The longer the system ran, the bigger the error got. After the battery's roughly 100 hours of running, the clock was off by about a third of a second. For a missile that fast, that was enough for the radar to look in the wrong place.

The Patriot was designed to defend against aircraft in Europe and to move often, running only a few hours in one place. On 11 February the Army received Israeli data showing that the aim had shifted noticeably after 8 hours of running. A software fix was released on 16 February, and on 21 February users were warned that very long run times could cause problems. The warning did not say how long was too long.

Restarting the system, which took a minute or two, reset the clock and removed the error. The battery at Dhahran had not been restarted. The fixed software reached Dhahran on 26 February, the day after the attack.

Part 4

Why it happened

No single calculation was badly wrong. Each one was off by a sliver too small to notice. But the error added up with every tick, and the system was being used far longer than its designers had planned for. Nothing on the screen showed the drift. The battery looked healthy right up to the moment it missed.

AI tools can drift quietly in a similar way. The mechanism is different, but the shape is the same. In a very long chat, early instructions slip out of what the model can see, and small mistakes get built on. An AI agent that runs for hours can carry an early wrong assumption through every later step. Nothing flashes red. The fix is often as simple as the Patriot's: restart with a clean, checked summary.

The idea behind this file

L006The context window: AI's short-term memory

Watch the lesson

Part 5

What AI users should take from it

  1. For long projects, start a fresh chat now and then, pasting in a short summary you have checked yourself.
  2. Re-check key facts and numbers at the end of a long AI session, not only at the start.
  3. Break long agent jobs into stages, and check the output of each stage before the next one begins.
  4. When a tool's limits are known, say them in plain numbers ("restart every 8 hours"), not vague words like "very long".
  5. Treat an early warning from one team as a test of your whole system, not as an unusual case.

Part 6

Would you have caught it?

You have used one chat with an AI assistant for six weeks to plan a big event. Lately its answers mention a venue you cancelled and a budget figure that is out of date. What is the best move?

You have used one chat with an AI assistant for six weeks to plan a big event. Lately its answers mention a venue you cancelled and a budget figure that is out of date. What is the best move?

Part 7

Sources

Every fact on this page comes from these. Dates are when each was published.

  1. 01Patriot Missile Defense: Software Problem Led to System Failure at Dhahran, Saudi Arabia (GAO/IMTEC-92-26) · US General Accounting Office · 1992-02-04
  2. 02The Patriot Missile Failure · Douglas N. Arnold, University of Minnesota · 2000-08-23

Before AI

More from this shelf 5