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

qvm-shutdown poorly handles large numbers of VMs #1320

Closed
andrewdavidwong opened this Issue Oct 11, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Oct 11, 2015

Attempting to use qvm-shutdown on a large number of VMs (~40) results in many VMs being unnecessarily killed.

I can think of two options:

  1. Increase the time before killing when qvm-shutdown is invoked on a large number of VMs.
  2. Divide the total number of VMs-to-be-shutdown into smaller batches, then serially qvm-shutdown each batch.
@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 22, 2015

Member

If the above options would be too much, how about a --wait-time option that lets the user specify the amount of time to wait in seconds?

So, if I know I'm shutting down an unusually large number of VMs, I could just do this:

qvm-shutdown --all --wait --wait-time=300

Then go drink a cup of tea.

Member

andrewdavidwong commented Oct 22, 2015

If the above options would be too much, how about a --wait-time option that lets the user specify the amount of time to wait in seconds?

So, if I know I'm shutting down an unusually large number of VMs, I could just do this:

qvm-shutdown --all --wait --wait-time=300

Then go drink a cup of tea.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 26, 2015

Member

Automated announcement from builder-github

The package qubes-core-dom0-3.1.8-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented Dec 26, 2015

Automated announcement from builder-github

The package qubes-core-dom0-3.1.8-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 12, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-3.1.10-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Jan 12, 2016

Automated announcement from builder-github

The package qubes-core-dom0-3.1.10-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Apr 20, 2016

Member

The new option works great, but thankfully it's not even necessary anymore, since VMs shut down much faster now. Thanks, @marmarek! :)

Member

andrewdavidwong commented Apr 20, 2016

The new option works great, but thankfully it's not even necessary anymore, since VMs shut down much faster now. Thanks, @marmarek! :)

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