[Resolved] VMs shut down automatically. Please help

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Zamy
Posts: 7
Joined: 24. Sep 2018, 09:42

[Resolved] VMs shut down automatically. Please help

Post by Zamy »

Hello. I have problem with my VMs. I have two WinServers 2016 - one for AD/DHCP/DNS and second for Exchange. Both only for testing and trying.
Both VMs sometimes automatically shut down and its problem, because i can´t install Exchange on server because the time of install Exchange is long about 2 hours and my VM shut down after 1 hour approximately.

Thanks for help.
Attachments
VMs LOGS-2018-09-21-21-25-18.zip
(50.64 KiB) Downloaded 272 times
Last edited by socratis on 26. Sep 2018, 16:53, edited 1 time in total.
Reason: Marked as [Resolved].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VMs shut down automatically. Please help

Post by socratis »

00:00:01.673995 Host RAM: 8046MB (7.8GB) total, 3583MB (3.4GB) available
00:00:01.781296 RamSize  <integer> = 0x0000000080000000 (2 147 483 648, 2 048 MB)
00:00:01.781499 VRamSize <integer> = 0x0000000008000000 (134 217 728, 128 MB)
You have less than 3.4 GB available on your host and you assign 2 + 2 GB for your VMs. Plus 256 MB for VRAM, plus some overhead. Are you sure you're not running short on resources on your host? Are you keeping tabs on the RAM available on your host? Maybe you're stressing the whole thing?

Try with 1.5 GB for your guests, and close all open apps on your host. Try it again and see what happens...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Zamy
Posts: 7
Joined: 24. Sep 2018, 09:42

Re: VMs shut down automatically. Please help

Post by Zamy »

Thanks for reply. I try set on DC server 1 GB and on Exchange server 2 GB RAM because 1,5 GB wasn´t sufficient and problem persist. When I turn on both servers, task manager show me approximately 6 GB RAM used and 2 GB available.
I add today´s logs to the attachment.
Attachments
VMs-2018-09-25-08-43-04.zip
(49.8 KiB) Downloaded 219 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VMs shut down automatically. Please help

Post by socratis »

01:01:30.495090 VMMDev: Guest requests the VM to be turned off
01:01:30.495251 Changing the VM state from 'RUNNING' to 'POWERING_OFF'
I see that the guest itself is asking for the VM to be powered down, both of them. So, I'm not quite sure what's going on here. You don't crash, you shutdown normally, from within the guest.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
BillG
Volunteer
Posts: 5104
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: VMs shut down automatically. Please help

Post by BillG »

Exchange Server has always been a CPU hog. I doubt that you will ever get this to run with only 8G in the host.
Bill
Zamy
Posts: 7
Joined: 24. Sep 2018, 09:42

Re: VMs shut down automatically. Please help

Post by Zamy »

It´s not a reason why my VMs shut down. The situation was same before installation Exchange.
The problem is I turn on the VMs. I go for a few minutes away and when I come back to computer, VMs are turn off. :/
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VMs shut down automatically. Please help

Post by socratis »

And as it's shown from the logs, the VMs do not crash, they shut down normally. Can you go to each VM and disable all power-saving energy/power plans? I have the suspicion that when your host goes into low power mode, the guests receive that as a signal to shut down.

I repeat, there's no crash, the VMs are shutting down after they ask to be shut down normally.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Zamy
Posts: 7
Joined: 24. Sep 2018, 09:42

Re: VMs shut down automatically. Please help

Post by Zamy »

I think it´s not the problem. On the host I have turn on high permormance. Once I try to every minute click to the both VM´s and move with mouse for "keep VM turn on" and it didn´t help.
Thanks for try to help me. In the worst I reinstall virtualbox and VM´s or Windows.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VMs shut down automatically. Please help

Post by socratis »

Zamy wrote:I think it´s not the problem. On the host I have turn on high permormance.
How about automatic updates/reboots? Any chance that the guests are doing background updates and Windows decides to apply them? Something is shutting down the VM from within the VM.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: VMs shut down automatically. Please help

Post by Martin »

Are you using unactivated or eval versions of Windows Server 2016 after 180 days? These will shutdown automatically after one hour.
Zamy
Posts: 7
Joined: 24. Sep 2018, 09:42

Re: VMs shut down automatically. Please help

Post by Zamy »

I update Windows regulary, not in backround, but manually.
Yes, I have unactived Windows 2016, but I have it about one, max two weeks.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VMs shut down automatically. Please help

Post by socratis »

Martin,
Brilliant, simply brilliant! 8)
[color=#BF0000]VM1[/color] wrote:
01:01:30.495090 VMMDev: Guest requests the VM to be turned off
01:01:30.495251 Changing the VM state from 'RUNNING' to 'POWERING_OFF'
[color=#BF0000]VM2[/color] wrote:
01:02:10.025860 VMMDev: Guest requests the VM to be turned off
01:02:10.025907 Changing the VM state from 'RUNNING' to 'POWERING_OFF'
Zamy, you need to activate Windows, no matter what. From what I've read, it will shut down every hour, until it gets activated. At that point you have 180 days to evaluate it, with some options to increase the evaluation period. But if not activated, it will shut down every hour!
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Zamy
Posts: 7
Joined: 24. Sep 2018, 09:42

Re: VMs shut down automatically. Please help

Post by Zamy »

Okey, thanks very much. It´s interesting, because Windows shuld be free for 180 days, but I have it max two weeks.
Thanks for help :)
Zamy
Posts: 7
Joined: 24. Sep 2018, 09:42

Re: VMs shut down automatically. Please help

Post by Zamy »

Thanks all and thank you Martin, problem was that I don´t have activation Win. After use command slmgr -rearm it´s work. Thank you very much :)
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VMs shut down automatically. Please help

Post by socratis »

Great, thanks for the feedback. Marking as [Resolved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply