A screen built to watch several machines over the network started showing one remote node flipping between connected and offline every few minutes. Pulled apart by hand, the connection looked fine — twenty consecutive status checks all came back successful, most of them fast. A short window never reproduced the problem, which pointed, as it usually does, toward blaming the network itself.
The file changed. The process didn't.
A fix went out anyway: the status check had been recomputing a day's worth of history on every single call, so that got cached, and a timing header got added to separate server processing from network transit. The flakiness didn't improve. Checking which process was actually bound to the port on the remote machine gave the real answer — a Python process that had been running since two days earlier still owned it. The scheduled task meant to restart the service had, technically, restarted. It just started a new process against a port the old one never released, so the new process never got control. New code had been deployed successfully by every visible measure — file hashes matched, the scheduled task showed as running — and none of it was being executed. Only killing that specific old process by its process ID, not the scheduler sitting on top of it, let the new one take the port. Once it did, response times and the new timing header both showed up exactly as expected.
The same red light, a different accident
Hours later the same card on the screen went red again. This time it was real: not one listener but the entire machine stopped answering, timing out at every layer down to a direct ping on the local network. The display showed the identical symptom both times — a card marked offline — for two causes that had nothing to do with each other. Nothing about having fixed the stale process excused or explained the second failure; it simply hadn't happened yet.
Figure 1 · One red card, two causes
First red: the stale process
- Card on the screen
- Offline
- Checked by hand
- 20 consecutive status checks succeeded
- What was really running
- A process from two days earlier still held the port
Second red: the machine
- Card on the screen
- Offline
- Checked by hand
- Timed out at every layer, down to ping
- What was really running
- Nothing answered at all
A screen that reduces a machine's state to one color is reporting a conclusion, not a cause. The same red can mean a process quietly outliving its own restart, or a machine that is actually gone. Only checking what's really running — not what was deployed, not what the scheduler says — tells you which one you're looking at.