Aleks deLab All articles
Postmortem

Fourteen Days of Radio Silence: My Homelab on Autopilot

Aleks deLab
Fourteen Days of Radio Silence: My Homelab on Autopilot

Photo: small home server rack in closet with network cables, via decormatters-blog-uploads.s3.amazonaws.com

Day one of this experiment felt illegal. I muted the alert channel, pointed everything at a flat file, and closed the terminal. No SSH, no "just checking the dashboard," no 2 a.m. glances at Grafana on my phone. Fourteen days. The closet servers would fend for themselves.

The premise wasn't vacation cosplay. I wanted to know one specific thing: how much of my monitoring exists because I'm anxious, and how much exists because the system actually needs a hand. A solo developer's on-call rotation is usually just a personality trait with a cron job attached. So I decided to measure it.

The Setup: Scripts Instead of Me

I gave the machines a few tools before I walked away. [systemd](https://en.wikipedia.org/wiki/Systemd) restart policies and Docker restart flags, which I already had. A nightly cert renewal via acme with a real check that the renewed cert gets loaded. A disk-pressure script that prunes rotated logs and container images when a partition passes 85%. A dead-man's-switch ping to a third-party service so that if the whole box went dark, something outside the closet would notice.

Everything else — the alerting rules I'd carefully grown over two years — went into a log file I promised not to read until day 15. Harder than it sounds. Around day three I caught myself typing the hostname out of pure muscle memory.

What Broke, In Order

Day 4: the log volume won. A container in a retry loop wrote about 40 GB in three days. The pruning script did not run, because I'd put it on the same partition it was supposed to clean. Classic. The disk hit 96% and the first thing to fail was the database's temp space. The service restarted, tried to run a migration, and threw errors for roughly nine hours before a scheduled job finally cleared enough room. Nobody noticed because nobody was using it — but the status page lied for those nine hours, cheerfully green.

Day 9: certificate renewal hiccuped. The renewal succeeded; the reload didn't. For about six hours the box served a valid cert with the wrong chain, so browsers that don't cache intermediates pitched warnings. Two of my three users hit it. My uptime check said 200 OK, because it was checking over HTTP and trusting the status code like a chump.

Day 11: the healer container was the disease. Something had a slow memory leak. The restart policy dutifully bounced it forty-seven times over the fortnight, which looked like stability in the metrics and was actually a failing service being gently euthanized in a loop. This is the sneakiest failure mode I've built for myself. Auto-healing without alerting is just a silent retry habit wearing a hard hat.

What Healed Itself and Deserved the Credit

A surprising amount. The reverse proxy came back from two separate OOM kills. A flaky backup job retried and succeeded on the third pass. The nightly image pull failed four nights running and recovered once the rate limit reset. If I had been watching, I'd have "fixed" at least three of these by hand — probably badly, probably at midnight.

The Alert Audit: 213 Notifications, 11 Decisions

When I finally opened the log, I tallied everything my old rules would have sent me over fourteen days. Two hundred thirteen notifications. I read all of them, classified by what action I'd have taken.

So: about 5% of my alert volume had any business waking me up, and only one of those was genuinely urgent. The rest was a machine politely telling me it was doing machine things.

The Two Rules I Brought Back

First, healing without a record is lying. Any restart policy now has to write a line somewhere I'll see it in a weekly digest. I don't need a page, I need a paper trail.

Second, health checks have to prove the thing works, not that the port is open. My uptime check now verifies the cert chain, hits a real endpoint, and checks that the response contains an expected string. Five extra lines of shell and it would've caught a six-hour outage.

What Two Weeks Alone Actually Proved

Going quiet didn't reveal that my homelab is fragile. It revealed that I built a monitoring stack tuned to my anxiety instead of my actual service levels. The machines coasted through a fortnight on maybe a dozen decisions. The alerts were mostly me talking to myself.

Would I do it again? Yes, but with the disk script on a different partition and a much smaller pager. The next run is twenty-one days, and I'm cutting the alert rules by two-thirds before it starts. If something is important enough to interrupt a Saturday, it should be important enough to survive being written down first.

All Articles

Related Articles

The Crash Report Is a Customer Interview You Never Scheduled

The Crash Report Is a Customer Interview You Never Scheduled

Nobody Reads Your README. Everybody Reads Your README.

Nobody Reads Your README. Everybody Reads Your README.

Pocket-Sized Dev Lab: Thirty Days of Shipping From a Phone Screen

Pocket-Sized Dev Lab: Thirty Days of Shipping From a Phone Screen