Linux VM aborts randomly on MacOS 10.15.6 Host

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
mlemnian
Posts: 4
Joined: 20. Sep 2020, 16:37

Linux VM aborts randomly on MacOS 10.15.6 Host

Post by mlemnian »

Hello together,

recently I switched from a Windows Host machine to a Macbook Pro 16".
For my backend development, I'm using a VirtualBox Linux VM based on CentOS 7.

Currently, I'm facing random crashes (abortions) of my dev-env-VM.
It seems that the crashes occur every time away from the keyboard (the screensaver is active) or I'm clicking on an application in the host system.
I attached the VB logs and the MacOS console log.

I configured the following stuff for the VM:
* disabled the audio for the guest VM (see Screenshot 2020-09-20 at 16.07.28.png)
* disabled 3d acceleration
* disabled the Remote Display
* 6 Cores
* 9GiB RAM
* Enabled PAE/NX
* Paravirtualization Interface: default and enabled "Nested Paging"

I explicitly configured the following Security Settings for VirtualBox within MacOS:
* granted Full Disk Access
* revoked Input Monitoring (I also disabled the "Auto Capture Keyboard" setting in VB preferences)
Attachments
audio is disabled
audio is disabled
Screenshot 2020-09-20 at 16.07.28.png (88.8 KiB) Viewed 1433 times
Logs.zip
VB logs
(101.8 KiB) Downloaded 12 times
console.log
MacOS console log after crashing
(105.68 KiB) Downloaded 9 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: Linux VM aborts randomly on MacOS 10.15.6 Host

Post by scottgus1 »

The only thing I see is that you have all six physical cores available for the guest to use. Try to achieve stable running on two cores, then increase. The host needs something to run on, too.
mlemnian
Posts: 4
Joined: 20. Sep 2020, 16:37

Re: Linux VM aborts randomly on MacOS 10.15.6 Host

Post by mlemnian »

scottgus1 wrote:The only thing I see is that you have all six physical cores available for the guest to use. Try to achieve stable running on two cores, then increase. The host needs something to run on, too.
I decreased the number of cores to 3, otherwise, all the programs (IDE, several docker containers, application server, browser, ...) inside the VM are unusable, but still the same issue:
After some time the VM just aborts.

ps: the VM was created via vagrant and is based on a centos vagrantbox. I have the impression, that the VM is more unstable when I use "vagrant up" rather than the VirtualBox Manager.
granada29
Volunteer
Posts: 704
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Linux VM aborts randomly on MacOS 10.15.6 Host

Post by granada29 »

@mlemnian

Have you installed the supplemental update to 10.15.6 ? Without the update there is a major kernel memory leak and I wonder if that may be the cause of your problem
mlemnian
Posts: 4
Joined: 20. Sep 2020, 16:37

Re: Linux VM aborts randomly on MacOS 10.15.6 Host

Post by mlemnian »

granada29 wrote:@mlemnian

Have you installed the supplemental update to 10.15.6 ? Without the update there is a major kernel memory leak and I wonder if that may be the cause of your problem
@granada29
I did the supplemental update because I had huge issues with VirtualBox and VMware.
mlemnian
Posts: 4
Joined: 20. Sep 2020, 16:37

Re: Linux VM aborts randomly on MacOS 10.15.6 Host

Post by mlemnian »

Hello together,

today I updated to macOS 10.15.7, but the issue is still present.
Post Reply