ORA-07445: exception encountered¿¡ ´ëÇÏ¿©
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2003-08-22 16:35:04
 

:: OS ´Â ¼Ö¶ó¸®½º ½ºÆÅ 2.8 ÀÔ´Ï´Ù.
::
:: ORA-07445: exception encountered: core dump [] [SIGILL] [Illegal opcode] [2357341856] [
:: ] []
::
:: 07445, 00000, "exception encountered: core dump [%s] [%s] [%s] [%s] [%s] [%s]"
:: // *Cause: An OS exception occurred which should result in the creation of a
:: // core file. This is an internal error.
:: // *Action: Contact your customer support representative.
::
::
::
:: ORA-00600: internal error code, arguments: [4036], [1], [0], [], [], [], [], []

------------------------------

¾Æ·¡´Â ¿À¶óŬ ½ÎÀÌÆ®¿¡¼­ ÆÛ¿Â °ÍÀ» °£Ã߸° °ÍÀÔ´Ï´Ù.

===========================

ORA-600 ¿¡·¯´Â ORACLEÀÌ Á÷Á¢ ¹öÆÛ·Î µ¥ÀÌŸ¸¦ ÀоîµéÀÏ ¶§ ÀÐÀº ºí·°ÀÇ
DBA(Data Block Address)°¡ À߸øµÇ¾úÀ½(INVALID)À» ÀǹÌÇÑ´Ù.
arg1Àº ½ÇÁ¦·Î ÀоîµéÀÎ ºí·°ÀÇ DBA¸¦ ³ªÅ¸³»¸ç arg2´Â ORACLEÀÌ ÀаíÀÚ
ÇÏ¿´´ø ºí·°ÀÇ DBA¸¦ ³ªÅ¸³½´Ù. arg1°ú arg2ÀÌ ´Ù¸£¸é À§¿¡¼­¿Í °°Àº ¿¡·¯°¡
¹ß»ýÇϸç ÁÖ·Î OS³ª HWÀÇ ¹®Á¦°¡ ±× ¿øÀÎÀÌ µÇ´Â °æ¿ì°¡ ¸¹´Ù.µ¥ÀÌŸÀÇ ¼Õ»ó
¿øÀÎÀº ¿©·¯°¡Áö°¡ ÀÖÀ¸¸ç ´ë°³ µ¥ÀÌŸ°¡ ¼Õ»óµÉ ´ç½Ã¿¡´Â ±× »ç½ÇÀÌ µå·¯³ªÁö
¾Ê´Ù°¡ ¼Õ»óµÈ ºÎºÐÀÇ µ¥ÀÌŸ°¡ »ç¿ëµÉ ¶§ ºñ·Î¼Ò ¼Õ»óµÈ »ç½ÇÀÌ ¾Ë·ÁÁö°Ô
µÈ´Ù.

ORACLEÀº ¸ðµç Á¤º¸¸¦ ºí·° ÇüÅ·Π°ü¸®ÇÑ´Ù. ORACLE µ¥ÀÌŸ ºí·°Àº Çϳª
ÀÌ»óÀÇ OS ºí·°À¸·Î ÀÌ·ç¾îÁ® ÀÖ´Ù. ±× Å©±â´Â init.ora È­ÀÏÀÇ
DB_BLOCK_SIZE¿¡ ³ªÅ¸³ª ÀÖ´Ù.

ORACLE µ¥ÀÌŸ ºí·°Àº ºí·°ÀÇ Á¤º¸¸¦ ´ãÀº fixed header ¸¦ °®°í ÀÖÀ¸¸ç ÀÌ
Á¤º¸¸¦ ÀÌ¿ëÇÏ¿© °¢°¢ÀÇ ºí·°°ú µ¥ÀÌŸº£À̽º ÀüüÀÇ INTEGRITY¸¦ À¯ÁöÇÑ´Ù.
DBA´Â fixed headerÀÇ ÇÑ ºÎºÐÀ¸·Î 32bit ±æÀÌÀÇ Á¤¼öÀÌ¸ç µ¥ÀÌŸº£À̽ºÀÇ È­ÀÏ
¹øÈ£¿Í È­ÀÏ¿¡¼­ ºí·°À§Ä¡¸¦ ³ªÅ¸³½´Ù.

