查看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

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

  1. 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 ...

  2. Virtual Memory DEMAND PAGING - 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 pagin ...

  3. Linux Process Virtual Memory

    目录 . 简介 . 进程虚拟地址空间 . 内存映射的原理 . 数据结构 . 对区域的操作 . 地址空间 . 内存映射 . 反向映射 .堆的管理 . 缺页异常的处理 . 用户空间缺页异常的校正 . 内核 ...

  4. php编译 :virtual memory exhausted: Cannot allocate memory

    有时候用vps建站时需要通过编译的方式来安装主机控制面板.对于大内存的VPS来说一般问题不大,但是对于小内存,比如512MB内存的VPS来说,很有可能会出现问题,因为编译过程是一个内存消耗较大的动作. ...

  5. Virtual Memory PAGE TABLE STRUCTURE

    COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION The basic mechanism f ...

  6. Understanding Virtual Memory

    Understanding Virtual Memory by Norm Murray and Neil Horman Introduction Definitions The Life of a P ...

  7. vmtouch - the Virtual Memory Toucher

    https://hoytech.com/vmtouch/ [root@localhost ~]# git clone git://github.com/hoytech/vmtouch.git 正克隆到 ...

  8. JVM virtual memory

    This has been a long-standing complaint with Java, but it's largely meaningless, and usually based o ...

  9. 阿里云 virtual memory exhausted: 无法分配内存

    在阿里云买了个云服务器,内存1G.编译php时出现下面的错误: virtual memory exhausted: Cannot allocate memory 问题原因:由于物理内存本身很小,且阿里 ...

随机推荐

  1. C# WebClient 使用http免费代理。

    static void Main(string[] args) { WebClient client = new WebClient(); client.Encoding = Encoding.Get ...

  2. Android使用SAX解析XML(1)

    可扩展标记语言XML是一种数据交换格式,允许用户自己定义,适合Web传输,能提供独立于程序的数据.XML在Android中也有广泛的应用,Android解析XML的方法有很多,本文介绍使用SAX(Si ...

  3. When to close cursors using MySQLdb

    http://stackoverflow.com/questions/5669878/when-to-close-cursors-using-mysqldb I'm building a WSGI w ...

  4. Scalaz(13)- Monad:Writer - some kind of logger

    通过前面的几篇讨论我们了解到F[T]就是FP中运算的表达形式(representation of computation).在这里F[]不仅仅是一种高阶类型,它还代表了一种运算协议(computati ...

  5. Linux文件查看/编辑方法介绍

    转载:https://www.centos.bz/2011/10/linux-file-view-edit/ cat 命令介绍 cat 命令的原含义为连接(concatenate), 用于连接多个文件 ...

  6. vsftp "上传 553 Could not create file"

    我在LINUX下VSftp建立一个FTP服务器,但从WINDOWS使用FTP时,无法上传也无法下载!出错如下 ftp>; ls 200 PORT command successful. Cons ...

  7. ZeroClipboard 复制到剪贴板

    使用 ZeroClipboard 可以简单的将内容复制到剪贴板,通过 Adobe Flash 和 JavaScript 来实现.“Zero” 意义为这个类库没有界面,界面需要由你来建立. 版本: Ze ...

  8. [deviceone开发]-打开新页动画效果

    一.简介 do_App的openPage支持16种过场动画,这个示例直观的展示16种动画的效果.适合初学者. 二.效果图 三.相关下载 https://github.com/do-project/co ...

  9. git node(&npm)安装

    1.git 下载地址:https://git-scm.com/download/win 2.node 下载地址:https://nodejs.org/en/download/ 安装node会自带npm ...

  10. 深入源码分析使用jQuery连续发起jsonp请求失败的原因

    jQuery的 jsonp 大家应该是十分熟悉了.曾遇到过这样的需求1.希望请求几个相似的内容添加到页面2.请求的内容一定时间内是固定不变的,希望做个缓存. 于是脑子一拍写下了类似这样的代码 for( ...