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

Investigate default VM lifetime in DockerDriver #715

Open
Jyrsa opened this issue Feb 27, 2018 · 1 comment
Open

Investigate default VM lifetime in DockerDriver #715

Jyrsa opened this issue Feb 27, 2018 · 1 comment

Comments

@Jyrsa
Copy link
Contributor

Jyrsa commented Feb 27, 2018

Currently blueprints on DockerDriver have lifetimes of 5h or 10h on Notebooks. Default lifetime for a host is 14400 seconds i.e. 4 hours. This creates interesting side effects when maxhosts is reached and no new hosts can be spawned but all hosts are already too old and won't be assigned new containers.

@tourunen
Copy link
Contributor

I believe the host selection will use the hosts that are active but do not have lifetime left as last resort, so the above should not happen:

if len(selected_hosts) == 0:

Anyway, 4 hours is short if the instance lifetime is generally is longer than that.

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

No branches or pull requests

2 participants