mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
limit kernel memory
This commit is contained in:
parent
0f9d54cd05
commit
2c99873dcb
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ docker run \
|
|||
-m 64m \
|
||||
--network none \
|
||||
--cpus=".5" \
|
||||
--ulimit nproc=8:8 \
|
||||
--kernel-memory 6m \
|
||||
--ulimit nproc=4:4 \
|
||||
--rm \
|
||||
-v $abs:/$file:ro \
|
||||
-v $dir/executors/python2:/executor_python2:ro \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue