forked from mtusi2026/mtusi2026lab7
12 lines
842 B
Plaintext
12 lines
842 B
Plaintext
# jobs-limits: lab5: worker limits - bytes, pixels, memory (RLIMIT_AS), time (JOB_TIMEOUT_SECONDS)
|
|
# date: 2026-11-07 19:31:20, commit: 20afc2c + uncommitted changes
|
|
# command: python.exe student-tests/test_jobs.py limits
|
|
# exit code: 0, 74.8 s
|
|
|
|
--- limits: Лимиты: bytes и пиксели на API; память/пиксели/время процесса обработки на worker.
|
|
10 MiB + 8 bytes -> 413 before any job is created
|
|
imaging.py on 8000x5000 PNG: exit 0, peak RSS 225.8 MiB (RLIMIT_AS 512 MiB); same file with MAX_IMAGE_PIXELS=10M -> exit 4 (image_too_large)
|
|
memory bomb in the imaging process -> failed/resource_limit after attempt 1; worker itself survived
|
|
imaging hang -> killed after 60 s (processing_timeout, temporary), lease renewed meanwhile (no lease_expired), attempt 2 ready after 63 s
|
|
1 passed, 0 failed
|