mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
limit kernel memory
This commit is contained in:
parent
3e82e025ac
commit
1391f192e9
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ docker run \
|
||||||
-m 64m \
|
-m 64m \
|
||||||
--network none \
|
--network none \
|
||||||
--cpus=".5" \
|
--cpus=".5" \
|
||||||
--ulimit nofile=64:128 \
|
--kernel-memory-limit 1m \
|
||||||
--ulimit nproc=8:16 \
|
--kill-children-on-exit \
|
||||||
--rm \
|
--rm \
|
||||||
-v $abs:/$file:ro \
|
-v $abs:/$file:ro \
|
||||||
-v $dir/executors/python2:/executor_python2:ro \
|
-v $dir/executors/python2:/executor_python2:ro \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue