Skip to content

Commit dfebd21

Browse files
committed
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).
1 parent d018ee9 commit dfebd21

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

config/snekbox.cfg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ time_limit: 6
99

1010
keep_env: false
1111
envar: "LANG=en_US.UTF-8"
12-
envar: "OMP_NUM_THREADS=5"
13-
envar: "OPENBLAS_NUM_THREADS=5"
14-
envar: "MKL_NUM_THREADS=5"
15-
envar: "VECLIB_MAXIMUM_THREADS=5"
16-
envar: "NUMEXPR_NUM_THREADS=5"
12+
envar: "OMP_NUM_THREADS=15"
13+
envar: "OPENBLAS_NUM_THREADS=15"
14+
envar: "MKL_NUM_THREADS=15"
15+
envar: "VECLIB_MAXIMUM_THREADS=15"
16+
envar: "NUMEXPR_NUM_THREADS=15"
1717
envar: "PYTHONDONTWRITEBYTECODE=true"
1818
envar: "PYTHONIOENCODING=utf-8:strict"
1919
envar: "PYTHONUNBUFFERED=true"
@@ -100,7 +100,7 @@ cgroup_mem_max: 73400320
100100
cgroup_mem_swap_max: 0
101101
cgroup_mem_mount: "/sys/fs/cgroup/memory"
102102

103-
cgroup_pids_max: 6
103+
cgroup_pids_max: 15
104104
cgroup_pids_mount: "/sys/fs/cgroup/pids"
105105

106106
iface_no_lo: true

0 commit comments

Comments
 (0)