Skip to content

fix(sandbox): raise Linux child process limit#1508

Open
ryana wants to merge 1 commit into
mainfrom
fix/sandbox-nproc-8192
Open

fix(sandbox): raise Linux child process limit#1508
ryana wants to merge 1 commit into
mainfrom
fix/sandbox-nproc-8192

Conversation

@ryana
Copy link
Copy Markdown
Collaborator

@ryana ryana commented May 21, 2026

Summary

  • Raise the sandbox child RLIMIT_NPROC on Linux from 512 to 8192.
  • Keep the non-Linux test/default limit at 512 to avoid macOS user-limit failures.
  • This fixes AgentHub GLAMR Codex/NeMo Flow failures where Tokio could not spawn threads and the gateway never became ready under Kubernetes.

Validation

  • cargo fmt --check
  • cargo test -p openshell-sandbox harden_child_process -- --nocapture
  • cargo test -p openshell-sandbox process::tests -- --nocapture

AgentHub published test image:

  • nvcr.io/nvidian/nemo-llm/agenthub-openshell-supervisor:ghcr-dev-23b66e78
  • sha256:a712394d5798a53b6638458c38707be0b268a544a3354ead33b1a5353a1df14c

@ryana ryana requested review from a team, derekwaynecarr, maxamillion and mrunalp as code owners May 21, 2026 20:24
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 21, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@TaylorMutch
Copy link
Copy Markdown
Collaborator

/ok to test 23b66e7

@derekwaynecarr
Copy link
Copy Markdown
Collaborator

See comment here:

#1390 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants