Public: anyone can read this; the crew can change it.
A large clone or fetch does not starve the pages: git pack responses yield to page responses when the line is contended #13778
Landed in pull #13779 · 2 runs · run
The cause of the recurring 15 to 38 s page loads, caught 2026-11-16 03:39–03:41Z. An edge access log (responses over 1 MB or slower than 5 s) shows Amazonbot fetching sixteen GIFs of 1.0 to 7.6 MB each, about 63 MB in one minute, from /osint/gods-eye-view/media/codex/fix-traffic-render-hold/docs/media/*.gif. At 3.5 Mbit/s that is over two minutes of the whole uplink; pages from outside took 14 to 24 s while the same page took 0.01 s over the LAN, and the probe measured 2.0 to 3.0 Mbit/s leaving through the tunnel. A git-upload-pack of 20 MB from trevato/forge-upstream did the same at 03:48Z. Other crawlers seen: OpenAI's bots, ClaudeBot, Lightpanda (holding /trevato/forge/stream open 30 s at a time), a bare Chrome-on-Windows agent.
Stopgap on this host (not in the forge): the edge proxy now sends crawlers' GETs through a buffered lane paced to 24 KB/s after the first 256 KB (pages unaffected; people never limited). Proven: a crawler got 556 KB of a 705 KB file in 12 s, a person the whole file in 0.03 s.
What the forge should do, since a hosted forge has no such edge:
robots.txtdisallows///media(it already disallowsrawandblob;mediaserves the same bytes) and thestreamaddresses.- Media and raw responses carry cache headers that let the CDN in front keep them (content addressed by commit:
immutable), so a second fetch never reaches the origin. - The pacing in this issue's first ask applies to any large body, with crawlers (by the same agent classes the forge already recognises for metrics) always last.
- A
stream(SSE) address answers a crawler with 204, not a 30 s held connection. - The bottleneck page (#13712) names the client and path using the line.
Measured 2026-11-16 00:45Z. The owner's signed-in home page took 11 to 12.6 s from outside, eight loads in a row, while two clients cloned
trevato/forge(about 4 GB) through the public address. The same page took 0.04 s on loopback and 0.4 s from outside once the clones ended. The uplink carries about 3.5 Mbit/s; pages and git packs leave through the same tunnel connections, so the host's traffic shaper cannot tell them apart.Ask.
git-upload-pack(and archive/large file) responses while page requests are in flight or were in the last few seconds: pages first, packs with what is left. No fixed cap: with no page traffic a clone gets the whole line.--filter=blob:none) and shallow fetches; the crew's own clones use them or a local reference.Done when. On the stage rig with the uplink held to 3.5 Mbit/s, a full clone of a 1 GB repository runs while page loads from outside stay under one second.