100% use of memory when restoring

Discussions about using Windows guests in VirtualBox.
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

100% use of memory when restoring

Post by Caesar »

I dont speak english well, i'll try explain whats happening.
Im using win 10 host, and win7 guest

I have 2 VM configured to 16gb ram each, and only 3D enabled:


3_Easy-Resize.com.jpg
3_Easy-Resize.com.jpg (126.09 KiB) Viewed 2870 times


The problem is when i try restore they. Doesn't matter which one i restore first, when i try restore the second, it makes my disk and memory go to 100% and make my PC dead, each vm is setted to 16gb my notebook have 64gb ram


a_Easy-Resize.com.jpg
a_Easy-Resize.com.jpg (115.24 KiB) Viewed 2863 times
2.png
2.png (56.33 KiB) Viewed 2870 times


If i restart both VM, open all my things again, delete old snapshot make a new one, close both VM, load snapshots did recently: restore, it works, nicely. But if i use the VMs for like 1 day and try restore they again, that problem backs, when i restore the second VM makes my ram,disk goes to 100% and my pc dead.
Last edited by Caesar on 23. Mar 2017, 18:36, edited 5 times in total.
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: 100% use of memory when restoring

Post by socratis »

If you have to include a screenshot, include it here locally. All non-site links will be removed.
And I repeat the "if you have to". If it adds nothing to the story, please don't. It's better to include a VBox.log.

So, start both VMs. Shut down both VMs after 10 min. Find their logs by right-clicking on each VM, "Show log". ZIP both logs and attach them.
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.
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

Re: 100% use of memory when restoring

Post by Caesar »

Logs:
logs.rar
(45.8 KiB) Downloaded 8 times
Last edited by Caesar on 23. Mar 2017, 19:09, edited 1 time in total.
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: 100% use of memory when restoring

Post by socratis »

I removed the partial text logs. Please ZIP the whole log and attach it. It saves a tree or two...
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.
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

Re: 100% use of memory when restoring

Post by Caesar »

It could be happening because my Vms have low disk space?
aaaa.png
aaaa.png (56.15 KiB) Viewed 2861 times

Could you help me?
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: 100% use of memory when restoring

Post by socratis »

VM1
00:00:01.849597 Log opened 2017-03-23T16:11:07.354430100Z
00:00:01.916126 Console: Machine state changed to 'Restoring'
00:02:44.300604 VMMDev: Guest requests the VM to be turned off
VM2
00:00:01.885569 Log opened 2017-03-23T17:03:38.194596400Z
00:00:01.964128 Console: Machine state changed to 'Restoring'
00:04:04.686201 VMMDev: Guest requests the VM to be turned off
So, you didn't restore the 2nd VM while the 1st VM was running. So, obviously you didn't see the error. Neither could I in the logs. Please try again to recreate the conditions where you see the error.

And as I said, if you don't have to include a screenshot, don't. In the last one you simply could have said: "I have 8.6 GB free out of the 24 GB total in the VM's HD". It's easier to search for text compared to a picture. And if you have to include a picture, please downsize your attached images by 50% (at least). Not everyone is blessed with a HiDPI display ;)
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.
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

Re: 100% use of memory when restoring

Post by Caesar »

If i restore the second while the first running, the second never turn on, keeps in restauring forever and make my pc goes to 100% and unable to use
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: 100% use of memory when restoring

Post by socratis »

What do the logs show after about a minute or two after resuming the 2nd VM? That's what I'd like to know... Or actually even better, start the 2nd VM, let it go to 100% for a minute and then abort the VM. That will force the logs to be written to the disk, so we'll have a complete log for both VMs. To summarize:
  • Start/resume the 1st VM. Let it go for a minute.
  • Resume the 2nd VM. Let it go for a minute while it's trying to start with the CPU at 100% and the memory going high.
  • Abort the 2nd VM.
  • Shutdown the 1st VM.
  • Get the VBox.log for VM1 and VM2, zip them together and attach them.
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.
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

Re: 100% use of memory when restoring

Post by Caesar »

I did exactly like you said, turned on first machine, waited 1 min, turned on second machine, it took many minutes restoring, when i it was near to finish the restoration, my ram burned to 100% my pc freezed for like 5minutes~~ while i was clicking many times to try abort the vm :x :x :x then it aborted




Follow the logs:
logs.rar
(40.03 KiB) Downloaded 10 times



EDIT: "What do the logs show after about a minute or two after resuming the 2nd VM? That's what I'd like to know.."

The problem is not in the 2nd VM, if i start the 2nd VM first it opens nicely, then when i restore the other VM will happen the same thing. The problem is always when i restore the second VM independent witch one i opened first, when the second vm finishing the restoring it freeze my pc and ram, disk goes 100%
Last edited by Caesar on 27. Mar 2017, 00:05, edited 1 time in total.
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

Re: 100% use of memory when restoring

Post by Caesar »

I reproduced the problem again starting vm 1 first, and after starting vm 2 first
logs.rar
(33.2 KiB) Downloaded 7 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: 100% use of memory when restoring

Post by socratis »

I don't see anything strange in the logs, maybe someone else can.
Just one question: are these VMs clones of each other? I don't know if it has anything to do with it, I just get this "feeling"...
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.
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

Re: 100% use of memory when restoring

Post by Caesar »

They are not clones.

Like i said, if i delete the snapshots, open all my things again, make new snapshot, close vms > restore, i can open both at same time that it works perfectly, but if i use those snapshots for like 1 day > close vms > reboot or no, my PC > run virtual box > try open those 2 vm that problem backs when restoring the 2nd.


In logs each time it starts draining all my ram/disk until make my pc dead shows that:

00:02:14.697148 OpenGL Warning: cleaning gl error (0x500), ignoring.. (1 out of 5) ..
00:02:15.095957 OpenGL Warning: cleaning gl error (0x500), ignoring.. (2 out of 5) ..
00:02:15.428413 OpenGL Warning: cleaning gl error (0x500), ignoring.. (3 out of 5) ..
00:02:15.555788 OpenGL Warning: cleaning gl error (0x500), ignoring.. (4 out of 5) ..
00:02:15.653380 OpenGL Warning: cleaning gl error (0x500), ignoring.. (5 out of 5) ..

I've no idea what that means :'( im running in those VMs many clients of a game, like 30+, they use opengl, and 3d, it works perfectly while im using both vm, and uses like 30% of vm cpu and 50% vm ram, the problem is always when i try restore 2nd vm (Independent which one started first), after use it for 1 day +-
Last edited by Caesar on 24. Mar 2017, 10:46, edited 2 times in total.
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: 100% use of memory when restoring

Post by socratis »

If no one else has any ideas, you should head to the bugtracker and either search for an appropriate bug, or open a new bug report where you'll attach your logs and other vital information.
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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: 100% use of memory when restoring

Post by mpack »

Well, both VMs are running with a single core and sharing I/O time to a single disk, single host bus, single network. Delayed start might work better for one of the VMs. Is the disk an SSD?
Caesar
Posts: 31
Joined: 31. Dec 2015, 11:50

Re: 100% use of memory when restoring

Post by Caesar »

Hey bro its not ssd and its a notebook, i did disk defrag and i have 80% disk free space on host, i already tried start it using those option "start headless and the other option" but it dont start pop up a error
Post Reply