Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CPU卡在Azure上的Centos 7.2上_Azure_Centos7 - Fatal编程技术网

CPU卡在Azure上的Centos 7.2上

CPU卡在Azure上的Centos 7.2上,azure,centos7,Azure,Centos7,我正在Azure上运行CentOS 7.2虚拟机,并收到CPU卡住内核错误警告top显示CPU#0的使用率为100% [admin@bench2 ~]$ Message from syslogd@bench2 at Feb 9 10:06:43 ... kernel:BUG: soft lockup - CPU#0 stuck for 22s! [kworker/u128:1:13777] 这是顶部输出: Tasks: 258 total, 7 running, 251 sleeping

我正在Azure上运行CentOS 7.2虚拟机,并收到CPU卡住内核错误警告
top
显示
CPU#0
的使用率为100%

[admin@bench2 ~]$
Message from syslogd@bench2 at Feb  9 10:06:43 ...
kernel:BUG: soft lockup - CPU#0 stuck for 22s! [kworker/u128:1:13777]
这是
顶部
输出:

Tasks: 258 total,   7 running, 251 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.0 us,100.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0  st
%Cpu1  :  0.3 us,  0.3 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 28813448 total, 26938144 free,   653860 used,  1221444 buff/cache
KiB Swap:        0 total,        0 free,        0 used. 27557900 avail Mem

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
73 root      20   0       0      0      0 S   0.7  0.0   1:03.03 rcu_sched
1 root      20   0   43668   6204   3796 S   0.0  0.0   0:04.70 systemd
2 root      20   0       0      0      0 S   0.0  0.0   0:00.03 kthreadd
3 root      20   0       0      0      0 R   0.0  0.0   0:00.10 ksoftirqd/0
5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H
Centos+内核版本:

CentOS Linux release 7.1.1503 (Core)
Linux bench2 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
如果注意到,此错误也会出现在CentOS 7.2版本上

[84176.089080] BUG: soft lockup - CPU#0 stuck for 23s! [kworker/u128:1:13777]
[84176.089080] Modules linked in: vfat fat isofs xfs libcrc32c iptable_filter ip_tables udf crc_itu_t hyperv_fb hyperv_keyboard hv_utils i2c_piix4 i2c_core serio_raw pcspkr crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd ext4 mbcache jbd2 sd_mod crc_t10dif crct10dif_common hv_netvsc hv_storvsc hid_hyperv sr_mod cdrom ata_generic pata_acpi ata_piix libata floppy hv_vmbus
[84176.089080] CPU: 0 PID: 13777 Comm: kworker/u128:1 Tainted: G        W   --------------   3.10.0-229.7.2.el7.x86_64 #1
[84176.089080] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090006  05/23/2012

如果此版本在Azure上出现问题,则切换它没有问题。如果是这种情况,我想知道哪个CentOS版本最适合在Azure环境中运行。

我通过将VHD上的主机缓存设置为
None
解决了这个问题。奇怪的行为,但它的工作