Closed UPON-2021 closed 2 years ago
参考别的项目解决方法
https://github.com/dodona-edu/dodona/pull/709
添加 --pids-limit 256
sudo docker run -i --pids-limit 256 --rm ubuntu-python-playground-img
fixed in commit: https://github.com/liuly0322/l-plugin/commit/18fb7f30796c587d5caf1e92d4ca74dd31fc0007
运行环境
输入
原理: https://zh.wikipedia.org/zh-cn/Fork%E7%82%B8%E5%BC%B9#%E9%A2%84%E9%98%B2
问题代码
https://github.com/liuly0322/l-plugin/blob/main/apps/python.js 第40行
建议添加参数 -m 和 --cpuset 对docker限制