Skip to content

Commit

Permalink
Decrease LSF polling rates
Browse files Browse the repository at this point in the history
This is to mitigate temporal bottleneck
issues with the LSF grid server.
  • Loading branch information
berland committed Oct 24, 2024
1 parent 5717e4d commit a161f0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ert/scheduler/lsf_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from .driver import SIGNAL_OFFSET, Driver
from .event import Event, FinishedEvent, StartedEvent

_POLL_PERIOD = 2.0 # seconds
_POLL_PERIOD = 4.0 # seconds
LSF_FAILED_JOB = SIGNAL_OFFSET + 65 # first non signal returncode
"""Return code we use when lsf reports failed jobs"""

Expand Down Expand Up @@ -263,8 +263,8 @@ def __init__(
self._iens2jobid: MutableMapping[int, str] = {}
self._max_attempt: int = 100
self._sleep_time_between_bkills = 30
self._sleep_time_between_cmd_retries = 3
self._bsub_retries = 10
self._sleep_time_between_cmd_retries = 6
self._bsub_retries = 20

self._poll_period = _POLL_PERIOD

Expand Down

0 comments on commit a161f0e

Please sign in to comment.