【Liunx每日一问】ORA-12805:相同的队列服务意外的死亡
(2013-12-18 18:06:56)
标签:
队列应用程序信息更多这是it |
分类: Linux |
问题:在我们的一个RAC实例中,经常得到下面的错误信息。因为同样的错误,应用程序得到死亡和造成问题。
-
Sat Aug 04 06:57:26 2012
-
IPC Send timeout detected.Sender: ospid 28201
-
Receiver: inst 1 binc 8 ospid 3537
-
GATHER_STATS_JOB encountered errors.
Check the trace file. -
Errors in file /opt/oracle/db/diag/rdbms/mdspdb/mdspdb5/trace/mdspdb5_j001_28201.trc:
-
ORA-12805: parallel query server died unexpectedly
再一次得到更多的错误,如下所示:
-
Thu Aug 09 03:43:05 2012
-
IPC Send timeout detected.Sender: ospid 18645
-
Receiver: inst 1 binc 8 ospid 3537
-
GATHER_STATS_JOB encountered errors.
Check the trace file. -
Errors in file /opt/oracle/db/diag/rdbms/mdspdb/mdspdb5/trace/mdspdb5_j002_18645.trc:
-
ORA-20011: Approximate NDV failed: ORA-12805: parallel query server died unexpectedly
日志文件输出信息如下:
-
Trace file /opt/oracle/db/diag/rdbms/mdspdb/mdspdb5/trace/mdspdb5_j001_22631.trc
-
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
-
With the Partitioning, Real Application Clusters, OLAP, Data Mining
-
and Real Application Testing options
-
ORACLE_HOME = /opt/oracle/db/product/11.1.0/db_1
-
System name:
-
Node name:
mdspdb05 -
Release:
-
Version:
-
Machine:
-
Instance name: mdspdb5
-
Redo thread mounted by this instance: 5
-
Oracle process number: 107
-
Unix process pid: 22631, image: oracle@mdspdb05 (J001)
-
-
-
*** 2012-08-15 03:43:12.742
-
*** SESSION ID:(486.34904) 2012-08-15 03:43:12.742
-
*** CLIENT ID:() 2012-08-15 03:43:12.742
-
*** SERVICE NAME:(SYS$USERS) 2012-08-15 03:43:12.742
-
*** MODULE NAME:(DBMS_SCHEDULER) 2012-08-15 03:43:12.742
-
*** ACTION NAME:(ORA$AT_OS_OPT_SY_40411) 2012-08-15 03:43:12.742
-
-
IPC Send timeout detected.Sender: ospid 22631
-
Receiver: inst 1 binc 8 ospid 3537
-
SKGXP: SKGXPCTX: 0x0x2abb52d24a38 ctx
-
SKGXP:
-
SKGXP: WAIT HISTORY
-
SKGXP: Time(msec)
-
SKGXP: ----------
-
SKGXP: 2501
-
SKGXP: 0
-
SKGXP: 0
-
SKGXP: 2500
-
SKGXP: 0
-
SKGXP: 0
-
SKGXP: 2503
-
SKGXP: 0
-
SKGXP: 0
-
SKGXP: 2501
-
SKGXP: 0
-
SKGXP: 0
-
SKGXP: 2503
-
SKGXP: 0
-
SKGXP: 0
-
SKGXP: 2500
-
SKGXP: wait delta 61 sec (61423 msec) ctx ts 0x79e31f last ts 0x79e31f
-
SKGXP: user cpu time since last wait 0 sec 0 ticks
-
SKGXP: system cpu time since last wait 0 sec 0 ticks
-
SKGXP: locked 1
-
SKGXP: blocked 25048
-
SKGXP: timed wait receives 15
-
SKGXP: admno 0x66859bfb admport:
-
SKGXP: SSKGXPT 0x52d2597c flags
sockno 18 IP 192.168.1.10 UDP 61826 -
SKGXP: context timestamp 0x79e31f
-
SKGXP: buffers queued on port 0x2abb53449f50
-
SKGXP:
-
SKGXP:
-
SKGXP:
state -
SKGXP:
-
SKGXP: 0x03a8c901 0x50790ec9 46982647250960 46982647250948 46982647284070 46982647267591 46982647250952SKGXP:
33126d -
SKGXP:
-
SKGXP: 0x03a8c902 0x051d84d8
33168d -
SKGXP:
-
SKGXP: 0x03a8c903 0x51d441b2
33273d -
SKGXP:
-
SKGXP: 0x03a8c904 0x7d38c1af
33008d -
SKGXP:
-
SKGXP: 0x03a8c905 0x22782e02
33153d -
SKGXP:
-
SKGXP: 0x03a8c906 0x19e5dbdb
33197d -
SKGXP:
-
SKGXP: 0x03a8c907 0x024222c8
32895d -
SKGXP:
-
SKGXP: 0x03a8c908 0x1f3d5569
33129d -
SKGXP:
-
SKGXP: 0x03a8c909 0x4b4e08b3
33046d -
SKGXP:
-
SKGXP: 0x03a8c90a 0x32e47d79
32912d -
SKGXP:
-
SKGXP: 0x03a8c90b 0x60420275
32885d -
SKGXP:
-
SKGXP: 0x03a8c90c 0x5521db22
32890d -
SKGXP:
-
SKGXP: 0x03a8c90d 0x1696da78
-
SKGXP: slot 3 rqh=0x2abb52d2e0e8 seq=32763 len=2144 accno=0x1696da78 start TS=0x2f31c rt TS=0x79e56c X CNT=374
-
SKGXP:
-
SKGXP:
-
SKGXP:
state -
Dumping KSXP Connection Handle: cnh: 0x2abb54b97098
-
Link in Component Context : 0x2abb52fc0c08 <- cnh -> 0x2abb52fc0c08
-
Link in Connection Cache
: 0x2abb53070050 <- cnh -> 0x2abb52f68158 -
Pending Async Sends
-
Name:
-
State: 1 ==> OPEN
-
Flags: 0x0
==> -
Connect request handle: (nil)
-
Miners Canary
-
OSD Connection handle : 0x2abb55286938
-
Stats pointer
-
System incarnation when connection was made: 78
-
Dumping Target id for cnh
-
vers: 1 type: (1 ==> KSXP_TRANSPORT_ID_SKGXPPID) inst: 1 ptid: 401 ukey: 8
-
Protocol Info: vendor: 1 proto: 2 maj: 3 min: 0
-
pnum: 91 ospid: 3537
-
p1_pad1: 0 p2_pad1: (nil)
-
pad2: 0 pad3: 0
-
Dumping SKGXP Port ID: 0x2abb54b97120
-
SKGXP: SKGXPID 0x2abb54b97120
-
SKGXP: skgxp port number 0x25a32042 process id 3537
-
SKGXP: admin port id
-
SKGXP: SKGXPGPID 0x7fff596feb58
-
SKGXP:
Internet address 192.168.1.12 -
SKGXP:
UDP port number 28958 -
Dumping connection stats 0x19ee7f470
-
Dumping SKGXP Connection Handle: osd cnh: 0x2abb55286938
-
SKGXP: SKGXPCNH: 0x2abb55286938 SKGXPCON_OPEN (2) sconno 3a8c90d accono 1696da78 admno fd8255e
-
SKGXP:
Remote admin port -
SKGXP: SSKGXPT 0x55286974 flags SSKGXPT_WRITE sockno 18 IP 192.168.1.12 UDP 28958
-
SKGXP:
Remote data port -
SKGXP: SSKGXPT 0x55286a08 flags SSKGXPT_WRITE sockno 18 IP 192.168.1.12 UDP 29092
-
SKGXP:
no disconnect notification request handle -
SKGXP:
-
-
*** 2012-08-15 03:43:12.792
-
Submitting synchronized dump request [268435460]
-
-
*** 2012-08-15 03:43:14.796
-
kxfp_send_callback
-
-
kxfpgsg
-
-
-
*** 2012-08-15 03:43:14.831
-
ORA-20011: Approximate NDV failed: ORA-12805: parallel query server died unexpectedly
-
-
*** 2012-08-15 03:43:14.831
-
GATHER_STATS_JOB: GATHER_TABLE_STATS('"IMUSE01"','"SUBSCRIBEINFO"','""', ...)
-
ORA-20011: Approximate NDV failed: ORA-12805: parallel query server died unexpectedly
我使用的Oracle版本是:Oracle 11.1.0.6.0 RAC
回答:在Oracle RAC中,这是一个错误。我们需要更新这个版本为11.1.0.7。现在这个问题被解决了。