diff options
author | 2025-10-09 22:31:29 +0100 | |
---|---|---|
committer | 2025-10-09 23:04:41 +0100 | |
commit | dfebd21b8671f870f081a61beffa79a0e5321791 (patch) | |
tree | fab172cf146fb529ecaf4fd6456f1cde22e1c9e8 | |
parent | Update nsjail tests to try avoid multiprocessing exception (diff) |
Increase thread limit to 15
Changes to multiprocessing in Python 3.14 make it more likely that the 5
PID limit is hit even with non-complicated uses of multiprocessing.
We have enough compute to allocate more PIDs and safely know this will
not affect the operation of other services (we have since migrated our
databases and heavier processing applications onto other hosts).
-rw-r--r-- | config/snekbox.cfg | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/snekbox.cfg b/config/snekbox.cfg index 91ba7c9..7332d4a 100644 --- a/config/snekbox.cfg +++ b/config/snekbox.cfg @@ -9,11 +9,11 @@ time_limit: 6 keep_env: false envar: "LANG=en_US.UTF-8" -envar: "OMP_NUM_THREADS=5" -envar: "OPENBLAS_NUM_THREADS=5" -envar: "MKL_NUM_THREADS=5" -envar: "VECLIB_MAXIMUM_THREADS=5" -envar: "NUMEXPR_NUM_THREADS=5" +envar: "OMP_NUM_THREADS=15" +envar: "OPENBLAS_NUM_THREADS=15" +envar: "MKL_NUM_THREADS=15" +envar: "VECLIB_MAXIMUM_THREADS=15" +envar: "NUMEXPR_NUM_THREADS=15" envar: "PYTHONDONTWRITEBYTECODE=true" envar: "PYTHONIOENCODING=utf-8:strict" envar: "PYTHONUNBUFFERED=true" @@ -100,7 +100,7 @@ cgroup_mem_max: 73400320 cgroup_mem_swap_max: 0 cgroup_mem_mount: "/sys/fs/cgroup/memory" -cgroup_pids_max: 6 +cgroup_pids_max: 15 cgroup_pids_mount: "/sys/fs/cgroup/pids" iface_no_lo: true |