compilebox icon indicating copy to clipboard operation
compilebox copied to clipboard

Infinite Loops

Open ZachHandley opened this issue 9 years ago • 2 comments

Referencing issue #7 , it doesn't seem to have been addressed, and infinite loops are very much a problem, they don't seem to timeout

  • Zach

ZachHandley avatar Nov 27 '16 02:11 ZachHandley

Limiting memory usage via -m flag, and CPU quota via --cpu-quota should help. Problem with that is, current version of docker, that is installed via Setup/Install_X.sh, doesn't support CPU quota limiting.

aurieh avatar Dec 18 '16 11:12 aurieh

There's also another security threat:

Forkbombs, you can prevent that via --kernel-memory Plus, unzipping infinite zips, you should prevent that with --device-write-bps

aurieh avatar Jan 06 '17 20:01 aurieh