oracle 11.2.0.1
aix 6.1
rac(2nodes) + asm
现象:rac os 无响应,查看crs asm db 的alert log 均无明显异常。
症状:orarootagent.bin 进程消耗了近40g swap memory。几乎耗尽全部交换分区
metalink 参考:
ORAAGENT or ORAROOTAGENT High Resource (CPU, Memory etc) Usage [ID 1062676.1]
Bug 9855476 - aix:cssd/ohasd may coredump, or orarootagent/gipcd may leak memory [ID 9855476.8]
下面说明了 导致了内存泄漏,观察发现每个节点的orarootagent.bin 进程每天增加约220M内存左右
Description
gipcd.bin or orarootagent.bin process may leak process memory.
Huge memory consumption by these processes may cause other processes
such as cssd.bin or ohasd.bin to be unable to allocate memory and crash.
Rediscovery Notes:
If the following are true, you might be hitting this problem.
- Platform is IBM AIX on POWER Systems (64-bit)
- Process memory is steadily increasing in oraagent.bin process
or gipcd.bin process. There is a report that oraagent.bin
process increased about 4KB to 8KB memory every 15 seconds.
解决办法:打补丁升级到>11.2.0.2,或者定期kill orarootagent.bin进程
It's recommended to apply latest patch set or PSU. But if patches are unavailable or can not be applied, the workaround is to kill agent process during off peak hour. There should be no impact as agent will be respawn automatically.
To kill agent process with pid 7242: kill -9 7242
找到orarootagent.bin 进程 ,并kill掉,该进程会自动重启,并不影响rac运行
ps -ef|grep orarootagent
kill -9 2163012
ps -ef|grep 12845336
[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/70612/viewspace-1057322/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/70612/viewspace-1057322/