Server 2016 guest becomes unresponsive after some time

Discussions related to using VirtualBox on Linux hosts.

Server 2016 guest becomes unresponsive after some time

Postby r00f » 6. Sep 2021, 11:17

I'm using Virtualbox 6.1.22 on Centos 7.9

It is running 3 VMs, two behave perfectly fine but the one that has terminal server on it goes totally unresponsive after some time, CPU usage goes to 100% while at this same time on host things are running smoothly, and two other VMs have no performance impact at all.
I cannot attribute it to heavy usage, as it is still not in full production state and maximum user sessions have never been over 10.

Please suggest what I am doing wrong.
Attachments
vboxlog.zip
(77.11 KiB) Downloaded 4 times
r00f
 
Posts: 2
Joined: 6. Sep 2021, 11:07

Re: Server 2016 guest becomes unresponsive after some time

Postby scottgus1 » 6. Sep 2021, 15:31

You're getting regular restarts of the Guest Additions services, too, which is strange. Or maybe that's users on Terminal Services logging on.

I see a couple things to try:

Paravirtualization:
00:00:00.587393 GIM: Using provider 'None' (Implementation version: 0)

Set the VM's System settings, Acceleration, Paravirtualization Interface to 'Hyper-V'. 'Paravirtualization Interface' is a comm channel for virtualization-aware OS's to talk to whatever hypervisor is running them, so they can run more efficiently. This does not have any reference to Windows hosts' Hyper-V.

Host CPU status:
00:00:01.296866 CPUM: Logical host processors: 16 present, 16 max, 16 online, online mask: 000000000000ffff
00:00:01.297473 CPUM: Physical host cores: 8
00:00:01.297979 Full Name: "Intel(R) Xeon(R) CPU X5570 @ 2.93GHz"
Guest CPU settings:
00:00:00.402906 NumCPUs <integer> = 0x0000000000000008 (8)

r00f wrote:I'm using Virtualbox 6.1.22 on Centos 7.9 ... It is running 3 VMs


You could be overdriving the host processor. Forum gurus report that hyperthreading does not help Virtualbox. Gurus also report that the VM's 'processors' are not the actual host processor cores, but rather are threads on the host. With two other VMs running and 8 threads running through an 8-core host processor, could be it's too much. How many processors do the other VMs have? (Under some esoteric situations, like compiling, it can be possible to run more VM threads than there are cores hyperthreaded or not on the host. But in most typical usage, more threads than the host has got could be bad.)

Try setting Paravirtualization to Hyper-V, see what you get. Then try running with less processors in the VM.
scottgus1
Site Moderator
 
Posts: 13748
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Server 2016 guest becomes unresponsive after some time

Postby r00f » 24. Sep 2021, 11:33

Sorry for late reply.

I've tried HyperV setting, and nothing changed.

I will try to move other VMs to different server and report how did it help.
r00f
 
Posts: 2
Joined: 6. Sep 2021, 11:07


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: Google [Bot] and 13 guests