【翻译自mos文章】由CRSD管理的ORAAGENT 进程消耗了大量的CPU并有内存泄露

来源于:

ORAAGENT Managed by CRSD Consuming Higher CPU and Leaking Memory (文档 ID 2021627.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later

Information in this document applies to any platform.

This document has been generated related to NCC analysis

SYMPTOMS

o After applying 11.2.0.4.5GIPSU, oraagent started to leak memory and use high cpu.

o ‘ps‘ and ‘svmon‘ shows the memory used by the process is increasing over the time. The CPU usage is much higher than other processes.

zzz ***Wed May 20 11:00:25 CDT 2015
    USER      PID     PPID PRI  %CPU  %MEM   VSZ   RSS    WCHAN S     ELAPSED        TIME COMMAND
  oracle 13041828        1  60   1.6   9.0 3972632 4278256    * A  5-08:39:08  1-08:26:35 /opt/oracrs/gridsw/grid11204/bin/oraagent.bin
  oracle 12124326        1  60   0.1   1.0 73824   379592     * A  5-08:40:28    01:02:51 /opt/oracrs/gridsw/grid11204/bin/oraagent.bin
....
zzz ***Wed May 20 11:22:27 CDT 2015
    USER      PID     PPID PRI  %CPU  %MEM   VSZ   RSS    WCHAN S     ELAPSED        TIME COMMAND
  oracle 13041828        1  60   1.6   6.0 2552380 2858060    * A  5-09:01:10  1-08:34:41 /opt/oracrs/gridsw/grid11204/bin/oraagent.bin
  oracle 12124326        1  60   0.1   1.0 73824   379592     * A  5-09:02:30    01:03:02 /opt/oracrs/gridsw/grid11204/bin/oraagent.bin

note that oraagent with PID 13041828 (from CRSD) is growing in memory and the cumulative CPU usage is considerable higher  1-08:34:41, compared with the other oraagent with PID 12124326 (from OHASD).

svmon output:

Wed May 20 00:01:08 CDT 2015
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
13041828 oraagent.bin   1659692    83538        0  1582356      Y     Y     Y

Wed May 20 11:32:20 CDT 2015
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
13041828 oraagent.bin   1781494    83538        0  1703011      Y     Y     Y

o ‘svmon‘ shows the additional memory ‘work text data BSS heap‘ segments created in oraagent.

o The log for oraagent shows the following messages constantly:

InstConnection:connectInt connected
In DedicatedThread::generateLocalListener
DbAgent::DedicatedThread::generateLocalListener getLocalVipAddress
CrsCmd::ClscrsCmdData::stat entity 1 statflag 1 useFilter 0
CrsCmd::ClscrsCmdData::destroy
CrsCmd::ClscrsCmdData::stat entity 1 statflag 1 useFilter 0
CrsCmd::ClscrsCmdData::destroy
CrsCmd::ClscrsCmdData::stat entity 1 statflag 1 useFilter 0
CrsCmd::ClscrsCmdData::destroy
Local VIP address is lsidp4822.co.com
CrsCmd::destroy
vipVector[0]=lsidp4822.co.com
m_crsHome = /opt/oracrs/gridsw/grid11204
DbAgent::DedicatedThread::generateLocalListener getResNameByTypes
CrsCmd::ClscrsCmdData::destroy
DbAgent::DedicatedThread::generateLocalListener getAttrValueFromResource
CrsCmd::ClscrsCmdData::stat entity 5 statflag 48 useFilter 0
CrsCmd::ClscrsCmdData::destroy
CrsCmd::ClscrsCmdData::stat entity 1 statflag 33 useFilter 0
CrsCmd::ClscrsCmdData::destroy
ORACLE_HOME = , START_DEPENDENCIES = hard(type:ora.cluster_vip_net1.type) pullup(type:ora.cluster_vip_net1.type) for ora.LISTENER.lsnr
CrsCmd::destroy

o The log information shows oraagent is checking the local listener, but also reveals ORACLE_HOME is not set.

CHANGES

Customer updated from 11.2.0.3 to 11.2.0.4 and applied the GIPSU 11.2.0.4.5

CAUSE

Before updating to 11.2.0.4, customer had modified the listener resource, removing the attribute ORACLE_HOME:

crsctl modify res ora.LISTENER.lsnr -attr "ORACLE_HOME= "

SOLUTION

Oracle Clusterware resources ‘ora.* ‘ must not be modified, this is an unsupported operation.

For this particular situation, add back the ORACLE_HOME, running:

crsctl modify resource ora.LISTENER.lsnr -attr "ORACLE_HOME=%CRS_HOME%"

After setting back the ORACLE_HOME, oraagent stopped using higher memory and cpu.

时间: 2024-08-06 15:43:18

【翻译自mos文章】由CRSD管理的ORAAGENT 进程消耗了大量的CPU并有内存泄露的相关文章

【翻译自mos文章】oraclepassword管理策略

oraclepassword管理策略 參考原文: Oracle Password Management Policy (Doc ID 114930.1) 细节: password管理通过使用profile来建立. 当password过期后,假设user有能力独立地从 end-user application(前台业务软件)改动password的话,通常的推荐是仅仅指派给这些schemas 一个profile,该profile有? password aging an expiration feat

【翻译自mos文章】当并行事务恢复进程在执行时,禁用并行事务恢复的方法

当并行事务恢复进程在执行时,禁用并行事务恢复的方法 How to Disable Parallel Transaction Recovery When Parallel Txn Recovery is Active (Doc ID 238507.1) 适用于: Oracle Database - Enterprise Edition - Version 8.1.5.0 to 11.2.0.4 [Release 8.1.5 to 11.2] Oracle Database - Personal E

【翻译自mos文章】当并行事务恢复进程在运行时,禁用并行事务恢复的方法

当并行事务恢复进程在运行时,禁用并行事务恢复的方法 How to Disable Parallel Transaction Recovery When Parallel Txn Recovery is Active (Doc ID 238507.1) 适用于: Oracle Database - Enterprise Edition - Version 8.1.5.0 to 11.2.0.4 [Release 8.1.5 to 11.2] Oracle Database - Personal E

【翻译自mos文章】oracle密码管理策略

oracle密码管理策略 参考原文: Oracle Password Management Policy (Doc ID 114930.1) 细节: 密码管理通过使用profile来建立. 当密码过期后,如果user有能力独立地从 end-user application(前台业务软件)修改密码的话,通常的推荐是只指派给这些schemas 一个profile,该profile有  password aging an expiration features . 通常这意味着application(

【翻译自mos文章】在11gR2 rac环境中,文件系统使用率紧张,并且lsof显示有很多oraagent_oracle.l10 (deleted)

在11gR2 rac环境中,文件系统使用率紧张,并且lsof显示有很多oraagent_oracle.l10 (deleted) 参考原文: High Space Usage and "lsof" Output Shows Many 'oraagent_oracle.l10 (deleted)' in GI environment (Doc ID 1598252.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.

【翻译自mos文章】注意: ASMB process exiting due to lack of ASM file activity

注意: ASMB process exiting due to lack of ASM file activity 参考原文: NOTE: ASMB process exiting due to lack of ASM file activity (Doc ID 754110.1) 适用于: Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.2.0.4 [Release 10.1 to 11.2] Information in

【翻译自mos文章】修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法

修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法 参考原文: How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control (Doc ID 259387.1) 适用于: Enterprise Manager for Oracle Database - Version 10.1.0.4 to 11.2.0.3 [Release 10.1 to 11.2] In

【翻译自mos文章】使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方案。

使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方案. 参考原文: ORA-01555 Using Automatic Undo Management - Causes and Solutions (Doc ID 269814.1) 适用于: Oracle Database - Enterprise Edition - Version 9.0.1.0 and later Information in this document

【翻译自mos文章】11gR2中的asm后台进程

11gR2中的asm后台进程 参考原文: ASM Background Processes in 11.2 (Doc ID 1641678.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.2 to 11.2.0.4 [Release 11.2] Information in this document applies to any platform. 1 ASMB - ASM Background Process 与as