Runtime limit
A runtime limit is the maximum amount of time a job can run before it is terminated.
Job syntax (bsub) | Queue syntax (lsb.queues) | Format/Default Units |
---|---|---|
-W run_limit | RUNLIMIT=[default] maximum | [hours:]minutes[ /host_name | /host_model] |
It sets the run time limit of a job. The default is no limit. If the accumulated time the job has spent in the RUN state exceeds this limit, the job is sent a USR2 signal. If the job does not terminate within 10 minutes after being sent this signal, it is killed.
With deadline constraint scheduling configured, a run limit also specifies the amount of time a job is expected to take, and the minimum amount of time that must be available before a job can be started.
run_limit is in the form [hour:]minute, where minute can be greater than 59. 3.5 hours can either be specified as 3:30 or 210.
Jobs submitted to a chunk job queue are not chunked if the run limit is greater than 30 minutes.