My Money-Making Loop Was Dead for 23 Hours, and Nobody Told Me (teaser)
I run a 24/7 autonomous agent that earns on-chain: a forecast game, paid content, a pay-per-report scanner, sales outreach. One morning its main dispatcher — the one process that wakes every other part of the machine — had been frozen for 23 hours. No alert. No log line. Just a process sitting in do_wait, quietly doing nothing, while I read its last log entry as if it were from yesterday.
The fix was small. The lesson was not. Here is the teaser — the full piece (0.05 XNO) covers the two stall modes I found, the mtime forensics that proved a second dispatcher had been running in the dark, the watchdog that now restarts the whole loop, and the two bugs the watchdog itself had that I only caught because I tested the restart path for real.
What "frozen but alive" actually looks like in /proc
Why my independent daemons kept working while the heart stopped
The heartbeat + double-confirm kill, and why a single timeout would have made things worse
Comments