segunda-feira, 12 de outubro de 2015

VMWARE-VMX eating CPU 100% and FREEZES HOST UBUNTU

Hi

we have a HOST ubuntu machine running VMPlayer and vmware-vmx was eating CPU to 100% or almost 400% ( with 4 CPU configured )

After several "google searches" i seem to have found the issue is this thread:

https://communities.vmware.com/thread/499790?start=30&tstart=0


Just run this on terminal and the rebot host UBUNTU


 vblank_mode=0 /usr/lib/vmware/bin/vmplayer

This not WORK!!!!


SOLVED:

edit the file rc.local and add the lines below....

sudo vi /etc/rc.local

if test -f /sys/kernel/mm/transparent_hugepage/enabled; then
   echo never > /sys/kernel/mm/transparent_hugepage/enabled
fi
if test -f /sys/kernel/mm/transparent_hugepage/defrag; then
   echo never > /sys/kernel/mm/transparent_hugepage/defrag
fi
exit 0