oraagent.bin High Memory Usage as Dependent Listener was Removed/Renamed
Grid Infrastructure oraagent.bin process using huge amount of memory and forking huge number of threads.
- <GI_HOME>/log/<node>/agent/crsd/oraagent_grid/oraagent_grid.log
2014-02-12 08:08:10.132: [ USRTHRD][417280]{0:13:2} checkCrsStat 2 clscrs_res_get_op_status CLSCRS_STAT status 210 err_msg CRS-0210: Could not find resource 'ora.LISTENER.lsnr'. ====>> resource missing
2014-02-12 08:08:10.132: [ USRTHRD][417280]{0:13:2} CrsCmd::ClscrsCmdData::stat entity 1 statflag 33 useFilter 0
2014-02-12 08:08:10.476: [ USRTHRD][417280]{0:13:2} checkCrsStat 2 CLSCRS_STAT ret: 200
2014-02-12 08:08:10.476: [ USRTHRD][417280]{0:13:2} checkCrsStat 2 clscrs_res_get_op_status CLSCRS_STAT status 210 err_msg CRS-0210: Could not find resource 'ora.LISTENER.lsnr'.
2014-02-12 08:08:10.476: [ USRTHRD][417280]{0:13:2} AsmCommonAgent::setLocalListener cls::Exception CRS-0210: Could not find resource 'ora.LISTENER.lsnr'.
2014-02-12 08:08:10.476: [ USRTHRD][417280]{0:13:2} ASM Dedicated Thread }
- "<GI_HOME>/bin/crsctl stat res -t" shows no 'ora.LISTENER.lsnr' resource
- "<GI_HOME>/bin/crsctl stat res ora.asm -p" shows ora.asm depends on 'ora.LISTENER.lsnr' resource
....
START_DEPENDENCIES=hard(ora.cssd) weak(ora.LISTENER.lsnr)
CAUSE
Dependent resource ' ora.LISTENER.lsnr' was removed.
The issue is being investigated in bug 18261183 and bug 18427298
SOLUTION
The workaround is to add the missing "ora.LISTENER.lsnr" listener or set correct "listener" resource for ora.asm as grid user:
In the case of "ora.LISTENER.lsnr" is gone, add the listener back:
In the case of "ora.LISTENER.lsnr" was renamed to something else, i.e. "ora.ASM_LISTENER.lsnr"
The issue is fixed in 11.2.0.4 GI PSU5
####isssue
cradmin@sdbdb01:/home/cradmin]# ps -ef|grep 12320912
grid 4259970 12320912 120 0:00 <defunct>
grid 4784202 12320912 28 0:00 <defunct>
grid 4915348 12320912 120 0:00 <defunct>
grid 6947042 12320912 85 0:00 <defunct>
grid 7012576 12320912 29 0:00 <defunct>
grid 7143450 12320912 86 0:00 <defunct>
grid 7209134 12320912 120 0:00 <defunct>
grid 7274710 12320912 31 0:00 <defunct>
grid 7405822 12320912 29 0:00 <defunct>
grid 7536764 12320912 97 0:00 <defunct>
grid 7864386 12320912 64 0:00 <defunct>
grid 8126494 12320912 16 0:00 <defunct>
grid 12320912 1 0 Aug 21 - 98:55 /db/db/oracleapp/11.2.0/grid/bin/oraagent.bin
[cradmin@sdbdb01:/home/cradmin]# svmon -P 12320912
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
12320912 oraagent.bin 2352886 28396 105 2275346 Y Y N
grid@sdbdb01:/db/db/oracleapp/11.2.0/grid/OPatch]$ svmon -P 3277270
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
3277270 *** process does not exist ***
[grid@sdbdb01:/db/db/oracleapp/11.2.0/grid/OPatch]$ svmon -P 5243274
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
5243274 ocssd.bin 71624 57263 312 68341 Y Y N
->08/27 58.2.105.31
1.ps -ef|grep oraagent.bin
svmon -P 3408330 |more
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
3408330 oraagent.bin 66563 28398 0 55579 Y Y N
2.svmon -P 6357426 |more
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
6357426 oraagent.bin 106979 28391 0 97487 Y Y N
->after one minutes
6357426 oraagent.bin 107741 28391 0 98247 Y Y N
->after one minutes
6357426 oraagent.bin 113797 28391 0 104286 Y Y N
->after one minutes
6357426 oraagent.bin 120610 28391 0 111086 Y Y N
3.svmon -P 7274974 |more
[grid@sdbdb01:/home/grid]$ svmon -P 7274974 |more
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
7274974 *** process does not exist ***
->/db/db/oracleapp/11.2.0/grid/log/sdbdb01/agent/crsd/oraagent_grid/oraagent_grid.log
tail -100 /db/db/oracleapp/11.2.0/grid/log/sdbdb01/agent/crsd/oraagent_grid/oraagent_grid.log
2019-08-27 15:17:57.949: [ USRTHRD][62143]{1:10808:2} AsmCommonAgent::setLocalListener cls::Exception CRS-0210: Could not find resource 'ora.LISTENER.lsnr'.
-> crs_stat
crs_stat |grep LISTENER
NAME=ora.LISTENER_SCAN1.lsnr
->
crsctl stat res ora.asm -p
NAME=ora.asm
TYPE=ora.asm.type
ACL=owner:grid:rwx,pgrp:oinstall:rwx,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
ALIAS_NAME=ora.%CRS_CSS_NODENAME%.ASM%CRS_CSS_NODENUMBER%.asm
AUTO_START=never
CHECK_INTERVAL=60
CHECK_TIMEOUT=30
DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=asm) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%)
DEGREE=1
DESCRIPTION=Oracle ASM resource
ENABLED=1
GEN_USR_ORA_INST_NAME=
GEN_USR_ORA_INST_NAME@SERVERNAME(sdbdb01)=+ASM1
GEN_USR_ORA_INST_NAME@SERVERNAME(sdbdb02)=+ASM2
LOAD=1
LOGGING_LEVEL=1
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=60
START_DEPENDENCIES=weak(ora.LISTENER.lsnr)
START_TIMEOUT=900
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=
STOP_TIMEOUT=600
TYPE_VERSION=1.2
UPTIME_THRESHOLD=1d
USR_ORA_ENV=
USR_ORA_INST_NAME=+ASM%CRS_CSS_NODENUMBER%
USR_ORA_OPEN_MODE=mount
USR_ORA_OPI=false
USR_ORA_STOP_MODE=immediate
VERSION=11.2.0.4.0
cause:
Dependent resource ' ora.LISTENER.lsnr' was removed.
The issue is being investigated in bug 18261183 and bug 18427298
fix:
以下操作大部分操作都是grid用户,除了重启CRS
1.确保1527 端口没被占用
[grid@sdbdb01:/home/grid]$ netstat -an|grep 1527
[grid@sdbdb01:/home/grid]$
In the case of "ora.LISTENER.lsnr" is gone, add the listener back:
$ srvctl add listener -l LISTENER -p 1527
In the case of "ora.LISTENER.lsnr" was renamed to something else, i.e. "ora.db.lsnr"
$ lsnrctl status db
$ srvctl modify asm -l db
The issue is fixed in 11.2.0.4 GI PSU5
2.停下MRP ,
alter database recover managed standby database cancel;
3.重启CRS
/db/db/oracleapp/11.2.0/grid/bin/crsctl stop crs
/db/db/oracleapp/11.2.0/grid/bin/crsctl start crs
4.启动MRP
alter database recover managed standby database using current logfile disconnect from session;
5.观察日志oraagent_grid.log是否还有 CRS-0210 错误,理论上应该没有
tail -100 /db/db/oracleapp/11.2.0/grid/log/sdbdb01/agent/crsd/oraagent_grid/oraagent_grid.log
是否还有 CRS-0210: Could not find resource 'ora.LISTENER.lsnr'.
6.删除默认监听
lsnrctl stop
srvctl remove listener -l LISTENER
ps.
7.
->
[opdb@sdbdb01:/home/opdb]$ svmon -P 7078058 |more
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
7078058 *** process does not exist ***
-〉
[opdb@sdbdb01:/home/opdb]$ svmon -P 4653478 |more
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
4653478 oraagent.bin 56155 28385 0 49585 Y Y N
->after one minutes;
svmon -P 4653478 |more
-------------------------------------------------------------------------------
Pid Command Inuse Pin Pgsp Virtual 64-bit Mthrd 16MB
4653478 oraagent.bin 56157 28385 0 49587 Y Y N
->
svmon -P 6160876 |more
oraagent.bin High Memory Usage as Dependent Listener was Removed/Renamed的更多相关文章
- SHELL:Find Memory Usage In Linux (统计每个程序内存使用情况)
转载一个shell统计linux系统中每个程序的内存使用情况,因为内存结构非常复杂,不一定100%精确,此shell可以在Ghub上下载. [root@db231 ~]# ./memstat.sh P ...
- Shell script for logging cpu and memory usage of a Linux process
Shell script for logging cpu and memory usage of a Linux process http://www.unix.com/shell-programmi ...
- 5 commands to check memory usage on Linux
Memory Usage On linux, there are commands for almost everything, because the gui might not be always ...
- Why does the memory usage increase when I redeploy a web application?
That is because your web application has a memory leak. A common issue are "PermGen" memor ...
- Reducing and Profiling GPU Memory Usage in Keras with TensorFlow Backend
keras 自适应分配显存 & 清理不用的变量释放 GPU 显存 Intro Are you running out of GPU memory when using keras or ten ...
- GPU Memory Usage占满而GPU-Util却为0的调试
最近使用github上的一个开源项目训练基于CNN的翻译模型,使用THEANO_FLAGS='floatX=float32,device=gpu2,lib.cnmem=1' python run_nn ...
- 【转】C++ Incorrect Memory Usage and Corrupted Memory(模拟C++程序内存使用崩溃问题)
http://www.bogotobogo.com/cplusplus/CppCrashDebuggingMemoryLeak.php Incorrect Memory Usage and Corru ...
- Memory usage of a Java process java Xms Xmx Xmn
http://www.oracle.com/technetwork/java/javase/memleaks-137499.html 3.1 Meaning of OutOfMemoryError O ...
- Redis: Reducing Memory Usage
High Level Tips for Redis Most of Stream-Framework's users start out with Redis and eventually move ...
随机推荐
- 神经网络(10)--有助于对神经网络Backpropagation算法的理解
为了更好的理解backpropagation,先来了解一下forward propagation的内部 我们在forward propagation中计算Z1(3)的方法与在back propagat ...
- Centos6 克隆后简单的网络配置
第一步:修改主机名 $ vi /etc/sysconfig/network 第二步: $ vi /etc/udev/rules.d/70-persistent-net.rules 注: ...
- 题解 UVa11889
题目大意 \(T\) 组数据,每组数据给定两个正整数 \(A,C\),求使 \(LCM(A,B)=C\) 的最小的 \(B\),若无解则输出NO SOLUTION. 分析 当 \(C\%A=0\) 时 ...
- 依赖注入(DI)和控制反转(IOC)
学习过Spring框架的人一定都会听过Spring的IoC(控制反转) .DI(依赖注入)这两个概念,对于初学Spring的人来说,总觉得IoC .DI这两个概念是模糊不清的,是很难理解的,今天和大家 ...
- 如何轻松愉快地理解条件随机场(CRF)
https://blog.csdn.net/DCX_abc/article/details/78319246 机器学习之条件随机场(CRF): https://blog.csdn.net/wangya ...
- YAML_14 tags给指定的任务定义一个调用标识,以后不用重复整个过程,只需要执行tags标签的部分
ansible]# vim adhttp.yml --- - hosts: cache remote_user: root tasks: - copy: src: /r ...
- P1894 [USACO4.2]完美的牛栏The Perfect Stall
题目描述 农夫约翰上个星期刚刚建好了他的新牛棚,他使用了最新的挤奶技术.不幸的是,由于工程问题,每个牛栏都不一样.第一个星期,农夫约翰随便地让奶牛们进入牛栏,但是问题很快地显露出来:每头奶牛都只愿意在 ...
- jmeter非GUI界面常用参数详解
压力测试或者接口自动化测试常常用到的jmeter非GUI参数,以下记录作为以后的参考 讲解:非GUI界面,压测参数讲解(欢迎加入QQ群一起讨论性能测试:537188253) -h 帮助 -n 非GUI ...
- 本地spark报:java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Ljava/lang/String;JJJI)Ljava/io/FileDescriptor;
我是在运行rdd.saveAsTextFile(fileName)的时候报的错,找了很多说法……最终是跑到hadoop/bin文件夹下删除了hadoop.dll后成功.之前某些说法甚至和这个解决方法自 ...
- SQL Server 2008R2安装
SQL Server 2008详细安装过程及配置 https://www.cnblogs.com/rewwensoftware/p/9580697.html SQL Server 2008R2 百 ...