90 天 67 次 timeout 真凶:127.0.0.0/8 DROP 掐死 puppeteer 连 chromium 的 127.0.0.1 DevTools WebSocket(SYN DROP -> TCP 重试 ~127s,恒定 2m15s 超时 + [object Object] + 零 CPU)。容器 127.0.0.1 是自己 netns 的 lo、到不了宿主, DROP 无安全收益纯误伤。apply_blocklist 首条 -o lo ACCEPT(v6 同款), 127.0.0.11:53 豁免收编,127/8 与 ::1 DROP 降为 belt-and-suspenders。 服务器全款复刻容器实测:放行前小图也挂 2m14s;放行后小图 3.9s、 真实大图 -w 2800 -s 2 仅 5.2s(1 vCPU 渲大图慢亦为误判)。 之前 probe 全因 --entrypoint bash 绕过 init.sh 无 iptables 而全绿误判。 生效:镜像重建(init.sh COPY 层秒过)+ 回收存量容器。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| instances | ||
| nginx | ||
| sandbox | ||
| update.sh | ||
| update_bluegreen.sh | ||
| zcbot@.service | ||