Zero-downtime server restarts and updates (requests hang during a deploy) #111

Open
opened 2026-10-08 17:06:16 +00:00 by kayg · 0 comments
Owner

Owner saw ERR_CONNECTION_TIMED_OUT on infraternal.kayg.org right after a web deploy (2026-10-08 ~17:05 CEST), which restarts the server; sessions survive (shims stay up) but requests during the restart window can hang. Make restarts and updates zero-downtime for HTTP: socket handover to the new process (systemd socket activation or passing the listening fd), or the proxy retrying idempotent requests; the new process must be ready before the old one stops accepting. Also: on stop, systemd reports 'infraternal agent failed: unexpected end of file' and that a unit process remained running; check the embedded agent subprocess's shutdown (KillMode, graceful EOF handling). Relates to D155/D185 updates (#102).

Owner saw ERR_CONNECTION_TIMED_OUT on infraternal.kayg.org right after a web deploy (2026-10-08 ~17:05 CEST), which restarts the server; sessions survive (shims stay up) but requests during the restart window can hang. Make restarts and updates zero-downtime for HTTP: socket handover to the new process (systemd socket activation or passing the listening fd), or the proxy retrying idempotent requests; the new process must be ready before the old one stops accepting. Also: on stop, systemd reports 'infraternal agent failed: unexpected end of file' and that a unit process remained running; check the embedded agent subprocess's shutdown (KillMode, graceful EOF handling). Relates to D155/D185 updates (#102).
Sign in to join this conversation.
No labels
launch-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/infraternal#111
No description provided.