Title: Laptop (amd): proxy systemd units churn with EADDRINUSE while unmanaged copies serve the ports · Issue #916 · developing-today/code · GitHub
Open Graph Title: Laptop (amd): proxy systemd units churn with EADDRINUSE while unmanaged copies serve the ports · Issue #916 · developing-today/code
X Title: Laptop (amd): proxy systemd units churn with EADDRINUSE while unmanaged copies serve the ports · Issue #916 · developing-today/code
Description: Observed 2026-10-25 on amd (NixOS, user session) by Muse over SSH. Symptom systemctl --user is-active for the five proxy units reports nonsense states: clef/codex/antigravity-ls/design-code stuck at activating, agy-proxy inactive — while...
Open Graph Description: Observed 2026-10-25 on amd (NixOS, user session) by Muse over SSH. Symptom systemctl --user is-active for the five proxy units reports nonsense states: clef/codex/antigravity-ls/design-code stuck a...
X Description: Observed 2026-10-25 on amd (NixOS, user session) by Muse over SSH. Symptom systemctl --user is-active for the five proxy units reports nonsense states: clef/codex/antigravity-ls/design-code stuck a...
Opengraph URL: https://github.com/developing-today/code/issues/916
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Laptop (amd): proxy systemd units churn with EADDRINUSE while unmanaged copies serve the ports","articleBody":"Observed 2026-10-25 on amd (NixOS, user session) by Muse over SSH.\n\n## Symptom\n`systemctl --user is-active` for the five proxy units reports nonsense states: clef/codex/antigravity-ls/design-code stuck at `activating`, agy-proxy `inactive` — while all five ports (18742-18746) answer /health OK. Drew reports 'lots of crashes and restarts today', but the machine has NOT rebooted (up 14 days, boot Oct 11). Load average sits at ~2.7.\n\n## Evidence\n- Journal, Oct 25 16:54:39: `clef-proxy-start` crashed with EADDRINUSE on 127.0.0.1:18742; at the same second systemd logged 'Main process exited, status=1/FAILURE' for antigravity-ls-proxy, codex-proxy, clef-proxy and design-code-proxy.\n- `systemctl --user show agy-proxy.service`: ActiveState=inactive, SubState=dead, Result=success, NRestarts=0 — the unit is cleanly stopped, yet 18743 serves health. So the processes actually listening are NOT the units' processes.\n- On Oct 21 the listening proxies were a batch of node MainThread processes unrelated to the units' lifecycle (started ~Oct 20), consistent with the warmer/keepalive stack (cf. the wt-warm-* worktrees) spawning its own copies.\n\n## Hypothesis\nTwo supervisors own the same ports: the home-manager systemd user units AND the warmer scripts. The warm copies bind first; unit instances die with EADDRINUSE and cycle through activating/failed, producing the crash/restart churn and the misleading unit states. (Related earlier signal: sync-models.service was in failed state on Oct 21.)\n\n## Investigate\n1. Map listeners to owners: `ss -tlnp` PIDs vs each unit's MainPID for 18742-18746.\n2. Find what starts the unmanaged copies (warmer units/scripts, OpenChamber supervisor?) and when (login, boot, respawn loop?).\n3. Decide a single owner per proxy (units OR warmers) and remove/align the other; check whether the warmers exist because the units were unreliable (e.g. the agy DISABLED marking) — fix the cause, not just the duplication.\n4. Confirm agy-proxy's intended state (it was marked DISABLED in config, is currently served by a warm copy, and Drew asked for agy working on Oct 21).\n\nFiled from the laptop remote-access thread; the remote-access tracking goal has the surrounding context.\n\n## Acceptance criteria\n\n- [ ] Every listener on ports 18742-18746 is mapped to its owning process and supervisor (systemd user unit, warmer script, or other), with the evidence recorded on this issue.\n- [ ] Exactly one owner per proxy port remains: the duplicate supervisor is removed or aligned, and the systemd user units' reported states match reality (`is-active` agrees with what serves the port).\n- [ ] No EADDRINUSE churn in the user journal for the five proxy units over a full day after the fix.\n- [ ] agy-proxy's intended state is confirmed and matches what is actually running.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-25T21:55:31Z","url":"https://github.com/developing-today/code/issues/916"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e839d87f-85b4-f9c1-1cbd-d610d09153e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A540:6AD3D:C2D01B:FC5B60:6B063F13 |
| html-safe-nonce | 5d6548c2f62414dbe2564c0098efa88e58642b8fe9e76cef16215ace16bd0637 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTQwOjZBRDNEOkMyRDAxQjpGQzVCNjA6NkIwNjNGMTMiLCJ2aXNpdG9yX2lkIjoiNjg2ODIzMDcxNjIwODMzMjU2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9586b326f78a81863d47ba6bde01399ef8fcf0776d70687ea18d939e36801888 |
| hovercard-subject-tag | issue:6029792564 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/916/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a86aaf9e724b11b242b52601056661e2232bd8ae6d636475692064852cc875f1/developing-today/code/issues/916 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a86aaf9e724b11b242b52601056661e2232bd8ae6d636475692064852cc875f1/developing-today/code/issues/916 |
| og:image:alt | Observed 2026-10-25 on amd (NixOS, user session) by Muse over SSH. Symptom systemctl --user is-active for the five proxy units reports nonsense states: clef/codex/antigravity-ls/design-code stuck a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | dcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0f38f5735226749ec5e08a8649dce4cb2613d9ad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width