VirtualBox aborted frequently recently

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
katew
Posts: 3
Joined: 5. Mar 2022, 04:15

VirtualBox aborted frequently recently

Post by katew »

Hi,

I've been using virtualbox for nearly one year. But recently it keeps aborting several times in one day, especially after the update this month. My host is Mac OS X(4-core, 8G ram), the guest is gentoo(2-core, 5G ram). The log is attached. Thank you for your time.
Attachments
gentoo-2022-09-18-13-47-11.log
(86.47 KiB) Downloaded 150 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox aborted frequently recently

Post by mpack »

This may not be all of it, but you are giving the VM resources you don't have.
00:00:02.010601 Host RAM: 8192MB (8.0GB) total, 4537MB (4.4GB) available
...
00:00:02.270523 RamSize <integer> = 0x0000000160000000 (5 905 580 032, 5 632 MB, 5.5 GB)
00:00:02.270877 VRamSize <integer> = 0x0000000010000000 (268 435 456, 256 MB)
You need to free up host RAM, or add more, or reduce the VM's RAM allocation to around 3GB.

You are also giving the VM both of the host's cores. That can lead to instability, but there's no good solution for that. Basically this host is not designed to run two modern 64-bit OS at the same time.

You are also using a rather large HD+ display size (2K), without enabling 3D acceleration. This unaccelerated graphics engine isn't up to this and it can again lead to instability or just poor performance.

I can't say much else because the log is incomplete. Don't grab logs while the VM is still running.
katew
Posts: 3
Joined: 5. Mar 2022, 04:15

Re: VirtualBox aborted frequently recently

Post by katew »

Thank you very much for your prompt reply. But I didn't encounter this problem and everything was quite smooth a month ago. It happened recently even when I didn't run any other application except virtualbox on MacOS and the virtual box only had a terminal and a browser running for viewing some text. Sometimes it aborted without me by the computer for a few minutes.

I've updated the full logs again. Sorry for the prior inconvenience. Would you please have another look? thanks!
Attachments
vm system setting screenshot 2
vm system setting screenshot 2
system_settings_2.png (48.67 KiB) Viewed 12950 times
vm system setting screenshot 1
vm system setting screenshot 1
system_settings_1.png (98.1 KiB) Viewed 12950 times
Logs.zip
logs from virtualbox logs folder
(74.98 KiB) Downloaded 8 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VirtualBox aborted frequently recently

Post by scottgus1 »

The logs show no changes pertinent to Mpack's suggesstions:
mpack wrote:You need to free up host RAM, or add more, or reduce the VM's RAM allocation to around 3GB.
....
You are also using a rather large HD+ display size (2K), without enabling 3D acceleration.
the latest log wrote:00:00:02.230014 Host RAM: 8192MB (8.0GB) total, 4705MB (4.5GB) available
00:00:02.519353 RamSize <integer> = 0x0000000160000000 (5 905 580 032, 5 632 MB, 5.5 GB)
....
00:00:02.519731 3DEnabled <integer> = 0x0000000000000000 (0)
00:00:02.519739 VMSVGA3dEnabled <integer> = 0x0000000000000000 (0)
Changing nothing will result in nothing different happening. :wink: (I didn't discuss the two processors in the VM, because there's nothing that can be done about that.)

Host RAM can fluctuate, depending on what apps you have running, so you have to reduce host usage to run that much RAM in the VM, or reduce VM RAM to run that much on the host.

The last log ran for 13-ish minutes, this log ran for 3.5 hours. Doesn't sound like a VM OS problem to me.
katew wrote:I didn't encounter this problem and everything was quite smooth a month ago.
Things can change on a computer in a month: host OS updates, new hardware & peripherals, new apps...

Please make the changes that Mpack recommended about RAM and 3D acceleration, which will require Guest Additions in the VM, see https://www.virtualbox.org/manual/ch04. ... ions-linux and https://www.virtualbox.org/manual/ch02. ... nux-prereq
katew
Posts: 3
Joined: 5. Mar 2022, 04:15

Re: VirtualBox aborted frequently recently

Post by katew »

Thanks to both of you for your detailed analysis and suggestion, I will try it.
Post Reply