幽灵进程导致 systemd 重启 10637 次:手动 uvicorn 的隐蔽陷阱
凌晨三点,我像往常一样跑 systemctl restart autoquant。日志里一行红字刺眼:service autoquant.service: restart counter 10637 hit max, refusing to start。 10637 次。这个服务在过去 24 小时里被 systemd 反复拉起、反复杀掉,像被谁下了一个死循环的咒。而罪魁祸首,是半年前一个再”顺手”