DBA¿¡ ¹®Á¦°¡ ÀÖÀ¸¸é ORACLEÀº OERI(3339)¿Í ÇÔ²² À§¿¡¼­ ¸»ÇÑ 2°³ÀÇ Àμö,
Áï arg1°ú arg2¸¦ Ç¥½ÃÇÏ°Ô µÈ´Ù. ÀÌ µÎ °ªÀÌ ´Ù¸£¸é OERI(3339)°¡ ¹ß»ýÇÏ°Ô
µÇ´Â °ÍÀÌ´Ù.

ORACLEÀº È­ÀÏ¿¡ ºí·°À» ÀÐ°í ¾µ¶§ ½Ã½ºÅÛ Æã¼Ç ÄÝÀ» ÀÌ¿ëÇÑ´Ù.
¿©±â¿¡´Â lseek(), read(), readv(), write(), writev() µîÀÌ Æ÷ÇԵȴÙ.
ºí·°ÀÌ OS¿¡ ÀÇÇؼ­ ÀÐÇôÁö¸é SGA·Î µé¾î°¡¸ç °ðÀ̾ DBA¿¡ ´ëÇÑ °Ë»ç°¡
ÀÌ·ç¾îÁø´Ù.

°æ¿ì1)
ORA-00600 [3339] [0] [large number] [] [] [] []
ORA-1578: Data block corrupted file # block #

ÀÌ °æ¿ì¿¡´Â arg1Àº 0ÀÌ°í arg2´Â ORACLEÀÌ Ã£°í ÀÖ´Â DBAÀÌ´Ù. ÀÌ ¿¡·¯ÀÇ
¿øÀÎÀº ORACLE ºí·°ÀÇ ÀϺΰ¡ ¸ðµÎ 0À̱⠶§¹®ÀÎ °æ¿ì°¡ ¸¹´Ù.

ORACLE ºí·°³»ÀÇ Ã¹¹ø° OS ºí·°Àº µð½ºÅ©»óÀÇ ¹®Á¦·Î Çؼ­ OS ¶Ç´Â µð½ºÅ©
º¹±¸ ÇÁ·Î±×·¥ÀÌ ÇØ´ç ºí·°À» º¹±¸ÇÏ·Á´Â °úÁ¤¿¡¼­ ¸ðµÎ 0À¸·Î µÇ¾î¹ö¸®°ï
ÇÑ´Ù.

À¯´Ð½º Ç÷§ÆûÀÇ °æ¿ì¿¡´Â ¿©·¯°³ÀÇ DBWRÀ» µ¿½Ã¿¡ ÀÛµ¿½ÃÅ°¸é ÀÌ¿Í°°Àº
¹®Á¦°¡ ¹ß»ýÇÏ´Â °ÍÀ¸·Î ¾Ë·ÁÁ® ÀÖÀ¸³ª V6.0.33.2 ÀÌÈÄ ¹öÀü¿¡¼­ºÎÅÍ´Â
¼öÁ¤µÇ¾ú´Ù.

ORA-1578 ¸Þ½ÃÁö´Â ¹Ýµå½Ã OERI(3339)¸¦ À¯¹ß½ÃÅ°Áö´Â ¾Ê´Â´Ù.

¿øÀÎ:

arg1ÀÌ 0À̵Ǵ ¶Ç´Ù¸¥ ¿øÀÎÀº ORACLEÀÇ ¹ö±× ¶§¹®Àε¥ ·Ñ¹é¼¼±×¸ÕÆ®°¡
µå·ÓµÇ±â Àü ±× ·Ñ¹é ¼¼±×¸ÕÆ®¸¦ Æ÷ÇÔÇÑ Å×ÀÌºí½ºÆäÀ̽º°¡ ¸ÕÀú µå·ÓµÇ¸é
¹ß»ýÇÑ´Ù. ÀÌ ¹®Á¦´Â V6.0.32 ÀÌÈÄÀÇ ¹öÀü¿¡¼­ ¼öÁ¤µÇ¾ú´Ù.

°æ¿ì2)
ORA-00600 [3339] [large number] [large number] [] [] [] []
ORA-1578: Data block corrupted file # block #

¿øÀÎ1)
À̹ø¿¡´Â µð½ºÅ©»óÀÇ ¹°¸®Àû ºí·°ÀÇ DBA°¡ Ʋ¸° °æ¿ìÀÌ´Ù. ÀÌ°ÍÀº ºí·°ÀÌ
¸Þ¸ð¸® »ó¿¡¼­ ¼Õ»óµÇ¾úÀ¸³ª ±×´ë·Î µð½ºÅ©¿¡ ±â·ÏµÈ °æ¿ì¿¡ ¹ß»ýÇÑ´Ù. ÀÌ
¹®Á¦´Â ¸Å¿ì µå¹°°Ô ³ªÅ¸³ª¸ç ÀÌ ¶§ÀÇ DBA´Â º¸Åë ¾Æ¹«Àǹ̾ø´Â °ªÀÌ´Ù.

¸¸¾à ¸Þ¸ð¸®¿¡ ¹®Á¦°¡ ÀÖ´Ù°í »ý°¢µÈ´Ù¸é ´ÙÀ½°ú °°Àº event parameter¸¦
init.ora¿¡ Ãß°¡ÇÔÀ¸·Î½á ºí·° °Ë»ç¸¦ ÇÒ ¼ö ÀÖ´Ù.

event = "10210 trace name context forever, level 10"
event = "10211 trace name context forever, level 10"

DBWR°¡ µð½ºÅ©¿¡ µ¥ÀÌŸ¸¦ ¾²±â Àü¿¡ ij½¬¿¡¼­ ¼Õ»óµÈ ºí·°À» ¹ß°ßÇϸé
OERI(3398) ¸Þ½ÃÁö¸¦ Ãâ·ÂÇÏ°í ÀνºÅϽº¸¦ Á¤Áö½Ãų °ÍÀÌ´Ù. µû¶ó¼­ ¹®Á¦ÀÇ
ºí·°Àº µð½ºÅ©¿¡ ÀúÀåµÇÁö ¾Ê´Â´Ù. ÀÌ ¶§ DBA¸¦ Æ÷ÇÔÇÑ ¸¹Àº ÀμöµéÀÌ
OERI(3398) ³»ºÎ ¿¡·¯ 󸮱⿡ Àü´ÞµÈ´Ù. ÀÌ¿Í °°Àº °æ¿ì¿¡´Â ÀνºÅϽº¸¦ ´Ù½Ã
±âµ¿½ÃÅ°°í ¸®ÅÏµÈ Àμö¿Í tarce È­ÀÏÀ» °¡Áö°í Oracle World Wide Customer
Support¿¡ ¿¬¶ôÇÏ¿©¾ß ÇÑ´Ù.

¿øÀÎ2)
ºí·°ÀÌ µ¥ÀÌŸȭÀÏ»ó¿¡ ±â·ÏµÉ À§Ä¡¸¦ À߸ø ã´Â °æ¿ìÀÌ´Ù. ÀÌ°ÍÀº
"write blocks out of sequence" ¶ó°í ºÒ¸®¿î´Ù. ÀÌ ¶§ OERI(3339)¿¡¼­
Ç¥½ÃµÇ´Â DBA´Â ¸ðµÎ À¯È¿ÇÑ °ªÀÌ´Ù. ÀÌ°ÍÀº ORACLEÀÌ lseek()À» È£ÃâÇßÀ» ¶§
OS°¡ ºí·°À» À߸øµÈ °÷¿¡ ±â·ÏÇؼ­ »ý±â´Â °æ¿ì°¡ ¸¹´Ù.

¾î¶² HW/OS °ø±Þ¾÷üµéÀº 4.2G ¸¦ ³Ñ´Â Å« È­ÀÏÀ» ´Ù·ê ¼ö ÀÖ´Â ±â´ÉÀ»
Á¦°øÇÑ´Ù. ÀÌ°ÍÀº 32bit unsigned number·Î ´Ù·ê ¼ö ÀÖ´Â ¹üÀ§¸¦ ¹þ¾î³ª±â
¶§¹®¿¡ OS´Â offset °ªÀ» ORACLEÀÌ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÀûÀýÈ÷ º¯È¯½ÃÄÑ¾ß ÇÑ´Ù.
ORACLEÀº OSÀÇ Áö¿ø ¿©ºÎ¿Í °ü°è¾øÀÌ 2G ÀÌ»óÀÇ È­ÀÏÀ» Áö¿øÇÏÁö ¾ÊÀ¸¸ç
À§¿Í°°Àº Å« È­ÀÏÀ» ´Ù·ê ¼ö Àִ ȯ°æ¿¡¼­´Â lseek() ½Ã½ºÅÛ ÄÝÀÌ Á¤È®ÇÑ
À§Ä¡·ÎÀÇ º¯È¯À» ½ÃÄÑÁÖÁö ¸øÇÔ¿¡µû¶ó º¸´Ù ÀÛÀº Å©±âÀÇ È­ÀÏ¿¡¼­µµ ¹®Á¦°¡
¹ß»ýÇÏ´Â °æ¿ìµµ ÀÖ´Ù.

¿øÀÎ3)
¼¼¹ø° ¿øÀÎÀº I/O±â´ÉÀÌ ÀüÇô ÀÛµ¿ÇÏÁö ¾Ê´Â °æ¿ìÀÌ´Ù. ÀÌ °æ¿ì¿¡ Ç¥½ÃµÇ´Â
DBA °ªÀº ¸ðµÎ À¯È¿ÇÑ °ªµéÀÌÁö¸¸ arg1Àº ÀÌÀü¿¡ SGA·Î ÀÐÇôÁø ºí·°ÀÇ DBA °ªÀÌ
µÈ´Ù. ORACLEÀº lseek(), read() ½Ã½ºÅÛ ÄÝÀÌ ¸®ÅÏÇÏ´Â ¿¡·¯ Äڵ带 °Ë»çÇϸç
read()°¡ ÀоîµéÀÎ ¹ÙÀÌÆ® ¼ö°¡ BLOCK SIZEÀÇ Á¤¼ö¹èÀÎÁö¸¦ °Ë»çÇÑ´Ù. ÀÌ
°Ë»ç¸¦ Åë°úÇϸé ORACLEÀº ¼º°øÀûÀ¸·Î READ°¡ ¼öÇàµÇ¾ú´Ù°í °¡Á¤ÇÑ´Ù. ¸¸¾à
DBA°¡ Á¤È®ÇÏÁö ¾Ê´Ù°í üũµÇ¸é DATABASE¿¡ ´ëÇÑ Àб⠿䱸´Â ½ÇÆÐÇϱâ
¶§¹®¿¡ ½ÇÁ¦ÀÇ ºí·° Àбâ´Â ÀϾÁö ¾Ê´Â´Ù. ÀÌ °æ¿ì¿¡ ¸®ÅÏµÈ DBA´Â ½ÇÁ¦·Î´Â
´Ù¸¥ È­ÀÏÀÇ ´Ù¸¥ ºí·°À» Áö½ÃÇÏ°Ô µÉ ¼öµµ ÀÖ´Ù.

¿øÀÎ4)
¶Ç ´Ù¸¥ ¿øÀÎÀº µ¿ÀÏÇÑ µð¹ÙÀ̽º¿¡¼­ ´Ù¸¥ ºí·°À» Àоî¿Â °æ¿ìÀÌ´Ù. ÀÌ°ÍÀº
ÀÛ¾÷ÀÌ ¸Þ¿ì ¹Ù»Û µð½ºÅ©¿¡¼­ ¹ß»ýÇÏ°ï ÇÑ´Ù. ¾î¶² °æ¿ì¿¡´Â ¼ö¹é°³ ÀÌ»ó
¶³¾îÁø °÷ÀÇ ºí·°À» Àоî¿À´Â °æ¿ìµµ ÀÖ´Ù. À̶§¿¡µµ DBA °ªÀº ¸ðµÎ À¯È¿ÇÑ
°ªÀÌ´Ù.

¼¼¹ø°¿Í ³×¹ø° °æ¿ì¿¡´Â ´Ù½Ã Çѹø µ¿ÀÛÀ» ¹Ýº¹ÇÔÀ¸·Î½á ¹®Á¦´Â ÇØ°áµÉ ¼ö
ÀÖÀ¸¸ç ÀÌ°ÍÀº ÀϹÝÀûÀ¸·Î ORACLEÀÇ ¹®Á¦°¡ ¾Æ´Ï¶ó OS³ª HWÀÇ ¹®Á¦ÀÎ °æ¿ì°¡
¸¹´Ù.
OERI(3339)¿¡¼­ Ç¥½ÃµÇ´Â ÀμöµéÀÇ °ªÀº Ç÷§Æû¿¡ µû¶ó ´Ù¸£´Ù.

=================================
Ãâó: www.oracle.com/kr


Ȥ½Ã, ÀÌ»óÀÇ ³»¿ëÀÌ ÀúÀ۱ǿ¡ ¹®Á¦°¡ ÀÖ´Ù¸é °ð¹Ù·Î »èÁ¦ÇÏ°Ú½À´Ï´Ù.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Æۿ±Û


Subject: RE: Oracle Error ORA-07445 on InterText
From: "Pete Sharman" <[PRIVACY PROTECTION]>
Organization: Fat City Network Services, San Diego, California
Date: Mon, 14 Apr 2003 10:48:58 -0800

----------------------------------------------------------------------
----------
This is a multi-part message in MIME format.

----------------------------------------------------------------------
---------- charset="us-ascii"

No idea about the actual problem, but please, please, PLEASE upgrade to at
least 9.0.1.3.  It appears you're on 9.0.1.0, which has a wee small security
problem due to outer joins and ANSI syntax.  IIRC, the 9.0.1.3 patch
includes the fix - Connor will no doubt correct me if I'm wrong!  :)

Pete

"Controlling developers is like herding cats."

Kevin Loney, Oracle DBA Handbook

"Oh no, it's not.  It's much harder than that!"

Bruce Pihlamae, long-term Oracle DBA



-----Original Message-----
Sent: Monday, April 14, 2003 9:24 AM

Hi Guys,

Our Oracle 9.0.1 on SUN Solaris 5.8 does a core dump and hangs (cannot log
on via sqlplus and have to kill process).  The alert log on bdump has this
entry:

Mon Apr 14 18:07:25 2003
found dead shared server 'S001', pid = (9, 6)
Mon Apr 14 18:07:38 2003
Errors in file
/opt/app/oracle/product/9.0.1/admin/secdb/bdump/secdb_s003_2505.trc:
ORA-07445: exception encountered: core dump [kghalf()+604] [SIGSEGV]
[Address not mapped to object] [0xFFFFFFF8] [][]

The trace file entry is this:

Oracle9i Enterprise Edition Release 9.0.1.0.0 - Production
With the Partitioning option
JServer Release 9.0.1.0.0 - Production
ORACLE_HOME = /opt/app/oracle/product/9.0.1
System name:    SunOS
Node name:      secora1
Release:        5.8
Version:        Generic_108528-13
Machine:        sun4u
Instance name: secdb
Redo thread mounted by this instance: 1
Oracle process number: 11
Unix process pid: 2505, image: oracle@secora1 (S003)

*** 2003-04-14 18:07:38.380
*** SESSION ID:(335.6) 2003-04-14 18:07:38.286
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object),
addr: 0xfffffff8, PC: [0x1544f64, kghalf()+
604]
*** 2003-04-14 18:07:38.406
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [kghalf()+604] [SIGSEGV]
[Address not mapped to object] [0xFFFFFFF8] []
[]
Current SQL statement for this session:
SELECT DISTINCT nam_enty_long FROM tb_entity WHERE (statusid<>5 or
statusid<>7) AND ( CONTAINS(nam_enty_long, 'VISION') > 0) ORDER BY
nam_enty_long

----- Call Stack Trace -----
calling              call    entry                argument values in hex
location            type    point                (? means dubious value)
ksedmp()+256        CALL    ksedst()+0          229A508 ? 229A4E4 ? C ? 0
?
                                                  FFBEB004 ? 229A400 ?
ssexhd()+488        CALL    ksedmp()+0          2480C00 ? 1 ? C ?
FFBEB52C ?
                                                  1 ? 7 ?
sigacthandler()+40  PTR_CALL 00000000            B ? FFBEBC08 ? FFBEB950 ?

                                                  FF1BA008 ? 0 ? 0 ?
kghalf()+604        PTR_CALL 00000000            B ? FFBEBC08 ? FFBEB950 ?

                                                  841A4E10 ? 0 ? 0 ?
kghubatchalloc()+11  CALL    kghalf()+0          0 ? 259A9F8 ? 400 ? 0 ?
2                                                  246D2A8 ? 23D6A1C ?
kghualloc()+712      CALL    kghubatchalloc()+0  247E5C8 ? 259A9E8 ? 20 ?
                                                  23D6A1C ? 0 ? C4204A90 ?
kohalmc()+180        CALL    kghualloc()+0        247E5C8 ? 259A9E8 ? 10 ?
0 ?
                                                  23D6A1C ? 8 ?
kohalc()+88          CALL    kohalmc()+0          83A583E8 ? C ? E ? 0 ?
                                                  23D6A1C ? 0 ?
kpmalloc()+1580      CALL    kohalc()+0          247E5C8 ? C ? E ? 0 ?
                                                  23D6A1C ? 0 ?
drumcri()+332        CALL    OCIMemoryAlloc()+0  C42048A0 ? C4204A90 ?
                                                  FFBEC144 ? E ? C ? 0 ?
drexuinit()+280      PTR_CALL 00000000            2585090 ? 4 ? 244F350 ? 0
?
                                                  7 ? C4204A90 ?
drexrclose()+68      CALL    drexuinit()+0        C42050AC ? 2585090 ? 1 ?
                                                  841A4E10 ? 0 ? 0 ?
qeroifcc()+368      PTR_CALL 00000000            C42050AC ? C41DDC4C ?
                                                  C41DDC08 ? C41DDA4C ?
                                                  C41DDA08 ? 247E400 ?
qeroifcsu()+336      PTR_CALL 00000000            841A4D7C ? 0 ? 800000 ? 0
?
                                                  0 ? 0 ?

Any ideas? It seems that there is a problem with the shared server when
returning a fragment of the resultset.

Here are some of the values in my pfile.
###########################################
# Cache and I/O
###########################################
db_block_size=8192
db_cache_size=128M

###########################################
# Cursors and Library Cache
###########################################
open_cursors=600

###########################################
# Pools
###########################################
java_pool_size=67108864
large_pool_size=20971520
shared_pool_size=1024M
shared_servers=4
max_shared_servers=100

###########################################
# Processes and Sessions
###########################################
processes=800

###########################################
# Redo Log and Recovery
###########################################
fast_start_mttr_target=300

###########################################
# Sort, Hash Joins, Bitmap Indexes
###########################################
sort_area_size=524288

###########################################
# System Managed Undo and Rollback Segments
###########################################
max_dispatchers=100

session_cached_cursors=400

Any feedback would be greatly appreciated.

Cheers!
Norwen

http://www.faqchest.com/prgm/oracle-l/ora-03/ora-0304/ora-030421/ora03
041412_18113.html


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