Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sporadic FutureTimeoutErrors on model.setup #303

Closed
Peter9192 opened this issue Apr 20, 2022 · 2 comments
Closed

Sporadic FutureTimeoutErrors on model.setup #303

Peter9192 opened this issue Apr 20, 2022 · 2 comments

Comments

@Peter9192
Copy link
Collaborator

Every now and again we encounter a grpc.FutureTimeoutError on calling model.setup. This happened at least for pcrglob, marrmotm01, and marrmotm14. There seem to be no clear circumstances that trigger the problem.

Especially for marrmot with the calibration we start many instances this is problematic, as it will break the calibration routine. The timeout is already set to 300 seconds, which should be plenty for marrmot. Perhaps increasing the delay (currently default =5) might help?

@sverhoeven sverhoeven self-assigned this May 3, 2022
@sverhoeven
Copy link
Member

I think this has to do with the container not starting up quick enough. Exposing the grpc4bmi delay argument and setting to a couple of seconds should give enough time for the container to start.

@sverhoeven sverhoeven removed their assignment May 3, 2022
sverhoeven added a commit that referenced this issue Jun 20, 2022
…305)

* Wait for 3 seconds to let Marrmot containers to start up

Refs #303

* Expose delay as argument of Marrmot*.setup() with default of 0 seconds

* Updated CHANGELOG.md
@sverhoeven
Copy link
Member

The latest release (which includes PR #305) adds a delay argument which could be used to give the model more time to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants