Repository navigation
Mount memory-backed /dev/shm emptyDir volume in PathwaysJobSet.add_user_workload. - #346
Open
copybara-service[bot] wants to merge 1 commit into
Open
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test_1000409655
branch
3 times, most recently
from
October 16, 2026 20:16
de7fd36 to
de2c136
Compare
copybara-service
Bot
force-pushed
the
test_1000409655
branch
3 times, most recently
from
October 19, 2026 20:24
ea6b764 to
847898e
Compare
…er_workload. Multiprocess Python data loaders such as Grain use shared memory (`/dev/shm`) for inter-process communication. Without an explicit memory-backed `emptyDir` volume mounted at `/dev/shm` on the `pathways-head` user workload container, containerd defaults `/dev/shm` to 64 MiB, causing Grain worker processes to crash with `SIGBUS` (exit code `-7`) when buffering batches across workers. Update `PathwaysJobSet.add_user_workload()` to mount a memory-backed `emptyDir` volume (`dshm`, `medium: Memory`) at `/dev/shm` by default when `/dev/shm` is not already mounted. PiperOrigin-RevId: 1000409655
copybara-service
Bot
force-pushed
the
test_1000409655
branch
from
October 23, 2026 03:40
847898e to
fb3f026
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mount memory-backed /dev/shm emptyDir volume in PathwaysJobSet.add_user_workload.
Multiprocess Python data loaders such as Grain use shared memory (
/dev/shm) for inter-process communication. Without an explicit memory-backedemptyDirvolume mounted at/dev/shmon thepathways-headuser workload container, containerd defaults/dev/shmto 64 MiB, causing Grain worker processes to crash withSIGBUS(exit code-7) when buffering batches across workers.Update
PathwaysJobSet.add_user_workload()to mount a memory-backedemptyDirvolume (dshm,medium: Memory) at/dev/shmby default when/dev/shmis not already mounted.