Ubuntu 14.04 hangs intermittently under Hyper-V
I have Ubuntu Server 14.04.1 LTS running in a Hyper-V virtual machine on a Windows 2012 R2 host.
After running for some time, the Ubuntu server seems to freeze up (at least partially). A website it's hosting under nginx stops working. I can connect via Putty and enter my username and password, but then the session immediately hangs:
The same thing happens when I try to log in from the console (making it difficult to check logs / troubleshoot). However I do notice output like this sitting in the console window:
If there is a local or remote console session that is already logged in, I can still interact with it. However any attempt to write to the disk freezes the session.
I managed to snag a dmesg dump and recent content of kernel.log. And here's an earlier, partial dmesg screencap in case it is of use.
I believe the issue may be related to the disk I/O stack:
[16209.927138] hv_storvsc vmbus_0_13: cmd 0x35 scsi status 0x2 srb status 0x82
[16209.927142] hv_storvsc vmbus_0_13: stor pkt ffff88003b203100 autosense data valid - len 18
[16209.927144] storvsc: Sense Key : Unit Attention [current]
[16209.927146] storvsc: Add. Sense: Changed operating definition
[16209.927151] sd 0:0:0:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automatically adjust these parameters.
[45841.680551] INFO: task rs:main Q:Reg:882 blocked for more than 120 seconds.
[45841.680580] Not tainted 3.13.0-32-generic #57-Ubuntu
[45841.680596] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
The install is fairly fresh and default settings were accepted for pretty much everything. The VM is using Hyper-V's "generation 2" guest architecture, with secure boot disabled.
My symptoms seem similar to those reported here, here and here, but those threads are a few years old and refer to older versions of guest & host.
The server still responds to pings. Also note we saw the freezing behavior before nginx was installed.
I don't think it's a resource issue. The VM has 1GB of RAM and plenty of disk space. Here's what things look like before it freezes:
System information as of Sun Aug 3 16:03:30 EDT 2014
System load: 0.08 Processes: 231
Usage of /: 3.6% of 96.59GB Users logged in: 1
Memory usage: 29% IP address for eth0: 172.22.0.26
Swap usage: 0%
I'm looking for:
Tips on how to efficiently troubleshoot this
Instructions on how to turn off any sort of disk-related features (e.g. power saving) that came out of the box in my Ubuntu install.
A recommendation on where to find a Linux + Hyper-V genius we can hire remotely to help sort this out (and maybe other occasional Linux work)
ubuntu freeze hyper-v
add a comment |
I have Ubuntu Server 14.04.1 LTS running in a Hyper-V virtual machine on a Windows 2012 R2 host.
After running for some time, the Ubuntu server seems to freeze up (at least partially). A website it's hosting under nginx stops working. I can connect via Putty and enter my username and password, but then the session immediately hangs:
The same thing happens when I try to log in from the console (making it difficult to check logs / troubleshoot). However I do notice output like this sitting in the console window:
If there is a local or remote console session that is already logged in, I can still interact with it. However any attempt to write to the disk freezes the session.
I managed to snag a dmesg dump and recent content of kernel.log. And here's an earlier, partial dmesg screencap in case it is of use.
I believe the issue may be related to the disk I/O stack:
[16209.927138] hv_storvsc vmbus_0_13: cmd 0x35 scsi status 0x2 srb status 0x82
[16209.927142] hv_storvsc vmbus_0_13: stor pkt ffff88003b203100 autosense data valid - len 18
[16209.927144] storvsc: Sense Key : Unit Attention [current]
[16209.927146] storvsc: Add. Sense: Changed operating definition
[16209.927151] sd 0:0:0:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automatically adjust these parameters.
[45841.680551] INFO: task rs:main Q:Reg:882 blocked for more than 120 seconds.
[45841.680580] Not tainted 3.13.0-32-generic #57-Ubuntu
[45841.680596] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
The install is fairly fresh and default settings were accepted for pretty much everything. The VM is using Hyper-V's "generation 2" guest architecture, with secure boot disabled.
My symptoms seem similar to those reported here, here and here, but those threads are a few years old and refer to older versions of guest & host.
The server still responds to pings. Also note we saw the freezing behavior before nginx was installed.
I don't think it's a resource issue. The VM has 1GB of RAM and plenty of disk space. Here's what things look like before it freezes:
System information as of Sun Aug 3 16:03:30 EDT 2014
System load: 0.08 Processes: 231
Usage of /: 3.6% of 96.59GB Users logged in: 1
Memory usage: 29% IP address for eth0: 172.22.0.26
Swap usage: 0%
I'm looking for:
Tips on how to efficiently troubleshoot this
Instructions on how to turn off any sort of disk-related features (e.g. power saving) that came out of the box in my Ubuntu install.
A recommendation on where to find a Linux + Hyper-V genius we can hire remotely to help sort this out (and maybe other occasional Linux work)
ubuntu freeze hyper-v
add a comment |
I have Ubuntu Server 14.04.1 LTS running in a Hyper-V virtual machine on a Windows 2012 R2 host.
After running for some time, the Ubuntu server seems to freeze up (at least partially). A website it's hosting under nginx stops working. I can connect via Putty and enter my username and password, but then the session immediately hangs:
The same thing happens when I try to log in from the console (making it difficult to check logs / troubleshoot). However I do notice output like this sitting in the console window:
If there is a local or remote console session that is already logged in, I can still interact with it. However any attempt to write to the disk freezes the session.
I managed to snag a dmesg dump and recent content of kernel.log. And here's an earlier, partial dmesg screencap in case it is of use.
I believe the issue may be related to the disk I/O stack:
[16209.927138] hv_storvsc vmbus_0_13: cmd 0x35 scsi status 0x2 srb status 0x82
[16209.927142] hv_storvsc vmbus_0_13: stor pkt ffff88003b203100 autosense data valid - len 18
[16209.927144] storvsc: Sense Key : Unit Attention [current]
[16209.927146] storvsc: Add. Sense: Changed operating definition
[16209.927151] sd 0:0:0:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automatically adjust these parameters.
[45841.680551] INFO: task rs:main Q:Reg:882 blocked for more than 120 seconds.
[45841.680580] Not tainted 3.13.0-32-generic #57-Ubuntu
[45841.680596] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
The install is fairly fresh and default settings were accepted for pretty much everything. The VM is using Hyper-V's "generation 2" guest architecture, with secure boot disabled.
My symptoms seem similar to those reported here, here and here, but those threads are a few years old and refer to older versions of guest & host.
The server still responds to pings. Also note we saw the freezing behavior before nginx was installed.
I don't think it's a resource issue. The VM has 1GB of RAM and plenty of disk space. Here's what things look like before it freezes:
System information as of Sun Aug 3 16:03:30 EDT 2014
System load: 0.08 Processes: 231
Usage of /: 3.6% of 96.59GB Users logged in: 1
Memory usage: 29% IP address for eth0: 172.22.0.26
Swap usage: 0%
I'm looking for:
Tips on how to efficiently troubleshoot this
Instructions on how to turn off any sort of disk-related features (e.g. power saving) that came out of the box in my Ubuntu install.
A recommendation on where to find a Linux + Hyper-V genius we can hire remotely to help sort this out (and maybe other occasional Linux work)
ubuntu freeze hyper-v
I have Ubuntu Server 14.04.1 LTS running in a Hyper-V virtual machine on a Windows 2012 R2 host.
After running for some time, the Ubuntu server seems to freeze up (at least partially). A website it's hosting under nginx stops working. I can connect via Putty and enter my username and password, but then the session immediately hangs:
The same thing happens when I try to log in from the console (making it difficult to check logs / troubleshoot). However I do notice output like this sitting in the console window:
If there is a local or remote console session that is already logged in, I can still interact with it. However any attempt to write to the disk freezes the session.
I managed to snag a dmesg dump and recent content of kernel.log. And here's an earlier, partial dmesg screencap in case it is of use.
I believe the issue may be related to the disk I/O stack:
[16209.927138] hv_storvsc vmbus_0_13: cmd 0x35 scsi status 0x2 srb status 0x82
[16209.927142] hv_storvsc vmbus_0_13: stor pkt ffff88003b203100 autosense data valid - len 18
[16209.927144] storvsc: Sense Key : Unit Attention [current]
[16209.927146] storvsc: Add. Sense: Changed operating definition
[16209.927151] sd 0:0:0:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automatically adjust these parameters.
[45841.680551] INFO: task rs:main Q:Reg:882 blocked for more than 120 seconds.
[45841.680580] Not tainted 3.13.0-32-generic #57-Ubuntu
[45841.680596] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
The install is fairly fresh and default settings were accepted for pretty much everything. The VM is using Hyper-V's "generation 2" guest architecture, with secure boot disabled.
My symptoms seem similar to those reported here, here and here, but those threads are a few years old and refer to older versions of guest & host.
The server still responds to pings. Also note we saw the freezing behavior before nginx was installed.
I don't think it's a resource issue. The VM has 1GB of RAM and plenty of disk space. Here's what things look like before it freezes:
System information as of Sun Aug 3 16:03:30 EDT 2014
System load: 0.08 Processes: 231
Usage of /: 3.6% of 96.59GB Users logged in: 1
Memory usage: 29% IP address for eth0: 172.22.0.26
Swap usage: 0%
I'm looking for:
Tips on how to efficiently troubleshoot this
Instructions on how to turn off any sort of disk-related features (e.g. power saving) that came out of the box in my Ubuntu install.
A recommendation on where to find a Linux + Hyper-V genius we can hire remotely to help sort this out (and maybe other occasional Linux work)
ubuntu freeze hyper-v
ubuntu freeze hyper-v
edited Aug 5 '14 at 11:50
asked Aug 4 '14 at 6:49
rkagerer
138212
138212
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I found an info in the French Ubuntu forums from other user who has Ubuntu freezes: It may be caused by "dynamic tick".
Their solution:
cd /etc/default
sudo vi grub
add nohz=true
in parameters of the line GRUB_CMDLINE_LINUX_DEFAULT
. Then do a
sudo grub-update
Hi Dominique, I do not have Dynamic Memory enabled, so it's not likely that is causing the issue.
– rkagerer
Aug 13 '14 at 5:24
Please only post answers if you have a definitive solution. Also take care of formatting your posts properly, and note that this is not a forum, so you should always edit your existing post rather than posting another one.
– slhck
Aug 13 '14 at 13:24
ok I do not want to bore anyone, I'll get my solution elsewhere.
– delete me
Aug 13 '14 at 21:26
add a comment |
I think I also have this problem – have you found this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1470250
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f792053%2fubuntu-14-04-hangs-intermittently-under-hyper-v%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I found an info in the French Ubuntu forums from other user who has Ubuntu freezes: It may be caused by "dynamic tick".
Their solution:
cd /etc/default
sudo vi grub
add nohz=true
in parameters of the line GRUB_CMDLINE_LINUX_DEFAULT
. Then do a
sudo grub-update
Hi Dominique, I do not have Dynamic Memory enabled, so it's not likely that is causing the issue.
– rkagerer
Aug 13 '14 at 5:24
Please only post answers if you have a definitive solution. Also take care of formatting your posts properly, and note that this is not a forum, so you should always edit your existing post rather than posting another one.
– slhck
Aug 13 '14 at 13:24
ok I do not want to bore anyone, I'll get my solution elsewhere.
– delete me
Aug 13 '14 at 21:26
add a comment |
I found an info in the French Ubuntu forums from other user who has Ubuntu freezes: It may be caused by "dynamic tick".
Their solution:
cd /etc/default
sudo vi grub
add nohz=true
in parameters of the line GRUB_CMDLINE_LINUX_DEFAULT
. Then do a
sudo grub-update
Hi Dominique, I do not have Dynamic Memory enabled, so it's not likely that is causing the issue.
– rkagerer
Aug 13 '14 at 5:24
Please only post answers if you have a definitive solution. Also take care of formatting your posts properly, and note that this is not a forum, so you should always edit your existing post rather than posting another one.
– slhck
Aug 13 '14 at 13:24
ok I do not want to bore anyone, I'll get my solution elsewhere.
– delete me
Aug 13 '14 at 21:26
add a comment |
I found an info in the French Ubuntu forums from other user who has Ubuntu freezes: It may be caused by "dynamic tick".
Their solution:
cd /etc/default
sudo vi grub
add nohz=true
in parameters of the line GRUB_CMDLINE_LINUX_DEFAULT
. Then do a
sudo grub-update
I found an info in the French Ubuntu forums from other user who has Ubuntu freezes: It may be caused by "dynamic tick".
Their solution:
cd /etc/default
sudo vi grub
add nohz=true
in parameters of the line GRUB_CMDLINE_LINUX_DEFAULT
. Then do a
sudo grub-update
edited Aug 13 '14 at 13:24
slhck
159k47438462
159k47438462
answered Aug 12 '14 at 21:46
delete me
11
11
Hi Dominique, I do not have Dynamic Memory enabled, so it's not likely that is causing the issue.
– rkagerer
Aug 13 '14 at 5:24
Please only post answers if you have a definitive solution. Also take care of formatting your posts properly, and note that this is not a forum, so you should always edit your existing post rather than posting another one.
– slhck
Aug 13 '14 at 13:24
ok I do not want to bore anyone, I'll get my solution elsewhere.
– delete me
Aug 13 '14 at 21:26
add a comment |
Hi Dominique, I do not have Dynamic Memory enabled, so it's not likely that is causing the issue.
– rkagerer
Aug 13 '14 at 5:24
Please only post answers if you have a definitive solution. Also take care of formatting your posts properly, and note that this is not a forum, so you should always edit your existing post rather than posting another one.
– slhck
Aug 13 '14 at 13:24
ok I do not want to bore anyone, I'll get my solution elsewhere.
– delete me
Aug 13 '14 at 21:26
Hi Dominique, I do not have Dynamic Memory enabled, so it's not likely that is causing the issue.
– rkagerer
Aug 13 '14 at 5:24
Hi Dominique, I do not have Dynamic Memory enabled, so it's not likely that is causing the issue.
– rkagerer
Aug 13 '14 at 5:24
Please only post answers if you have a definitive solution. Also take care of formatting your posts properly, and note that this is not a forum, so you should always edit your existing post rather than posting another one.
– slhck
Aug 13 '14 at 13:24
Please only post answers if you have a definitive solution. Also take care of formatting your posts properly, and note that this is not a forum, so you should always edit your existing post rather than posting another one.
– slhck
Aug 13 '14 at 13:24
ok I do not want to bore anyone, I'll get my solution elsewhere.
– delete me
Aug 13 '14 at 21:26
ok I do not want to bore anyone, I'll get my solution elsewhere.
– delete me
Aug 13 '14 at 21:26
add a comment |
I think I also have this problem – have you found this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1470250
add a comment |
I think I also have this problem – have you found this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1470250
add a comment |
I think I also have this problem – have you found this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1470250
I think I also have this problem – have you found this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1470250
answered Oct 1 '15 at 8:15
Philippp
17114
17114
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f792053%2fubuntu-14-04-hangs-intermittently-under-hyper-v%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown