One CPU being soaked by VBoxSVC

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Yaytay
Posts: 14
Joined: 2. Aug 2008, 19:48

One CPU being soaked by VBoxSVC

Post by Yaytay »

Hi,

Host: 32 bit Vista.
Guest: 32 bit Windows Server 2008.
Virtual Box 2.0.2

The guest has been running for about four hours and now I'm seeing one thread stuck thrashing.
I had the same behaviour yesterday with the result that the whole system became unusable and the VM wouldn't shut down.

The guest OS is relatively idle (as idle as Windows server ever gets).

The host has four cores, so the impact is a constant CPU utilisation of 20-25%.

From running Process Explorer I've grabbed a few stack traces, but obviously I don't have symbols so don't believe it all:
ntkrnlpa.exe!KiSwapContext+0x26
ntkrnlpa.exe!KiSwapThread+0x44f
ntkrnlpa.exe!KeWaitForSingleObject+0x492
ntkrnlpa.exe!KiSuspendThread+0x18
ntkrnlpa.exe!KiDeliverApc+0x138
ntkrnlpa.exe!KiCheckForKernelApcDelivery+0x24
ntkrnlpa.exe!MmAccessFault+0x2013
ntkrnlpa.exe!KiTrap0E+0xdc
ntdll.dll!memcpy+0x33
ntdll.dll!RtlpReAllocateHeap+0x9da
ntdll.dll!RtlReAllocateHeap+0x2bf
fastprox.dll!CBasicBlobControl::sReallocate+0x4e
fastprox.dll!CWbemObject::Reallocate+0x25
fastprox.dll!CWbemInstance::ExtendInstancePartSpace+0x35
fastprox.dll!CWbemInstance::CopyBlobOf+0x8c
fastprox.dll!CClientLoadableHiPerfEnum::Copy+0xb3
fastprox.dll!CUniversalRefresher::CNonHiPerf::CEnumRequest::Copy+0x11
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0xc9
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b


ntkrnlpa.exe!PerfInfoLogInterrupt+0x43
hal.dll!HalpCheckForSoftwareInterrupt+0x64
hal.dll!HalEndSystemInterrupt+0x73
hal.dll!HalpIpiHandler+0x189
msvcrt.dll!memcpy+0xfc
fastprox.dll!CWbemInstance::CopyBlobOf+0x117
fastprox.dll!CClientLoadableHiPerfEnum::Copy+0xb3
fastprox.dll!CUniversalRefresher::CNonHiPerf::CEnumRequest::Copy+0x11
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0xc9
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b


ntkrnlpa.exe!KiSwapContext+0x26
ntkrnlpa.exe!KiSwapThread+0x44f
ntkrnlpa.exe!KeWaitForSingleObject+0x492
ntkrnlpa.exe!KiSuspendThread+0x18
ntkrnlpa.exe!KiDeliverApc+0x138
hal.dll!HalpDispatchSoftwareInterrupt+0x49
hal.dll!HalpCheckForSoftwareInterrupt+0x64
hal.dll!HalEndSystemInterrupt+0x73
hal.dll!HalpIpiHandler+0x189
msvcrt.dll!__ascii_strnicmp+0xc5
msvcrt.dll!_VEC_memcpy+0x52
fastprox.dll!CWbemInstance::Clone+0x100
WmiPerfInst.dll!RefreshEnumAfterQuery+0x4de
WmiPerfInst.dll!CInstRefresher::Refresh+0x152
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0x29
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b


ntkrnlpa.exe!KiSwapContext+0x26
ntkrnlpa.exe!KiSwapThread+0x44f
ntkrnlpa.exe!KeWaitForSingleObject+0x492
ntkrnlpa.exe!KiSuspendThread+0x18
ntkrnlpa.exe!KiDeliverApc+0x138
hal.dll!HalpDispatchSoftwareInterrupt+0x49
hal.dll!HalpCheckForSoftwareInterrupt+0x64
hal.dll!HalEndSystemInterrupt+0x73
hal.dll!HalpIpiHandler+0x189
msvcrt.dll!__ascii_strnicmp+0xbb
msvcrt.dll!_VEC_memcpy+0x52
fastprox.dll!CWbemInstance::Clone+0x100
WmiPerfInst.dll!RefreshEnumAfterQuery+0x4de
WmiPerfInst.dll!CInstRefresher::Refresh+0x152
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0x29
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b

Hope this is helpful.

Yaytay
sandervl
Volunteer
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, Solaris

Post by sandervl »

Check this solution.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Post by SSCBrian »

sandervl wrote:Check this solution.
Ummm, I don't see a solution there, just a bug report...
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

SSCBrian wrote:
sandervl wrote:Check this solution.
Ummm, I don't see a solution there, just a bug report...
It says
Attempt nr 2; you can download replacement files for VBoxSVC.exe & VBoxC.dll
with a link to some files. That is the solution. Download them and replace the existing files. That should solve it.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Post by SSCBrian »

Thanks! I even had to look at it a couple times to find that once it was pointed out to me. :-)
Yaytay
Posts: 14
Joined: 2. Aug 2008, 19:48

Post by Yaytay »

sandervl wrote:Check this solution.
Thanks, I'm trying them now.
It took some running time before I hit the problem, so I'll let you know later if it seems to fix it.

One oddity: someone on the bug report reckoned it changed their version number to 2.0.3, mine is 2.0.2_AQ.

Jim
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Post by SSCBrian »

Yaytay wrote:
sandervl wrote:Check this solution.
Thanks, I'm trying them now.
It took some running time before I hit the problem, so I'll let you know later if it seems to fix it.

One oddity: someone on the bug report reckoned it changed their version number to 2.0.3, mine is 2.0.2_AQ.

Jim
No problems extracting it? I'm going to try one more time, but have already downloaded it a couple times and it won't extract. "Invalid header"...
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Post by SSCBrian »

Are you doing 32-bit or 64-bit?

64-bit file seems to be corrupt.
Yaytay
Posts: 14
Joined: 2. Aug 2008, 19:48

Post by Yaytay »

SSCBrian wrote:Are you doing 32-bit or 64-bit?

64-bit file seems to be corrupt.
I'm 32 bit, and it does seem to have fixed my problems.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Post by SSCBrian »

Has anyone tried the 64-bit version? I still can't even extract it. Decompression states that the file is corrupt. :(
Yaytay
Posts: 14
Joined: 2. Aug 2008, 19:48

Post by Yaytay »

SSCBrian wrote:Has anyone tried the 64-bit version? I still can't even extract it. Decompression states that the file is corrupt. :(
There is a comment on another thread that says that people have had problems when they download it using IE.
I've just downloaded the 64 bit version using Firefox and I can open the zip fine.

Not tried installing it yet, haven't actually installed 2.0.2 on my x64 Vista yet.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Post by SSCBrian »

Yaytay wrote:There is a comment on another thread that says that people have had problems when they download it using IE.
I've just downloaded the 64 bit version using Firefox and I can open the zip fine.
Yep, that was the issue. Getting damaged for some reason when downloaded by IE. Worked fine in Safari!

Thanks much! I hadn't even noticed another thread about this!
Post Reply