360°网站管家_运维学院_提供最新最全的服务器运维视频教程与网站维护视频教程

标题: 错误 kernel:System RAM resource cannot be added(xen_balloon errors in dmesg) [打印本页]

作者: 360网站管家    时间: 2015-9-26 14:48
标题: 错误 kernel:System RAM resource cannot be added(xen_balloon errors in dmesg)
Xen服务器centos6.x 64bit, Xen4.x 错误 kernel:System RAM resource cannot be added(xen_balloon errors in dmesg)
Dec  9 18:53:45 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:53:45 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:54:17 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:54:17 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:54:49 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:54:49 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:55:21 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:55:21 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:55:53 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:55:53 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
原因: current_kb and target_kb the values don’t match
[root@ www.ctohome.com]# more /sys/devices/system/xen_memory/xen_memory0/target_kb
1572864
[root@ www.ctohome.com]# more /sys/devices/system/xen_memory/xen_memory0/info/current_kb
1572736
解决办法:
These messages appear to be harmless. These errors are associated with Xen 4.2.0 and Xen 4.2.1.
The root cause appears to be that due to the fact that Xen sucks. There is a dirty hack that seems to fix this; however, I don't understand how or why it works. I don't normally advocate mysterious hacks to silence error messages (does this actually fix anything or just gag the system's screams for help?). Run the following (this is not persistent across reboots):
[root@ www.ctohome.com]# cat /sys/devices/system/xen_memory/xen_memory0/info/current_kb > /sys/devices/system/xen_memory/xen_memory0/target_kb
至于为什么这样做可以解决办法,ctohome.com也不很清楚,有知道的可以告知下。




欢迎光临 360°网站管家_运维学院_提供最新最全的服务器运维视频教程与网站维护视频教程 (http://bbs.360wzgj.com/) Powered by Discuz! X3.2