Questions and Answers : Windows : Virtualbox has active connections when shutting down Windows 10
Message board moderation

To post messages, you must log in.

AuthorMessage
Mr P Hucker
Avatar

Send message
Joined: 12 Aug 06
Posts: 418
Credit: 5,667,249
RAC: 3
Message 42628 - Posted: 27 May 2020, 13:00:28 UTC

Whenever I shut down Windows 10, and Virtualbox is in use (eg an LHC task), Windows says "Virtualbox has active connections". I can force it to stop, but if it's a remote computer this is annoying or very difficult to do, and it doesn't seem right to force stop a running project. If I wait, Windows eventually gives up and goes back to the desktop. Sometimes if I try to shut down again, it works, but sometimes I get the same error message again. I've done a Google search and this seems to have been a problem for years. Is this a Virtualbox problem, a Windows 10 problem, a Boinc problem, or an LHC problem?
ID: 42628 · Report as offensive     Reply Quote
Crystal Pellet
Volunteer moderator
Volunteer tester

Send message
Joined: 14 Jan 10
Posts: 1280
Credit: 8,492,067
RAC: 2,007
Message 42629 - Posted: 27 May 2020, 14:58:52 UTC - in response to Message 42628.  

You should give vboxwrappers the time to save the virtual machines to disk before shutting down the OS.
Simpliest method is to stop BOINC's client ahead and wait some minutes.
Even better is to suspend all tasks 'ready to start' first and then the running VBox-tasks one after another with some time interval.
Leave non-GPU tasks in memory while suspended should not be ticked in computing preferences.
ID: 42629 · Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 12 Aug 06
Posts: 418
Credit: 5,667,249
RAC: 3
Message 42631 - Posted: 27 May 2020, 18:01:24 UTC - in response to Message 42629.  
Last modified: 27 May 2020, 18:03:22 UTC

You should give vboxwrappers the time to save the virtual machines to disk before shutting down the OS.
Simpliest method is to stop BOINC's client ahead and wait some minutes.
Even better is to suspend all tasks 'ready to start' first and then the running VBox-tasks one after another with some time interval.


Sorry, but every other program responds to my request to shut down within seconds. There's no reason VB ignores me. Windows 10 can hibernate the machine in seconds, so why can't VB "hibernate" it's own system in seconds? Both are writing the RAM to disk, which I see no evidence of as there's no disk activity. I'll just have to click "shut down anyway". Your suggestion is actually more work for me.

Leave non-GPU tasks in memory while suspended should not be ticked in computing preferences.


But I was told to tick that to prevent VB from having problems due to Boinc pausing it often to switch between projects or for exclusive applications.
ID: 42631 · Report as offensive     Reply Quote

Questions and Answers : Windows : Virtualbox has active connections when shutting down Windows 10


©2024 CERN