# NousResearch/hermes-agent · Gateway memory valve undercounts cgroup child process memory

## Open now

- Nothing open on GitHub.

The gateway agent-cache memory pressure valve was not accounting for memory used by child processes in the same cgroup, causing it to see only the gateway's own RSS rather than total cgroup memory consumption. These items track the bug report and its fix.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #111563. Verify it addresses your case.
- **Recommended:** read PR #111563 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-111563`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Closed / duplicate issues

- #110549: Gateway agent-cache pressure valve blind to same-cgroup child processes (execute_code kernel 4.7GiB anon while /proc/self RssAnon <1.6GiB)

## Prior & competing PRs

- **#111563: fix(gateway): agent-cache memory valve counts same-cgroup child processes, not just the gateway's own RSS (#110549)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/agent_cache_pressure.py`, `tests/gateway/test_agent_cache_pressure.py`, `website/docs/developer-guide/gateway-session-lifecycle.md`, `website/docs/user-guide/configuration.md`
- **#110557: fix(gateway): account for cgroup child memory**. closed without merge
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`; refs `8c177c0784095a5b21acd5b0b361f4d2c65a12b6`

## Fix status

- Merged to main in PR #111563 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-15`.
