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
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
01·What happened
A Patriot battery in Dhahran did not even try to intercept a Scud missile that killed 28 American soldiers.
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.
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.
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
11 February 1991
The Army receives Israeli data showing the aim shifts noticeably after 8 hours of running.
16 February 1991
A software fix is released.
21 February 1991
Users are warned that very long run times could cause problems.
25 February 1991
A Scud hits a US Army barracks in Dhahran and kills 28 American soldiers.
26 February 1991
The fixed software reaches Dhahran, the day after the attack.
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
Part 5
What AI users should take from it
- For long projects, start a fresh chat now and then, pasting in a short summary you have checked yourself.
- Re-check key facts and numbers at the end of a long AI session, not only at the start.
- Break long agent jobs into stages, and check the output of each stage before the next one begins.
- When a tool's limits are known, say them in plain numbers ("restart every 8 hours"), not vague words like "very long".
- 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?
Part 7
Sources
Every fact on this page comes from these. Dates are when each was published.
- 01Patriot Missile Defense: Software Problem Led to System Failure at Dhahran, Saudi Arabia (GAO/IMTEC-92-26) · US General Accounting Office · 1992-02-04
- 02The Patriot Missile Failure · Douglas N. Arnold, University of Minnesota · 2000-08-23
Before AI
More from this shelf 5
Machine #004
The autopilot that handed back a plane nobody could fly
Atlantic Ocean · 2009
Machine #005
The jet that ran out of fuel at 41,000 feet
Gimli, Manitoba, Canada · 1983
Machine #006
When the computer was believed over the people
United Kingdom · 2000
Machine #001
The machine that said the patient got almost nothing
United States and Canada · 1986
Machine #002
The rocket that ran its old code
Kourou, French Guiana · 1996