Ubuntu 16.04 Guest Freezes
Ubuntu 16.04 Guest Freezes
I have same problem with random VM Ubuntu 16.04 freezes.
Last edited by socratis on 11. Jan 2018, 01:00, edited 1 time in total.
Reason: Removed raw attachment. Be more "green".
Reason: Removed raw attachment. Be more "green".
-
- Site Moderator
- Posts: 27330
- 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: Ubuntu 16.04 Guest Freezes
I split your post from a 2016 thread. A lot has changed since then. You should open a new thread if you can't find a recent one.
I've also deleted your two 1/2 raw text attachments. Please ZIP the whole VBox.log and attach that. It helps save a (virtual) tree or two...
And finally, please describe in detail what you're doing when the VM freezes. We would like a VBox.log from a session that the error happens, not from a random run. And shut down the VM. If you can't, close it's window, abort it.
I've also deleted your two 1/2 raw text attachments. Please ZIP the whole VBox.log and attach that. It helps save a (virtual) tree or two...
And finally, please describe in detail what you're doing when the VM freezes. We would like a VBox.log from a session that the error happens, not from a random run. And shut down the VM. If you can't, close it's window, abort it.
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.
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.
Re: Ubuntu 16.04 Guest Freezes
Hi,
Every time it freezes, I ran several applications with the UI: Atom, JMeter, Chrome; and some without the UI: MongoDB, some Go language code. Last time it happened this morning when I was running JMeter tests. The zip file is attached.
Every time it freezes, I ran several applications with the UI: Atom, JMeter, Chrome; and some without the UI: MongoDB, some Go language code. Last time it happened this morning when I was running JMeter tests. The zip file is attached.
- Attachments
-
- Lynx-2018-01-11-08-38-02.zip
- (31.9 KiB) Downloaded 211 times
-
- Site Moderator
- Posts: 27330
- 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: Ubuntu 16.04 Guest Freezes
Please update to version 5.2.4. If that doesn't work you should try the latest test builds.VirtualBox VM 5.2.0 r118431 win.amd64 (Oct 18 2017 06:24:56) release log
You have assigned all your CPUs to the VM. The host is going to run low on resources, since VirtualBox cares about physical processors, not logical ones. See: CPU Cores versus threads and Why is it a bad idea to allocate as many VCPUs as there are physical CPUs? Your i7-7500U has 2 physical cores.00:00:01.703719 NumCPUs <integer> = 0x0000000000000002 (2) 00:00:02.448941 CPUM: Physical host cores: 2
I would take the vRAM to 64 MB, give it some breathing room.00:00:01.703944 VRamSize <integer> = 0x0000000002600000 (39 845 888, 38 MB)
So, you "Saved" the VM state, resumed about 7 hours later, and in a minute after that your machine froze and you shut it down. Does this happen every time? Do you often pause/resume your VM? Does this have anything to do with the "freeze"?08:33:02.827075 Console: Machine state changed to 'Paused' 15:36:00.995219 Resuming VM execution, reason 'host resume' ... 15:36:54.757689 GUI: UIMediumEnumerator: Medium-enumeration finished! 15:58:04.331777 Changing the VM state from 'RUNNING' to 'SUSPENDING'
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.
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.
Re: Ubuntu 16.04 Guest Freezes
Hmm.. The VB system configuration is reporting 4 cores, this is why I decided to use 2. Attaching gif.
- Attachments
-
- VB_CPU.gif (27.92 KiB) Viewed 7635 times
Re: Ubuntu 16.04 Guest Freezes
Ok, let me try all your suggestions, and I will report if it helped.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Ubuntu 16.04 Guest Freezes
Just to clarify: people that read these things seem to see something other than what is presented. If you look closer it says 4 CPUs or virtual CPUs to be more accurate. CPU == Central Processing Unit which is different than cores. I understand that this is a confusing area and it has been discussed at great length on what the terminology should be but no one can figure out a better ( single ) word to call it.
Re: Ubuntu 16.04 Guest Freezes
Yes, it is a fair distinction between CPUs and Cores. But then it means to me that I configured 2 CPUs, not Cores. How in the world did I configure 2 out of 2 cores for the VM?
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Ubuntu 16.04 Guest Freezes
My rule of thumb just so I don't run into an issue is to stay in the green. I also know a lot of folks say to leave at least one tick for the host whether you want to call it core or cpu is a good idea. As far as I see it really depends on the load of the guest and the host. If the host is to be used while the guest is compiling or any other major loading factor I drop it down one click below the maximum of the green area. Other wise the host will be really sluggish and you can run into problem to include hangs and or crashes.
Re: Ubuntu 16.04 Guest Freezes
It froze again. This time there was an error while shutting down. The new log is attached.
Here are the changes I've made:
- using 1 CPU rather than 2
- increased Video memory to 88 MB (from 38 MB)
I have not upgraded the version yet. Upgrading.
Here are the changes I've made:
- using 1 CPU rather than 2
- increased Video memory to 88 MB (from 38 MB)
I have not upgraded the version yet. Upgrading.
- Attachments
-
- Lynx-2018-01-11-15-06-51.zip
- (37.35 KiB) Downloaded 206 times
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Ubuntu 16.04 Guest Freezes
5.2.0 had its share of issues including what you are experiencing. I would at a minimum update to the latest release 5.2.4 and if that still has issues use the latest test build. Since this is concerning a Windows host though I will leave it to a Windows person to continue this discussion.
Re: Ubuntu 16.04 Guest Freezes
Already upgraded to Version 5.2.4 r119785 (Qt5.6.2).
I would hesitate upgrading to the latest test build, because it is not proven to be stable.
Lets see if I still have issues. Will keep you posted, and thank you for your help and prompt responses!
I would hesitate upgrading to the latest test build, because it is not proven to be stable.
Lets see if I still have issues. Will keep you posted, and thank you for your help and prompt responses!
-
- Site Moderator
- Posts: 27330
- 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: Ubuntu 16.04 Guest Freezes
Just call it intermediate build, and it is stable enough so that bug reports are accepted against such a build. You might be thinking of the developer builds...allaptr wrote:I would hesitate upgrading to the latest test build, because it is not proven to be stable.
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.
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.
Re: Ubuntu 16.04 Guest Freezes
Uhh.. Froze again. This time right after I started using it first time in the morning while I was using Atom application.
I searched the logs, and found that the VM has been suspended, and saved.
I will upgrade to the latest test version 5.2.5-1, but do you know if this issue has been (or may have been) addressed in this build?
I used earlier VB versions, don't remember the versions, sometime between 2012 and 2016, and it never froze. Is this something recently introduced?
Attaching the logs.
Update 1/19/2018
The issue has not been resolved. Updated to the latest Version 5.2.6 r120293 (Qt5.6.2), and it froze again. Pls let me know if you would like to see the new log.
I searched the logs, and found that the VM has been suspended, and saved.
Looks like it happens when the Windows host goes to sleep. So not sure if something about this operation causes the freeze. I have to say, however, that it froze many times during the day not after the SUSPEND operation.03:47:50.429476 Pausing VM execution, reason 'host suspend'
03:47:50.429514 Changing the VM state from 'RUNNING' to 'SUSPENDING'
I will upgrade to the latest test version 5.2.5-1, but do you know if this issue has been (or may have been) addressed in this build?
I used earlier VB versions, don't remember the versions, sometime between 2012 and 2016, and it never froze. Is this something recently introduced?
Attaching the logs.
Update 1/19/2018
The issue has not been resolved. Updated to the latest Version 5.2.6 r120293 (Qt5.6.2), and it froze again. Pls let me know if you would like to see the new log.
- Attachments
-
- Lynx-2018-01-12-10-45-56.zip
- Froze after SUSPEND / RESUME operation
- (28.82 KiB) Downloaded 207 times
Re: Ubuntu 16.04 Guest Freezes
What seemed to help was not running JMeter inside the guest OS (Ubuntu 16.04). I installed JMeter on the host instead (Win 10). It has not froze for a few days now.