ADDM Reports bug:Significant virtual memory paging was detected on the host operating system

查看ADDM(数据库版本为ORACLE 10.2.0.5.0)报告时,发现其中有个结论非常不靠谱:Significant virtual memory paging was detected on the host operating system,具体内容如下所示:

FINDING 2: 100% impact (3930 seconds)
-------------------------------------

Significant virtual memory paging was detected on the host operating system.

 

   RECOMMENDATION 1: Host Configuration, 100% benefit (3930 seconds)

      ACTION: Host operating system was experiencing significant paging but no

         particular root cause could be detected. Investigate processes that

         do not belong to this instance running on the host that are consuming

         significant amount of virtual memory. Also consider adding more

         physical memory to the host.

使用nmon监控并没有发现消耗大量虚拟内存(virtual memory),搜索了一下,发现这个是一个bug导致。ORACLE 10g, ORACLE 11都有出现这个问题.

官方ADDM Reports Significant Virtual Memory Paging on Linux When None is Occurring (文档 ID 1322964.1)介绍如下所示

SYMPTOMS

After upgrading the database to 10.2.0.5, the ADDM report on Linux operation system may include findings on "Significant virtual memory paging":

FINDING 1: 100% impact (32719 seconds)
--------------------------------------
Significant virtual memory paging was detected on the host operating system.

RECOMMENDATION 1: Host Configuration, 100% benefit (32719 seconds)
ACTION: Host operating system was experiencing significant paging but 
no particular root cause could be detected. Investigate processes that
do not belong to this instance running on the host that are 
consuming significant amount of virtual memory. Also consider adding more
physical memory to the host.

There is no evidence at OS level of any problem with virtual memory paging. To verify that you are not really observing a memory problem, look at an operating system memory tool, such as vmstat:

oracle$ vmstat 5 5
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache      si   so    bi    bo   in   cs us sy id wa st
 1  0 670056 1184580  35772 12809336    0    0    26    40    1    5  3 27 68  1  0
 0  0 670028 1183624  35788 12810980    0    0     7    22 1298 2534  3  1 90  6  0
 1  0 670016 1171840  35804 12813436    0    0     2    34 1621 2691  5  1 77 16  0
 1  0 669996 1175536  35816 12817064    0    0     6    19 1424 2957  9  2 77 12  0
 0  0 669968 1183408  35840 12820460    0    0     8    28 1430 2850 14  3 73 10  0

Note: Under swap, si and so show a value of 0.
As above, if there are no abnormal figures and you are still seeing this warning, you might me hitting this problem

CAUSE

This issue can be seen from 10.2.0.5 to 11.2.0.2

The problem is caused by wrong values in V$OSSTAT as explained in:
Bug 10148787 ADDM REPORTS VIRTUAL MEMORY PAGING AFTER APPLYING 10.2.0.5 
and unpublished Bug 11712010  VIRTUAL MEMORY PAGING ON 11.2.0.2 DATABASES.

ORACLE 10.2.0.5 可以通过下载补丁补丁程序12347332: TRACKING BUG TO FIX ADDM INCORRECTLY REPORTING PAGING ON 10.2.0.5解决这个Bug

时间: 2024-08-26 01:43:35

ADDM Reports bug:Significant virtual memory paging was detected on the host operating system的相关文章

Extended paging tables to map guest physical memory addresses from virtual memory page tables to host physical memory addresses in a virtual machine system

A processor including a virtualization system of the processor with a memory virtualization support system to map a reference to guest-physical memory made by guest software executable on a virtual machine which in turn is executable on a host machin

DEMAND PAGING Virtual Memory - The avoidance of thrashing was a major research area in the 1970s and led to a vari- ety of complex but effective algorithms.

COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION With the use of paging, truly effective multiprogramming systems came into being. Furthermore, the simple tactic of breaking a process up into pages led to the development

Linux Process Virtual Memory

目录 1. 简介 2. 进程虚拟地址空间 3. 内存映射的原理 4. 数据结构 5. 对区域的操作 6. 地址空间 7. 内存映射 8. 反向映射 9.堆的管理 10. 缺页异常的处理 11. 用户空间缺页异常的校正 12. 内核缺页异常 13. 在内核和用户空间之间复制数据 1. 简介 用户层进程的虚拟地址空间是Linux的一个重要抽象,它向每个运行进程提供了同样的系统视图,这使得多个进程可以同时运行,而不会干扰到其他进程内存中的内容,此外,它容许使用各种高级的程序设计技术,如内存映射,学习虚

virtual memory exhausted: Cannot allocate memory 解决方法

在阿里云买了个云服务器,内存1G.编译kudu时出现下面的错误: virtual memory exhausted: Cannot allocate memory 问题原因:由于物理内存本身很小,且阿里云服务器并没有分配swap空间,当物理内存不够用时, 物理内存中暂时不用的内容没地方转存. 解决方法:手动分配一个swap空间 dd if=/dev/zero of=/swap bs=1024 count=1M    #创建一个大小为1G的文件/swap             mkswap /s

php编译 :virtual memory exhausted: Cannot allocate memory

有时候用vps建站时需要通过编译的方式来安装主机控制面板.对于大内存的VPS来说一般问题不大,但是对于小内存,比如512MB内存的VPS来说,很有可能会出现问题,因为编译过程是一个内存消耗较大的动作.本人近期就遇到一个这样的问题:在512MB内存centos操作系统的VPS上编译安装某国内主机控制面板,在编译安装php时日志中有如下错误记录:virtual memory exhausted: Cannot allocate memorymake: *** [ext/fileinfo/libmag

Virtual Memory PAGE TABLE STRUCTURE

COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION The basic mechanism for reading a word from memory involves the translation of a virtual, or logical, address, consisting of page number and offset, into a physical addres

编译安装php时遇到virtual memory exhausted: Cannot allocate memory

有时候用vps建站时需要通过编译的方式来安装主机控制面板.对于大内存的VPS来说一般问题不大,但是对于小内存,比如512MB内存的VPS来说,很有可能会出现问题,因为编译过程是一个内存消耗较大的动作.本人近期就遇到一个这样的问题:在512MB内存centos操作系统的VPS上编译安装某国内主机控制面板,在编译安装php时日志中有如下错误记录:virtual memory exhausted: Cannot allocate memorymake: *** [ext/fileinfo/libmag

JVM virtual memory

This has been a long-standing complaint with Java, but it's largely meaningless, and usually based on looking at the wrong information. The usual phrasing is something like "Hello World on Java takes 10 megabytes! Why does it need that?" Well, h

Virtual Memory(6)

Working within these constraints, the author of an allocator attempts to meet the often conflicting performance goals of maximizing throughput and memory utilization. .  Goal 1: Maximizing throughput. Given some sequence of n allocate and free reques