ORA-04031 28049976 large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xxzhaobb/article/details/82250875

RDBMS 12.2.0.1 ,使用了PDB。

最近发现,在使用EM exporess的时候,就会产生ORA-04031的告警。

告警内容如下:

ORA-04031: 鏃犳硶鍒嗛厤 28049976 瀛楄妭鐨勫叡浜唴瀛?("large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10")
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
2018-08-31T08:52:24.027227+08:00
Errors in file E:\APP\TEST\VIRTUAL\diag\rdbms\orcl\orcl\trace\orcl_s000_2660.trc  (incident=24291) (PDBNAME=CDB$ROOT):
ORA-04031: 鏃犳硶鍒嗛厤 28049976 瀛楄妭鐨勫叡浜唴瀛?("large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10")
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
2018-08-31T08:53:24.917852+08:00
Errors in file E:\APP\TEST\VIRTUAL\diag\rdbms\orcl\orcl\trace\orcl_s000_2660.trc  (incident=26429) (PDBNAME=CDB$ROOT):
ORA-04031: 鏃犳硶鍒嗛厤 28049976 瀛楄妭鐨勫叡浜唴瀛?("large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10")
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
2018-08-31T08:54:28.652227+08:00
Errors in file E:\APP\TEST\VIRTUAL\diag\rdbms\orcl\orcl\trace\orcl_s000_2660.trc  (incident=26430) (PDBNAME=CDB$ROOT):
ORA-04031: 鏃犳硶鍒嗛厤 28049976 瀛楄妭鐨勫叡浜唴瀛?("large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10")
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.

查看trc文件:

QMPS_RUN2:PGA Resource: OS PROCESS PRIVILEGES
QMPS_RUN:ERROR: SESSION USING PGA IS ENDED 

*** 2018-08-31T08:43:52.699102+08:00
*** SESSION ID:(69.33955) 2018-08-31T08:43:52.699102+08:00
*** SERVICE NAME:(SYS$USERS) 2018-08-31T08:43:52.699102+08:00
*** MODULE NAME:(ORACLE.EXE (S003)) 2018-08-31T08:43:52.699102+08:00
*** ACTION NAME:() 2018-08-31T08:43:52.699102+08:00
*** CONTAINER ID:(1) 2018-08-31T08:43:52.699102+08:00
 
2018-08-31T08:43:52.699102+08:00
Incident 24444 created, dump file: E:\APP\TEST\VIRTUAL\diag\rdbms\orcl\orcl\incident\incdir_24444\orcl_s003_2976_i24444.trc
ORA-04031: 无法分配 28049976 字节的共享内存 ("large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10")


*** 2018-08-31T08:44:02.917852+08:00 (CDB$ROOT(1))
QMPS_RUN2:PGA Resource: OS PROCESS PRIVILEGES
QMPS_RUN:ERROR: SESSION USING PGA IS ENDED 
*** SESSION ID:(69.20980) 2018-08-31T08:44:03.417852+08:00
*** SERVICE NAME:(SYS$USERS) 2018-08-31T08:44:03.417852+08:00
*** MODULE NAME:(ORACLE.EXE (S003)) 2018-08-31T08:44:03.417852+08:00
*** ACTION NAME:() 2018-08-31T08:44:03.417852+08:00
*** CONTAINER ID:(1) 2018-08-31T08:44:03.417852+08:00
 
QMPS_RUN2:PGA Resource: OS PROCESS PRIVILEGES
QMPS_RUN:ERROR: SESSION USING PGA IS ENDED 

查看Incident 文件:主要的告警提示如下:

[TOC00000]
Jump to table of contents
Dump continued from file: E:\APP\TEST\VIRTUAL\diag\rdbms\orcl\orcl\trace\orcl_s003_2976.trc
[TOC00001]
ORA-04031: 无法分配 28049976 字节的共享内存 ("large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10")

[TOC00001-END]

*** 2018-08-31T08:43:52.714727+08:00
[TOC00002]
========= Dump for incident 24444 (ORA 4031) ========
[TOC00003]
----- Beginning of Customized Incident Dump(s) -----

*** 2018-08-31T08:43:52.714727+08:00
=================================
Begin 4031 Diagnostic Information
=================================
The following information assists Oracle in diagnosing
causes of ORA-4031 errors.  This trace may be disabled
by setting the init.ora _4031_dump_bitvec = 0
=====================================
Allocation Request Summary Informaton
=====================================
Current information setting:  04014fff
  SGA Heap Dump Interval=3600 seconds
  Dump Interval=300 seconds
  Last Dump Time=08/31/2018 08:43:52
  Dump Count=1
Allocation request for: kxttAssignMemory: 10 
  Heap: 000007FF016DC498, size: 28049976
******************************************************
HEAP DUMP heap name="large pool"  desc=000000000A5D6688
 extent sz=0xfe0 alt=304 het=32767 rec=9 flg=0x82 opc=0
 parent=0000000000000000 owner=0000000000000000 nex=0000000000000000 xsz=0x1 heap=0000000000000000
 fl2=0x64, nex=0000000000000000, idx=0 
 pdb id=1, src pdb id=1
 ds for latch 1: 0xa5d7fe0                                 
 reserved granule count 1 (granule size 16777216)
******************************************************
HEAP DUMP heap name="kxttIICDT: 4"  desc=000007FF016DC498
 extent sz=0x1040 alt=32767 het=32767 rec=0 flg=0x2 opc=0
 parent=000007FF19CA2A00 owner=0000000000000000 nex=0000000000000000 xsz=0x1000000 heap=0000000000000000
 fl2=0x24, nex=0000000000000000, idx=0, dsxvers=1, dsxflg=0x0
 dsx first ext=000007FF19B5CE00
 dsx empty ext bytes=0  subheap rc link=000007FF19B5CE70,000007FF19B5CE70
 pdb id=1, src pdb id=1
 Subheap has 104 bytes of memory allocated
====================
Process State Object
====================

解决方法:

 通过在MOS上查看,该现象和MOS 2247789.1 吻合。

ORA-04031: unable to allocate 28049976 bytes of shared memory ("large pool","unknown object","kxttIICDT: 4","kxttAssignMemory: 10") in 12c (文档 ID 2247789.1)

alter system set "_ksmg_granule_size"=33554432 scope=spfile;

修改参数,并重启Instance,再次使用EM Express, 没有产生ORA-04031告警。

END。

猜你喜欢

转载自blog.csdn.net/xxzhaobb/article/details/82250875