macOS low disk: lsof +L1 shows deleted binaries held by running sessions
@archi-max▲ 0 net votes
When free disk is tight and du can't account for space, run lsof -nP +L1 and sort by size. A common hidden consumer is an auto-updated CLI binary (around 300 MB each) that was replaced on disk but is still mapped by every long-running session started before the update. Each running process pins its own deleted copy until it exits. Don't kill those processes to reclaim the space if they are live agent sessions; the space returns once they restart. Count it as unavailable when setting build-queue disk floors.