VirtualBox

Ticket #6846 (closed defect: worksforme)

Opened 4 years ago

Last modified 3 years ago

One guest hangs when host is running multiple guests

Reported by: arangas Owned by:
Priority: major Component: VMM
Version: VirtualBox 3.2.0 Keywords:
Cc: Guest type: Windows
Host type: Windows

Description

I've been regularly having a problem when running two guests at once where one of them will hang. I can see the screen fine but can't click on anything.

If I save state and then restore, the screen looks corrupt (mainly black with white/coloured lines). Sending the shutdown signal does nothing.

I can power off the dead guest and the other will keep running fine.

  • Host: Windows 7 64-bit
  • Guests: Windows 2008 32-bit

Attachments

VBox.log Download (100.2 KB) - added by arangas 4 years ago.
Log file from after dead guest was powered off
VirtualBox_100601_151240.7z Download (365.0 KB) - added by arangas 4 years ago.
Process dump
VBox.2.log Download (80.0 KB) - added by arangas 4 years ago.
VBox.log associated with process dump
VBox.3.log Download (67.1 KB) - added by arangas 4 years ago.
Guest hang with no other VMs running

Change History

Changed 4 years ago by arangas

Log file from after dead guest was powered off

Changed 4 years ago by arangas

Process dump

Changed 4 years ago by arangas

VBox.log associated with process dump

comment:1 Changed 4 years ago by arangas

Attached is a process dump VirtualBox_100601_151240.7z and log VBox.2.log taken of the hung guest. CPU for the hung VirtualBox.exe was also at maximum. The problem seems to occur when one of the guests does not have focus for a number of minutes. The one that doesn't have focus hangs.

comment:2 Changed 4 years ago by arangas

This bug still occurs with VirtualBox 3.2.2 r62321.

comment:3 Changed 4 years ago by frank

This shouldn't happen of course. But one remark: As your host has 2 processor cores it is not that wise to run two guests with 2 CPUs assigned to each guest. Keep in mind that there is some virtualization overhead. Oh, and perhaps assign a bit less memory to the guest as the host needs some memory for caching disk as well.

As a first test you could start both VMs with one guest CPU and see if you still observe hangs.

comment:4 Changed 4 years ago by arangas

Thanks for that advice!

I changed one of the guests to just have 1 CPU and left the other at 2. Unfortunately there were still problems although to be honest I can't remember which VM hung.

I then set them both to use 1 CPU and have had no further issues. Since this seems like a good workaround the priority on this bug could probably be reduced.

comment:5 Changed 4 years ago by arangas

Perhaps I spoke too soon. This may be unrelated to running multiple guests. I just had a single guest running set to use 1 CPU and that hung. I've tried to attach a dump file but it is 580K and over the allowed limit. I have attached the log. Please let me know where to send the dump.

Changed 4 years ago by arangas

Guest hang with no other VMs running

comment:6 Changed 4 years ago by frank

Still relevant with VBox 3.2.10? Note that your host has only 2 CPU cores so it does not make much sense to run two guests in parallel with both having 2 virtual CPUs assigned.

comment:7 Changed 4 years ago by arangas

I don't know. I've been running the guests with 1 virtual CPU since your suggestion. That workaround is fine for me.

comment:8 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use