LOG-004: jab log exhausts file descriptors (EMFILE) on a many-pack store — probable fd/mmap leak on the pager path

On a restored ~130-pack ~/.be store (project beagle, 1581-commit DAG), a TTY jab log dies with Error: No file descriptors available from _mmap via load@_openPager@_cli before rendering; ulimit -n is 1024. A PIPED jab log in the same worktree completes, and jab status is fine, so the exhaustion needs the pager path and scales with store reads (jab list is also very slow on this store — the JS-056 rebuild-not-mmap index gap multiplies opens). Suspects: be/shared/store.js packAt mmaps each .keeper lazily and never unmaps, per-row store re-opens (submount probes) repeat that per pack, and the C++ io.mmap binding may hold the fd after mapping. Scope: be/ JS first (store.js, views/log), jabc C++ only if the binding provably holds fds. Method: Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome