ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 9i出现内存分配错误

9i出现内存分配错误

原创 Linux操作系统 作者:yangtingkun 时间:2012-05-06 23:22:23 0 删除 编辑

9.2.0.8 RAC环境中,告警日志频繁出现内存分配错误的信息。

 

 

错误信息如下:

Wed May 2 10:20:43 2012
Trace dumping is performing id=[cdmp_20120502102043]
There are 1444 memory allocation errors for object-level stat
in the last 15 minutes
.
.
.
There are 1605 memory allocation errors for object-level stat
in the last 15 minutes

在另外一个节点上则出现了ORA-4031错误:

Sun Apr 29 22:30:52 2012
Errors in file /oracle/admin/orcl/bdump/orcl2_j000_1204632.trc:
ORA-12012: error on auto execute of job 527
ORA-04031: unable to allocate 4224 bytes of shared memory ("shared pool","unknown object","sga heap(2,0)","object level s")
ORA-06512: at "PERFSTAT.STATSPACK", line 2479
ORA-06512: at "PERFSTAT.STATSPACK", line 91
ORA-06512: at line 1
Sun Apr 29 23:03:14 2012
Errors in file /oracle/admin/orcl/bdump/orcl2_j001_1528536.trc:
ORA-12012: error on auto execute of job 527
ORA-04031: unable to allocate 4256 bytes of shared memory ("shared pool","unknown object","sga heap(2,0)","obj stat memor")
ORA-06512: at "PERFSTAT.STATSPACK", line 2479
ORA-06512: at "PERFSTAT.STATSPACK", line 91
ORA-06512: at line 1
There is 1 memory allocation error for object-level stat
in the last 15 minutes
There are 66 memory allocation errors for object-level stat
in the last 15 minutes
There are 8 memory allocation errors for object-level stat
in the last 15 minutes
Mon Apr 30 00:07:38 2012
Errors in file /oracle/admin/orcl/bdump/orcl2_j001_942754.trc:
ORA-12012: error on auto execute of job 527
ORA-04031: unable to allocate 4256 bytes of shared memory ("shared pool","unknown object","sga heap(2,0)","obj stat memor")
ORA-06512: at "PERFSTAT.STATSPACK", line 2479
ORA-06512: at "PERFSTAT.STATSPACK", line 91
ORA-06512: at line 1
There are 354 memory allocation errors for object-level stat
in the last 15 minutes
There are 653 memory allocation errors for object-level stat
in the last 15 minutes
Mon Apr 30 02:07:45 2012
Thread 2 advanced to log sequence 71531
Current log# 5 seq# 71531 mem# 0: /dev/rlv_redo22_128m
Mon Apr 30 02:07:45 2012
ARC0: Evaluating archive log 4 thread 2 sequence 71530
ARC0: Beginning to archive log 4 thread 2 sequence 71530
Creating archive destination LOG_ARCHIVE_DEST_1: '/archive2/2_71530.dbf'
ARC0: Completed archiving log 4 thread 2 sequence 71530
There are 41 memory allocation errors for object-level stat
in the last 15 minutes

ORA-4031错误比较常见,简单的说就是内存不足所致。从上面的错误信息看,内存不足发生在共享池上。而Memory allocation errors同样是共享池空间不足的表现,可以参考文章Memory Allocation Errors For Object-Level Stat Appearing in the Alert Log File [ID 757895.1]

针对这个问题,可以通过设置隐含参数_OBJECT_STATISTICS=FALSE来禁用对象级统计信息,但是最彻底的方法还是增加共享池空间。

 

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/4227/viewspace-723103/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2007-12-29

  • 博文量
    1955
  • 访问量
    10488154