Skip to content

Commit

Permalink
Explain time limit for add_command().
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Jan 24, 2022
1 parent 883076f commit 37a6258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lab/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ def add_command(
After *time_limit* seconds the signal SIGXCPU is sent to the
command. The process can catch this signal and exit gracefully.
If it doesn't catch the SIGXCPU signal, the command is aborted
with SIGKILL after five additional seconds.
with SIGKILL after five additional seconds. The time spent by a
command is the sum of time spent across all threads of the
process.
The command is aborted with SIGKILL when it uses more than
*memory_limit* MiB.
Expand Down

0 comments on commit 37a6258

Please sign in to comment.