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
fcfbafb946
commit
0f9d54cd05
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ docker run \
|
|||
-m 64m \
|
||||
--network none \
|
||||
--cpus=".5" \
|
||||
--ulimit nproc=8:8 \
|
||||
--kernel-memory 6m \
|
||||
--rm \
|
||||
-v $abs:/$file:ro \
|
||||
-v $dir/executors/python2:/executor_python2:ro \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue