NousResearch/hermes-agent

Stale gateway PID file handling at startup and restart

Cluster 13511 · gateway. Data as of

Nothing open on GitHub. Fix attempted, not merged.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 3 issues already closed.
Fix event
No fix has been merged to main. 2 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

The members concern a leftover gateway.pid file from a crashed or killed gateway instance, which is reported to interfere with startup, restarts, or use of --replace. Some items are bug reports (one about a PID file race condition) and others are fix proposals that clean up or clear the stale PID file before writing a new one.

Open issues0

No open issues.

Open PRs0

No open pull requests.

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #13709 fix(gateway): clear stale PID file from crashed gateway on startup (closes #13655) · done elsewhere → 402d048, #13658, #9703, #14179
  • #25569 fix(gateway): clean stale PID file before O_EXCL write · done elsewhere → 413990c
Closed issues · 3
  • Closed#13511[Bug]: Hermes Gateway PID 文件竞态问题及修复方案
  • Closed#13655Bug: Stale gateway.pid causes gateway restart loop after crash/SIGKILL
  • Closed#14203Gateway fails to start with --replace when previous instance PID is already dead (stale gateway.pid)
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.31: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Closed issues
3
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.