xenserver6.2 内存leak故障处理
2014-12-16 16:19
246 查看
从日志来看,系统内存leak导致out of memory。Oct 30 14:22:35 xenserver-21622 kernel: [36474919.505097] lowmem_reserve[]: 0 0 0 0Oct 30 14:22:35 xenserver-21622 kernel: [36474919.505104] DMA: 566*4kB 3*8kB 6*16kB 1*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 2992kBOct 30 14:22:35 xenserver-21622 kernel: [36474919.505121] Normal: 7335*4kB 30*8kB 19*16kB 5*32kB 0*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 30172kBOct 30 14:22:35 xenserver-21622 kernel: [36474919.505144] HighMem: 4601*4kB 7437*8kB 11764*16kB 7771*32kB 4097*64kB 1964*128kB 1047*256kB 624*512kB 289*1024kB 186*2048kB 212*4096kB = 3161132kBOct 30 14:22:35 xenserver-21622 kernel: [36474919.505164] 16719 total pagecache pagesOct 30 14:22:35 xenserver-21622 kernel: [36474919.505167] 0 pages in swap cacheOct 30 14:22:35 xenserver-21622 kernel: [36474919.505170] Swap cache stats: add 91, delete 91, find 68/73Oct 30 14:22:35 xenserver-21622 kernel: [36474919.505174] Free swap = 524248kBOct 30 14:22:35 xenserver-21622 kernel: [36474919.505177] Total swap = 524280kBOct 30 14:22:35 xenserver-21622 kernel: [36474919.514944] 1050624 pages RAMOct 30 14:22:35 xenserver-21622 kernel: [36474919.514953] 857090 pages HighMemOct 30 14:22:35 xenserver-21622 kernel: [36474919.514956] 39028 pages reservedOct 30 14:22:35 xenserver-21622 kernel: [36474919.514959] 41189 pages sharedOct 30 14:22:35 xenserver-21622 kernel: [36474919.514962] 195743 pages non-sharedOct 30 14:22:35 xenserver-21622 kernel: [36474919.514966] Out of memory: kill process 12051 (fe) score 48887 or a childOct 30 14:22:35 xenserver-21622 kernel: [36474919.514972] Killed process 12052 (xapi) 在xenserver 6.2 平台这是一个known issue,具体可参考KB : http://support.citrix.com/article/CTX138833 Xenserver 62E004 的hotfix可解kernel memory leak的问题,目前建议客户只有将vm全部关机(因为memory leack,导致migration fail),然后安装该hotfix。
##############################################################################
1. Download the update file to a known location.2. Extract the xsupdate file from the zip.3. Upload the xsupdate file to the Pool Master by entering the following commands:
(Where hostname is the Pool Master's IP address or DNS name.)xe patch-upload -s <hostname> -u root -pw <password> file-name=<path_to_update_file>\XS62E004.xsupdate4. XenServer assigns the update file a UUID which this command prints. Note the UUID.5579f1f0-ff83-11e2-b778-0800200c9a665. 6. Apply the hotfix to all hosts in the pool, specifying the UUID of the hotfix:xe -s <hostname> -u root -pw <password> patch-pool-apply uuid=5579f1f0-ff83-11e2-b778-0800200c9a667. 8. Verify that the update was applied by using the patch-list command.xe patch-list -s <hostname> -u root -pw <password> name-label=XS62E0049. If the update has been successful, the hosts field will contain the UUIDs of the hosts this patch was successfully applied to. This should be a complete list of all hosts in the pool.10. To verify in XenCenter that the update has been applied correctly, select the Pool, and then click the General tab. This displays the Pool properties. In the Updates section, ensure that the update is listed as Fully Applied.11. The hotfix is applied to all hosts in the pool, but it will not take effect until each host has been rebooted. For each host, migrate the VMs that you wish to keep running, and shutdown the remaining VMs before rebooting the host.
##############################################################################
操作:
1,打补丁前检查:
[root@xenserver-21652 ~]# xe patch-list -s 192.168.216.52 -u root -pw ****** name-label=XS62E004空2,
[root@xenserver-21652 ~]# xe patch-upload -s 192.168.216.52 -u root -pw ****** file-name=/root/XS62E004.xsupdate
5579f1f0-ff83-11e2-b778-0800200c9a66
[root@xenserver-21652 ~]# xe -s 192.168.216.52 -u root -pw ****** patch-pool-apply uuid=5579f1f0-ff83-11e2-b778-0800200c9a66
[root@xenserver-21652 ~]# xe patch-list -s 192.168.216.52 -u root -pw ****** name-label=XS62E004
uuid ( RO) : 5579f1f0-ff83-11e2-b778-0800200c9a66
name-label ( RO): XS62E004
name-description ( RO): Public Availability: Fixes for Dom0 kernel issues
size ( RO): 35766769
hosts (SRO): 6acc1e95-7481-4cfc-a0b7-96d75a3db1ad
after-apply-guidance (SRO): restartHost
[root@xenserver-21652 ~]# xe host-list
uuid ( RO) : 6acc1e95-7481-4cfc-a0b7-96d75a3db1ad
name-label ( RW): xenserver-21652
name-description ( RW): Default install of XenServer
Ok
##############################################################################
1. Download the update file to a known location.2. Extract the xsupdate file from the zip.3. Upload the xsupdate file to the Pool Master by entering the following commands:
(Where hostname is the Pool Master's IP address or DNS name.)xe patch-upload -s <hostname> -u root -pw <password> file-name=<path_to_update_file>\XS62E004.xsupdate4. XenServer assigns the update file a UUID which this command prints. Note the UUID.5579f1f0-ff83-11e2-b778-0800200c9a665. 6. Apply the hotfix to all hosts in the pool, specifying the UUID of the hotfix:xe -s <hostname> -u root -pw <password> patch-pool-apply uuid=5579f1f0-ff83-11e2-b778-0800200c9a667. 8. Verify that the update was applied by using the patch-list command.xe patch-list -s <hostname> -u root -pw <password> name-label=XS62E0049. If the update has been successful, the hosts field will contain the UUIDs of the hosts this patch was successfully applied to. This should be a complete list of all hosts in the pool.10. To verify in XenCenter that the update has been applied correctly, select the Pool, and then click the General tab. This displays the Pool properties. In the Updates section, ensure that the update is listed as Fully Applied.11. The hotfix is applied to all hosts in the pool, but it will not take effect until each host has been rebooted. For each host, migrate the VMs that you wish to keep running, and shutdown the remaining VMs before rebooting the host.
##############################################################################
操作:
1,打补丁前检查:
[root@xenserver-21652 ~]# xe patch-list -s 192.168.216.52 -u root -pw ****** name-label=XS62E004空2,
[root@xenserver-21652 ~]# xe patch-upload -s 192.168.216.52 -u root -pw ****** file-name=/root/XS62E004.xsupdate
5579f1f0-ff83-11e2-b778-0800200c9a66
[root@xenserver-21652 ~]# xe -s 192.168.216.52 -u root -pw ****** patch-pool-apply uuid=5579f1f0-ff83-11e2-b778-0800200c9a66
[root@xenserver-21652 ~]# xe patch-list -s 192.168.216.52 -u root -pw ****** name-label=XS62E004
uuid ( RO) : 5579f1f0-ff83-11e2-b778-0800200c9a66
name-label ( RO): XS62E004
name-description ( RO): Public Availability: Fixes for Dom0 kernel issues
size ( RO): 35766769
hosts (SRO): 6acc1e95-7481-4cfc-a0b7-96d75a3db1ad
after-apply-guidance (SRO): restartHost
[root@xenserver-21652 ~]# xe host-list
uuid ( RO) : 6acc1e95-7481-4cfc-a0b7-96d75a3db1ad
name-label ( RW): xenserver-21652
name-description ( RW): Default install of XenServer
Ok
相关文章推荐
- IBM-P6-550 内存故障处理
- Xenserver主节点故障处理示例/Xenserver进入单用户
- xenserver故障处理脚本
- JAVA内存系列五之JVM性能监控与故障处理工具
- XenServer 7.0基础命令及故障处理办法
- JVM之虚拟机内存监控与故障处理工具
- DB2数据库内存耗尽故障处理经验分享
- 故障处理分析----对内存CPU的收集信息脚本
- 第3章-垃圾收集器与内存分配策略 第4章-虚拟机性能监控与故障处理工具
- cloudstack 4.0 XenServer 日常简单故障处理
- 内存管理机制-性能监控与故障处理工具
- 『EXP1』错误处理时一定要记得释放申请的内存
- 电脑故障处理经验一则
- 处理 Java 程序中的内存漏洞(上)
- 喷打加墨后的常见故障处理
- 内存故障之详细分析
- ORA-01591故障处理
- 集成声卡故障处理
- 处理 Java 程序中的内存漏洞(下)
- 硬盘故障处理技巧4则