Skip to content

Tower readiness-probe shellper wrappers are never reaped after the probe exits #1336

Open

Description

@waleedkadous

Problem

Fleet census on a Tower host (2026-08-02) found 201 live shellper-main.js processes with only 80 tracked in GET /api/terminals. The single largest pure-leak class after test fixtures: 39 shellpers whose wrapped command is /bin/echo ready-probe (cwd=/tmp) — readiness-probe wrappers whose probe exited long ago, but whose shellper wrapper was never reaped. A second workspace's architect independently counted 53 of these earlier the same day, so the population grows continuously.

Expected

A readiness probe is fire-and-observe: once the wrapped /bin/echo exits, the shellper wrapper should reap itself (or Tower should reap it on probe completion). A probe must never outlive its answer.

Receipts

ps -eo pid,command | grep shellper-main.js | grep -c ready-probe   # → 39
# none of their PIDs appear in GET /api/terminals (global)

Detection method per #1007: running shellper PIDs minus /api/terminals PIDs.

Related: #1007 (umbrella orphan accumulation), #1038 (startup orphan-reap).

Activity

  1. added
    area/tower
    on Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/tower

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions