You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Container tasks: the container's /tmp is the root disk unless some manifest entry is a file directly in /tmp (staged directories mount only themselves) #1270
What happens.containerMountDirs (pkg/taskproto/wrapper.go ~L670, via manifestMountDirs) bind-mounts exactly the parent directories of manifest inputs and outputs. If every entry is a directory under /tmp, e.g. /tmp/in/ and /tmp/out/, then only those subdirectories are mounted. The container's own /tmp is then its overlay root, capped by the default 20 GiB root disk, not the host tmpfs (½ RAM) that the staging model and its sizing advice assume.
Measured (cookbook plink2-real, AMD r8a.4xlarge, spawn 0.139.1): PLINK 2 died twice with No space left on device writing its intermediate kg.pgen to /tmp on a 128 GiB box. Staging the task's own script as a file at /tmp/p2-task.sh made spawn mount /tmp, and the same run then completed. Separately, a proteomics leg's df /tmp reported the root disk, not tmpfs.
Why it bites now. spawn#1246's user-data squeeze pushes spec authors to collapse many file entries into one staged directory. That silently moves the task's scratch from tmpfs to the root disk.
Fix ideas: always mount the host /tmp into container tasks; or mount the common /tmp ancestor whenever any manifest path is under it; or at least document the rule and print the effective /tmp backing in command.log.
Activity
feat(taskproto): container /tmp is its own tmpfs; empty directory inp…