VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
8 Replies Last post: Nov 13, 2009 5:02 AM by continuum  

vmplayer-daemon 100% of CPU after VM shuts down (Ubuntu 9.10 host) posted: Nov 5, 2009 8:05 PM

Click to view mbonsack's profile Novice 48 posts since
Mar 22, 2004
I'm running several VMs with VMware Player and after a time (particularly right after a VM is shut down) vmplayer-daemon will shoot to 100% CPU usage. The strange thing is, when I kill it the problem goes away, existing VMs continue to run and new ones can still be started. So, just what does vmplayer-daemon do?

EDIT Moderator, you can move this to VMware Player forum; I didn't look to see that there was a separate forum for that until just after I posted this.

Click to view rexxman's profile Novice 20 posts since
Mar 28, 2007

I have exactly the same problem with just 2 VMs running.

Shut one VM down, either normal guest shutdown or suspend and vmplayer-daemon shoots to 100% CPU.

This is with VMware Player 3.0 running on 32bit ubuntu 9.10.

I tried killing vmplayer-daemon too and it didn't seem to have any adverse affects.

It would be good to know how to avoid this behaviour.

Cheers, Mark

Click to view cmsgraham's profile Lurker 3 posts since
Nov 12, 2009

Same issue,

Vmware Player 3.0 on Ubuntu 9.10 and this happened after close a Win7 VM

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2428 xxxxxxx 20 0 60856 7312 6412 R 102 0.2 8:28.34 vmplayer-daemon


Click to view continuum's profile Guru 12,624 posts since
Dec 18, 2003
are these VMs configured with 2 CPUs ? - that does not work well on Ubuntu 9.10

___________________________________

VMX-parameters- VMware-liveCD - VM-Sickbay

Click to view cmsgraham's profile Lurker 3 posts since
Nov 12, 2009

Processors = 1

#!/usr/bin/vmware
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "7"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "1280"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Windows 7.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.virtualDev = "e1000"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.linkStatePropagation.enable = "TRUE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
mks.enable3d = "TRUE"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
isolation.tools.hgfs.disable = "TRUE"
roamingVM.exitBehavior = "go"
tools.syncTime = "TRUE"
displayName = "Windows 7"
guestOS = "winvista"
nvram = "Windows 7.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
printers.enabled = "TRUE"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "F:\"
sharedFolder0.guestName = "F"
sharedFolder0.expiration = "never"
sharedFolder.maxNum = "1"
hgfs.mapRootShare = "TRUE"
hgfs.linkRootShare = "TRUE"
tools.upgrade.policy = "upgradeAtPowerCycle"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"

extendedConfigFile = "Windows 7.vmxf"

checkpoint.vmState = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 5b c1 1c fc 20 f7-c3 f9 7f 32 3f e3 03 37"
uuid.bios = "56 4d 5b c1 1c fc 20 f7-c3 f9 7f 32 3f e3 03 37"
unity.wasCapable = "FALSE"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
usb:0.present = "TRUE"
usb:1.present = "TRUE"
ethernet0.generatedAddress = "00:0c:29:e3:03:37"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "-2129993074"
usb:1.deviceType = "hub"
usb:0.deviceType = "mouse"
ide1:0.autodetect = "TRUE"

ide1:0.startConnected = "TRUE"
floppy0.present = "FALSE"
cleanShutdown = "TRUE"
replay.supported = "FALSE"
replay.filename = ""

Click to view rexxman's profile Novice 20 posts since
Mar 28, 2007
Each VM has 1 CPU. Happens every time I have 2 VMs running and shut one down, so it should be very easy to replicate.
Click to view continuum's profile Guru 12,624 posts since
Dec 18, 2003
Happens every time I have 2 VMs running and shut one down

that should show in the vmware.log - post one please

___________________________________

VMX-parameters- VMware-liveCD - VM-Sickbay

Click to view rexxman's profile Novice 20 posts since
Mar 28, 2007

I've done some more testing of this issue. You don't even have to be running a VM for this issue to occur.

If you start two instances of the VMware Player launcher (not sure what it is really called) and then close one, vmplayer-daemon goes to 100%. Close the other VMware Player launcher and vmplayer-daemon reverts to using insignificant CPU. You don't need to start a VM.

As there has been no VM started, then the contents of the vmware.log (which is VM-specific) is not going to show anything related to this problem.

I've looked at all of the log files in /tmp/vmware-mark/ but nothing changes when the first VMware Player launcher is closed.

Click to view continuum's profile Guru 12,624 posts since
Dec 18, 2003
maybe the vmplayer is trying to update the tools - this usually fails

___________________________________

VMX-parameters- VMware-liveCD - VM-Sickbay

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities