Oracle 是大海,这里是它的一滴水! http://songhefei.itpub.net

ora-600 12333 错误

上一篇 / 下一篇  2008-06-21 11:39:37 / 个人分类:Oracle数据库

       这几天, 日志中经常出现ORA-00600: internal error code, arguments: [12333], [4], [1], [2], [], [], [], [].

Typically the ORA-600 [12333] itself is not the problem,
6[@rG0aO0It may be a chance of the underlying network problemsITPUB个人空间,q-ss2Z0y4MQ b9GS
This is usually a client side related issue and is not normally related to server. It is a communications issue and not related to the version of the RDBMS. Thats why you do have this errors intermittently only.
"@%`b3j7D ^I;Ra0
q)\1} ES5fx L4a0Most occurances of ORA-600 [12333] just means that something hasITPUB个人空间 qL? r,w
gone wrong in the communication between the client and the server processes. Often, this could be the result of an abnormal condition (a process is inadvertently killed, or a database shuts down)ITPUB个人空间-uI*A7HV `%S1~
ITPUB个人空间qr D vL k b7f
The error indicates a protocol communications mismatch
|uz Cd)a dh0ITPUB个人空间.FW.K.M2wKD
<Note:112660.1>ITPUB个人空间ob3n'@ m,rj4|
ITPUB个人空间:kK7pV-VU0KV
PURPOSEITPUB个人空间8O#n$qOno
-------
K6q1~-G Nd+R B0u Wc0ITPUB个人空间\!v.Q kI,R
This paper describes one known reason of frequent occurence of ORA-600 [12333]
;M'|$rs&fQ0errors.
[:u/F)F4v!?~*o'xX c'p0NOTE: There may exist many other issues however.ITPUB个人空间 Ik3NsusC&m

/Dg;L6{A0SCOPE & APPLICATIONITPUB个人空间C].xCt#rD8p v$Ak
-------------------ITPUB个人空间N ~s(LT0YYu&y
ITPUB个人空间J2uus/j
Support Analysts and DBAs.ITPUB个人空间pdI;B [ y2W.Qx
ITPUB个人空间 ZqF/UW{X i:N

t/zG K\0ORA-600 [12333] in case of termination of user sessions
EKUvU2Q0-------------------------------------------------------
)C-nj1R z7VL0
b;Ne!M/[q o ]D0me0ORA-600 [12333] may occur in case of abnormal termination of user
$Z |@z:k Q7r0sessions, eg. shutdown immediate, forced disconnections etc.
FxOxK~$|)xa1lc0ITPUB个人空间$Z3H5DOG_S.m@

TU.LJ@U)J5a$^0Frequent ORA-600 [12333] in case of using resource limitITPUB个人空间f7~3AGB;N
--------------------------------------------------------ITPUB个人空间)`T4f9m,G'}'C BN
ITPUB个人空间6b!` ~#xz
Using user profiles and resource_limit=true may cause frequent ORA-600 [12333]occurence. We may also see many SNIPPED session in V$SESSION. For those ones resources are not freed until any server related action is taken at the client side. It seems that ORA-600 [12333] appears while sending ORA-1012 or ORA-2396 messages to the client process.ITPUB个人空间f'I/n2u{&Q

;l V;M/Z;jd@0If we really have to use user profiles to enforce resource limit policies(especially idle time) we'
.u&p H`,Eb0d better proactively remove sUCh sessions.
\'^ }&`dD4QA A0For now, the only found way preventing from ORA-600 [12333] occurenceITPUB个人空间n b0e;A,{1hQ"{q
caused by resource_limit issue is killing processes related to SNIPPED sessions at OS level. This implies it is applicable only to the DEDICATED server processes. Killing shadow processes for SNIPPED sessions is eXPlained in <Note:96170.1>.ITPUB个人空间-\)I}C*y|?

5l*uMt!l0NOTE: Killing shadow processes only decreases the likehood of ORA-600 [12333] occurence. It is a workaround.ITPUB个人空间3f8Ti,R}&q/da

8[ o:IEz4P-NvtYD0ITPUB个人空间4`{ D^r5\
Couple of suggestion
"w?1t QXp8Y w0=======================ITPUB个人空间&Zypt j3P$t
ITPUB个人空间o]6~h JI
1)Check the network errors, their should be any errors or protocol mismatch
7x cFE4rh2P0
$]'L-cK6SI AH02)Check the NLS settings on client as well as server side settings
M'?KT^X:V w0ORA_NLS (ORA_NLS32, ORA_NLS33) Environment Variables.
P3k:SY2j}"b0ITPUB个人空间t4Wq.Q P*A[7azV
Article-ID: <Note:77442.1>ITPUB个人空间+I a'l6V2x[:p
Title: ORA_NLS (ORA_NLS32, ORA_NLS33) Environment Variables
+kTFt ZS'q t0ITPUB个人空间P&VY"o [
3)NO users should disconnect abnormally
 
有人推荐,利用登陆信息查看
create tableITPUB个人空间#Z^C Y2N%K
SYSTEM.login_infoITPUB个人空间1w3R0{'W-^ np)h
( logindatetime date,ITPUB个人空间tes*O-T
LogoffDateTime Date,
l/A,hqO9]6^9R0LoggedUser Varchar2(30),ITPUB个人空间D+E.x"J*D~7w$q
SESSIONID Number,ITPUB个人空间'x*sJ[ p.C
TERMINAL varchar2(20),ITPUB个人空间%ok7p!s-Zr#G\
ip       varchar2(16),ITPUB个人空间k0h:N3a2Xoo+D3M\
PROGRAM varchar2(20)
,J vm&R+w&G$nW6}.H0);
q$fCpqu~M6j0--------------------------------------------------------------------
&E:R)[r\5O!p[0CREATE OR REPLACE TRIGGER logoff_audit Before LOGOFF ON DATABASE
yD r0\$Qh2u)b0BEGIN
r\;Xanm0insert into system.login_infoITPUB个人空间 nH(ms_@%c9JR/_-Q
selectITPUB个人空间L%t8b4C5h"Z,R
'',sysdate,user,sys_context('USERENV','SESSIONID'),sys_context('USERENV'
$pT)kO$Q _%[0,'TERMINAL'),utl_inaddr.get_host_address, program from v$session where logon_time = (select
%_ct1M6E+X t}0logindatetime from SYSTEM.login_info where SESSIONID=ITPUB个人空间X+~U Ss6R alx6\
sys_context('USERENV','SESSIONID'));
|R#F9Nn1`"O0END;ITPUB个人空间3V3W"}%y(D
---------------------------------------------------------------------ITPUB个人空间 DwAxJb5`C @.t
CREATE OR REPLACE TRIGGER logon_audit AFTER LOGON ON DATABASE
L"UV ng"G0BEGINITPUB个人空间@L K0G1U&xBy
insert into system.login_infoITPUB个人空间'e-R[zVHX K,}
select sysdate,null,user,sys_context('USERENV','SESSIONID'),sys_context(
?M^dMS#Y0'USERENV','TERMINAL'),utl_inaddr.get_host_address,program from v$session;
s@U$@(h/h PzvJ0
END;
-I!C&_ {7Xb7tX{`4r0==============================================================
.ITPUB个人空间7?Ls dy)mu }
ITPUB个人空间5x!c6kJ {*xd*K@
-


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

Open Toolbar