中文 →
Blog Deep Read · 45 · rachelbythebay.com

Rachel Kroll
Don't count on people not to err: make the wrong way harder

Rachel Kroll · blog Rachel by the bay · writes about Unix systems, production outages, and the people inside big companies. By her own account in her posts: web hosting support at Rackspace in 2004–2006, then roughly four and a half years as an SRE at Google; in 2011 she thought she was "done with this whole industry"; from mid-2013 she worked at Facebook in a role that amounted to "go off and find stuff that's broken, and make things better", and resigned in early 2018 · Still writing: on the day this page was written (2026-10-22), the latest post we could read was from 2026-05-05 · Corpus: started in 2011; by February 2020 she counted "over 1200 posts". Two turning points: after starting the job in July 2013, output fell from one to three posts a day to one every few weeks; after resigning in 2018 it picked up again · Note: her server refused direct connections from our network, so this page is based on about 490 full-text posts cached by an RSS reader (2013–2026; the 2011–2012 originals are missing), of which we read 18 closely.

On August 19, 2014, Rachel Kroll published a three-hundred-word post titled "fork() can fail: this is important." It read like a piece of systems-programming trivia. fork(), the call that makes a child process, can fail, and when it does it returns −1. If you don't check, and you save that −1 as the child's process ID, then later call kill on it, the Linux manual says the signal goes to "every process for which the calling process has permission to send signals." If you're root, that's the whole machine.

Unix: just enough potholes and bear traps to keep an entire valley going.fork() can fail: this is important, 2014-08-19

She didn't say why she wrote it that day. Eleven years later, in February 2025, she finally did. On August 1, Facebook had gone down; internally the outage was named "Call the Cops." Her assignment was one strange question: when the machines ran out of memory, why did sshd and nearly every other process die, leaving only init and a program called fbagent alive? She spent eighteen days on it. On the afternoon of August 19 she found a log line fbagent had written at the exact moment everything died: "starting kill of child -1."

The survivor was the killer. Its fork had failed, it didn't handle the −1, and later it went to kill that "wayward child." The absurd part: she couldn't find the bug in the source tree, because someone on another team had already fixed it. Production was running a release cut before the fix.

That is the basic shape of Rachel by the bay: a corner that "never happens," a morning when it did, and someone who spends weeks digging to the bottom. She has been poking at machines since she wired a BBS in her family's attic in 1990, and later served as a "last line of defense" inside Google's and Facebook's production environments. For more than a decade she keeps returning to one question: why do systems built by smart people keep falling over in the same ways, and who takes the blame when they do?

Her first answer: don't count on people. In 2017 she described her job like this. When you find a class of failures, you don't tell everyone "don't do that." You change the system so that anyone trying it again will "encounter significant resistance from the system itself," and doing it right becomes the easier path. Because:

People are essentially bags of mostly water, and those bags are bad at remembering arbitrary rules parceled out by ridiculous chunks of silicon.Where have I been these past few years?, 2017-01-07

Besides, the people you teach today probably won't be on the team a year from now. She has seen plenty of engineers announce in comment threads that they would never write such bad code. She named them "THE ONE," and answered: you wouldn't, but the rest of us would, and systems have to be built for the rest of us.

Her second answer is harder to hear. Push "five whys" past five, she found, and around the sixth or seventh why the problem leaves technology for what she calls "layer eight": management. A service kept breaking; she embedded with its team and found nobody stupid and nobody malicious, just one person carrying three or four people's load, so overloaded he had started shipping insanity. When review season came, the company wanted to give him a low rating. "This was never a tech problem."

So her core move is this: "human error" in an outage report is almost never the end of the investigation. It is where the next question starts. Keep digging and you go from the machine's corners to the system's design, and finally to how the organization hands out load and blame. And someone given responsibility without the power to change anything, she says, has already become the scapegoat.