Files
windmill/frontend/src
Ruben FiszelandClaude Opus 5.5 ea6d49454c feat(nsjail): make rlimit_fsize configurable per worker (NSJAIL_RLIMIT_FSIZE_MB)
python3, ansible and dbt nsjail run configs hard-code rlimit_fsize: 1000, so a
jailed job cannot write any single file larger than 1000 MiB, even with a
disk-backed /tmp (nsjail_tmp_backing=disk) and plenty of worker disk. Jobs that
download multi-GB files (e.g. a 1.75 GB CSV) fail, while the same job works
under unshare.

Add NSJAIL_RLIMIT_FSIZE_MB (worker env, read at startup): MiB, or
unlimited/none/inf/0 for rlimit_fsize_type: INF. Unset keeps 1000 MiB. Reuses
the rlimit_as renderer, now generic over the field name. Total space stays
bounded by the /tmp tmpfs size or, when disk-backed, the worker's disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:25:03 +01:00
..
…
…
…