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