aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2022-11-16 15:11:22 -0500
committerGravatar Ionite <[email protected]>2022-11-16 15:11:22 -0500
commit0b44fce794f06aca0e8a5fe136967210680240a0 (patch)
tree212f8d5d9756a029764a0d5969b247397163fac7
parentMerged return tuple to EvalResult class (diff)
Increased nsjail file-size limit
Increased limit from default 1MB to 128MB (per file)
-rw-r--r--config/snekbox.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snekbox.cfg b/config/snekbox.cfg
index a1caf68..33970dd 100644
--- a/config/snekbox.cfg
+++ b/config/snekbox.cfg
@@ -104,6 +104,8 @@ mount {
rw: false
}
+rlimit_fsize: 134217728
+
cgroup_mem_max: 52428800
cgroup_mem_swap_max: 0
cgroup_mem_mount: "/sys/fs/cgroup/memory"