DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
710 stars 248 forks source link

Regularly check the required judging environment (e.g. cgroups, kernel command line etc) in judgedaemon #1021

Open meisterT opened 3 years ago

meisterT commented 3 years ago

With the new judgehost API it's trivial to add a task that checks the configuration of a judgehost, e.g. cgroups, kernel command line, turboboost etc.

This isolate script should give a good template for that check: https://github.com/ioi/isolate/blob/master/isolate-check-environment

thijskh commented 3 years ago

Why would the judgedaemon not be checking this actively on startup (and/or before a next cycle) instead of waiting for some remote entity to trigger this check? I think it even already does for cgroups etc

meisterT commented 3 years ago

:+1: good idea

vmcj commented 1 year ago

We discussed and for now propose to have the option to download a script for full checks and have a "smaller" script which you can use for every cycle.

meisterT commented 4 months ago

This could be a judgetask / or a debug type script.