summaryrefslogtreecommitdiff
path: root/frontends/Rexfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-08-01 20:58:40 +0300
committerPaul Buetow <paul@buetow.org>2026-08-01 20:58:40 +0300
commit2b20e1232b6542e780a61e1832e72cc2babc8989 (patch)
treef4dd64f94f90ae33eea0d4598b346aff60aba386 /frontends/Rexfile
parent38b01c385a59e6f9bd71ebe54a24fcf74b8966ab (diff)
shuriken CronJob: bound memory + ImageMagick disk spill (OOM fix)
The first run OOM-killed (exit 137) on irregular.ninja: Alpine's ImageMagick is Q16-HDRI (32 bytes/pixel), so a 37 MP AI-upscaled PNG decodes to ~1.2 GiB per buffer and -auto-orient doubles it -- well over the 1 Gi pod limit. The image now ships an ImageMagick policy (memory/map 512 MiB, disk 8 GiB) that spills oversized decodes to a disk cache instead of OOMing. Match it here: bump the pod memory limit to 2 Gi for the working set, pin OMP_NUM_THREADS=1 (the build is OpenMP-enabled; extra resample threads only multiply HDRI memory pressure), and add a disk-backed /tmp emptyDir (sizeLimit 8 Gi) for the pixel-cache spill.
Diffstat (limited to 'frontends/Rexfile')
0 files changed, 0 insertions, 0 deletions