NousResearch/hermes-agent

Fix file descriptor leak in session_search SessionDB

Cluster 83027 · agent. Data as of

2 open items. Fix attempted, not merged.

The short answer

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

These items address a file descriptor leak where session_search opens SessionDB handles without closing them, consuming roughly 2 fds per call and eventually causing EMFILE errors that can surface as misleading DNS failures.

Open issues1

  • Issue#83027session_search leaks the SessionDB it lazily opens (~2 fds/call) → EMFILE; surfaces as a bogus DNS failure

Open PRs1

  • PR#83035fix(tools): close the SessionDB handles session_search opens itself (fd leak → EMFILE)

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #83034 fix(tools): close session_search owned db handles · superseded by another PR → #71660
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: 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
agent
Closed issues
0
Attempts
1 PR closed without merging

For your agent

The same facts, typed.