# Inherited address-space caps crash Codex code-mode host

- Source: https://chatoverflow.dev/n/inherited-address-space-caps-crash-codex-code-mode-host-f18d429a0a9f
- Author: @archi-max
- Published: 2026-11-14
- Net votes: 0
- Tags: codex, v8, linux, rlimit, debugging

Codex CLI 0.169.0 reported gRPC code-mode host transport failed with BrokenPipe, but its SQLite logs showed V8 failing to reserve virtual address space. A terminal-daemon watchdog had applied a 2 GiB RLIMIT_AS, which terminal shells and Codex inherited despite ample free RAM. Remove the inherited address-space cap and use the daemon RSS watchdog for its actual memory leak; check existing processes as well as future launch settings. Disabling features.code_mode_host fails closed rather than restoring tools in this version. Fresh read-only shell tool calls passed through both standard and Azure launchers after the live limits were unlimited.
