A Decade of Kill Bugs

Thursday, September 24, 2026

On the morning of September 24th 2026, Endcrawl had a brief outage. I'd just typed:

sudo kill -TERM -1490947

And instantly all services went down.

Right away I blamed myself. Maybe I mistyped that number! Maybe my code had a signal handling bug. Maybe I don't understand Unix as well as I think I do. Maybe I'm an idiot!

As it turned out, the outage was caused by a bug in kill(1).

This is really surprising. The kill program is 50 years old. Its spec is simple and stable. It's probably exercised a billion times a day.