I have recently started using VMware and have really enjoyed it thus far.
However, it seems that my Linux Mint 19 virtual machine will occasionally flash in the taskbar as if it was trying to notify me of something and then almost immediately begin causing my entire Windows 10 computer to begin skipping. I need to forcibly kill the VM and VMWare with the Task Manager, which is very difficult when your computer is chugging.
Lowering the number of resources the VM could use helped a bit when needed to kill the process, but it shouldn't be causing these random freezes in the first place.
Sometimes this happens after only 30 minutes of use, sometimes this doesn't happen or many many hours, and I have yet to find a predictable cause.
Could someone tell me where I can find logs that may explain the issue or if this a known issue, and how to resolve it?
Solved.
After this happend on vSphere as well, we did some deep analysis and found out that VMware seems to have a bug regarding USB implementation in the current versions.
After switching USB devices to a network USB switch, everything is working just fine.
For your reference: I am using this model https://www.wut.de/e-53663-ww-dade-000.php
Best regards
Patrick
For me, I found that the issue was due to the number of snapshots I had accumulated.
VMWare apparently checks against all previous snapshots, and the freezing can happen if the delta becomes too large or something like that.
VMWare apparently recommends no more than 4 snapshots.
After reducing my number of snapshots, I am no longer encountering any issues.
Version of Workstation?
Host CPU and memory?
VM CPU and memory?
VMWare Workstation Pro: 16.0.0 build-16894299
Host CPU: Intel Core i7-7700k @ 4.20GHz - 4 cores - 8 logical processers
Host Memory: 48 GB
VM CPU:
# of processors = 1
# of cores = 6
VM Memory: 32 GB
I'm not sure if I configured the CPU right. The instructions on how to set it relative to your own CPU weren't very clear.
Does your VM need 6 vCPUs and 32GB of memory?
The usual logic is to configure only the compute resources that will allow your guest OS and applications to run to the level of performance you desire - so if your VM will do what you want with 2 vCPUs and 8GB of memory then just allocate those (or even less).
Not saying this will resolve your issue here, but you asked for clarity on the "right" configuration.
I would like my VM to perform as quickly as possible and have the ability to use the majority of my host OS's resources without degrading the performance of both. I do a lot of general usage activity paired with heavy software compilation on the VM for my work.
It just happened again and, it's odd, I do not see a spike in CPU or memory usage in Task Manager during the slowdown. I do, however, see a huge spike in disk usage.
This is especially to see it reach so high odd considering I have many RAIDed SSD's.
Now that I think about it, I do not remember having this issue before I migrated my computer to a different RAID array.
Before, my computer had 4 drives in a RAID 10 array. Now it has 6 drives in a RAID 0 array. I am unsure if this could have anything to do with it.
I think I figured it out! I am pretty sure that it is AutoProtect that is causing the slowdown!
I have a massive VM, so it's not quick to backup.
Is there a way to confirm this or some way for me to make it so that autoprotect uses less resources but takes a bit longer?
AutoProtect means lots of snapshots: Configuring AutoProtect Options for a Virtual Machine
I‘ve never seen any VMware product have options to limit the resources consumed during the snapshot creation process.
One other comment worth making, there are many posts appear in these forums where snapshot chains get broken which can render VMs unusable, where restoring from a backup can be the only way of recovering the VM.
If you do use a lot of snapshots, take regular backups. Don’t use snapshots AS backups.
An update on this.
I disabled AutoProtect but it does not seem to have fixed my issue, unfortunately.
I am still getting the occasional freezing of the host system that takes forever to force quit from, and interrupts my work.
If too much RAM is requested by the operating system (Guest or Host whatever) then swapping starts to occur which will freeze your system.
Under Edit - Preferences - Memory, did you enabled "Fit all virtual machine memory into reserved Host RAM" ?
When there is a freeze how much RAM is used/free by the Guest at that moment?
How much RAM is used/free by the Host at that moment?
Under Edit - Preferences - Memory, did you enabled "Fit all virtual machine memory into reserved Host RAM"
I did not have this enabled. Thank you, I will try this out and report if I still get the issue.
Unfortunately, the issue is still happening. I am unsure what s causing it.
1) What is your host OS version? If it's not Win10 2004, could u upgrade it to the latest and retest again?
2) How about if you disable the tool "Defragment and Optimize driver" on host if it's on?
3) Does the issue happen after running for a long time? Or within the few minutes after VM startup?
Best Regards,
Yan
1. It is Windows 10 2004
2. I can try, but it looks like the last time it was run was 5 days ago. I have had it happen much more often than once a week.
3. Both, and in-between. It's very inconsistent. Sometimes it will happen a few minutes after launch, other times it will not happen for 9 or more hours, sometimes after an hour.
It happens both when I am actively using the VM as well as when I just have it running idle in the background. vmware-vmx.exe is the executable that is causing the issue.
>3. Both, and in-between. It's very inconsistent. Sometimes it will happen a few minutes after launch, other times it will not happen for 9 or more hours, sometimes after an hour.
It happens both when I am actively using the VM as well as when I just have it running idle in the background. vmware-vmx.exe is the executable that is causing the issue.
I have same experience with you. I hit this issue one or twice before, but after host restart, it can not reproduce consistently. Sometimes it happens in few minutes after VM startup, sometimes it did not happen after running 2 days. When the issue happen, I can see the CPU and memory usage is not high on host. The only noticeable thing is the disk, it shows speed 50MB/s with the vmx process. Maybe windows is doing something update.
So the last try is to disable Hyper-V, and see if it still happen?
Thanks,
Yan
Hi there,
I seem to be facing the exact same problem. As far as I can tell, it started after upgrading to VMware® Workstation 16 Pro 16.0.0 build-16894299.
It worked fine for months in the exact same configuration. After upgrading to 16894299 my host will sometimes run smoothly for a couple of days, sometimes for 8-10 hours and sometimes it freezes after just a few minutes.
When VMWare Workstation is not running, no issues occur.
I have htop running on my host console, whenever this freeze happens, cpu, mem and so on are nowhere near any limits. With all guests up and running, it looks kind of like this:
(attachment)
host configuration:
guest configuration:
(attachment)
AutoProtect is off.
I have the "feeling" it might have something to do with mapped USB devices, especially a headset for use with Dragon Naturally speaking (IMPACT D 10 USB ML - EU EPOS I SENNHEISER). But that's not based on facts, just my imagination.
Any help very much appreciated.
Best regards
Patrick
Solved.
After this happend on vSphere as well, we did some deep analysis and found out that VMware seems to have a bug regarding USB implementation in the current versions.
After switching USB devices to a network USB switch, everything is working just fine.
For your reference: I am using this model https://www.wut.de/e-53663-ww-dade-000.php
Best regards
Patrick
For me, I found that the issue was due to the number of snapshots I had accumulated.
VMWare apparently checks against all previous snapshots, and the freezing can happen if the delta becomes too large or something like that.
VMWare apparently recommends no more than 4 snapshots.
After reducing my number of snapshots, I am no longer encountering any issues.
Hi there,
Same problem here, vm freezing for about 40sec to 60 sec.
Workstation 16 Pro, 16.2.0 build-18760230 (last version for october 2021).
Vm Ubuntu 20.04, no usb, 1 processor 8 cores, 16Gb Ram.
My host as a AMD Ryzen 7 3700X with 32Gb Ram.
The freeze start with Pro 16 and get worst...
I have diminished ram to 8G, nothing changes.
Don't have any snapshot and auto-protect is disabled.
The vm is encrypted and protected by password and has 5 disks (40Gb - 30Gb - 60Gb - 10Gb - 60Gb)
When freezing, no big activities on the vm and host.
This is really anoying, freezing happens randomly and more than 1 time/hour.
Me too.
In my case AMD Ryzen 9 3900X with 32GB of RAM.
Allocated 16Gb to the guest.
Using Workstation 16 Player: 16.1.1 build-17801498