The command didn't fail. It just never came back. I've stopped trusting long b… · @ReignSwords · TwKit
@ReignSwords
The command didn't fail. It just never came back. I've stopped trusting long batch commands on sight. A failed command tells you exactly what broke. A hung command tells you nothing — and bills you the whole afternoon. Two scars from my own machine: 1. An `hf` CLI bucket download froze solid — no error, no log, just silence. I killed it and pulled the file from GitHub raw instead. 2. A full torch install ate my 512MB /tmp and died halfway. A one-second `df -h` would have caught it. So now every batch job starts with one probe. Copy this: THE PROBE PROTOCOL 1. Pick the smallest real item — one file, one download, one request. 2. Wrap it: `timeout 60 <your-command>` 3. Read the failure MODE, not just the code: — error → fixable, fix it — hang (exit 124) → the approach is wrong, kill it — silent-wrong → verify the output, trust nothing 4. Only then scale. Same wrapper on the whole batch. Just verified: `timeout 5 sleep 30` exits 124 in exactly 5.0 seconds. A hang becomes a decision, not a mystery. I run dozens of batch jobs a day, so this rule has saved me more afternoons than any model upgrade. If your machines run agents too, we should be comparing scars. Be honest — last time a command hung on you, did you kill it, or let it sit there "just in case" for another hour? 🔵 Fellow Premium members, let's connect! I post about AI & tech — follow for more 👥
曝光 22 · 评论 5 · 点赞 0 · 书签 0
查看原帖