11.2.0.4
ADG的数据库
突然发现有大量的 oracleorcl2 (LOCAL=NO) process 设置为800 不到4个小时 竟然被占满了
开始没发现是什么问题
使用shell脚本进行清理
ps -ef|grep -v grep |grep LOCAL=NO |awk '{print $2} |xargs kill -9
之后查看v$session
SQL语句:select sid,serial#,username,program,machine,status from v$session where status='incative',发现username为sysman用户下,program为OMS的程序,有大量的OMS处于‘非活动’状态;
考虑可能是Oracle Enterprise Manager 的问题
$emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /orahome/oracle/product/11.2.0/db_1/loc
ADG的数据库
突然发现有大量的 oracleorcl2 (LOCAL=NO) process 设置为800 不到4个小时 竟然被占满了
开始没发现是什么问题
使用shell脚本进行清理
ps -ef|grep -v grep |grep LOCAL=NO |awk '{print $2} |xargs kill -9
之后查看v$session
SQL语句:select sid,serial#,username,program,machine,status from v$session where status='incative',发现username为sysman用户下,program为OMS的程序,有大量的OMS处于‘非活动’状态;
考虑可能是Oracle Enterprise Manager 的问题
$emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /orahome/oracle/product/11.2.0/db_1/loc