Vagrant box freezes on a Mac periodically

Hi, Redditors,

I would like to ask for your help with regards to the following scenario I'm facing.

I'm trying to automate k8s installation through Ansible on "Debian Buster" using vagrant as a test box. I noticed that sometimes during the "testing" process of my "Ansible playbook" my Mac freezes and stops responding. I can move the physical mouse and see the cursor moving, but none of the windows are clickable. I can't close any apps and I can't open a new one. A keyboard doesn't trigger any behavior.

The biggest thing is that I don't think I run into this problem before. This issue started to happen only when I'm doing such experiments with vagrant. I'm not sure where to start or how to approach this problem. During the installation process, I can hear that vents in the mac are spinning fast and it's heating substantially. But I don't think that's the underlying reason (Maybe I'm also wrong here). After the freeze, the only option I have is to perform a "hard shutdown" by holding the physical "on/off" button. Vagrant uses "VirtualBox" with the following config file:

Vagrant.configure("2") do |config| = "debian/buster64" "private_network", ip: ""

config.vm.provider "virtualbox" do |vb|
vb.memory = 4096
vb.cpus = 4

My Mac specs:

MacBook Pro Late 2015 (no touch bar)
Processor Name: Quad-Core Intel Core i7
Processor Speed: 2.8 GHz
RAM: 16 GB

Can you please suggest what can be the underlying reason for something like that? What are things to look at? I think at least finding the root cause of the freeze can help investigate. Thanks in advance.

1 thought on “Vagrant box freezes on a Mac periodically”

  1. There are issues with 10.15.6 and virtualisation (there’s a VMware forum thread about it, but it affects VirtualBox as well). If you have that version, I would try rolling back to 10.15.5 via Time Machine if possible and staying there for the foreseeable future, that’s improved the stability of my MBP no end.


Leave a Comment