SQL> alter session set events ' immediate trace name systemstate level 266'
或者
SQL>oradebug setospid 1962208
SQL>oradebug short_stack
查找对应的 PROCESS 18,具体信息如下:
Short stack dump: ksdxfstk+002c<-ksdxcb+04e4<-sspuser+0074<-000044BC<-ktsmg_register_tac+0074 <-kscnfy+01f4<-ksucrp+0574<-opiino+03d4<-opiodr+0adc<-opidrv+0474<-sou2o+0090
<-opimai_real+01ec<-main+0098<-__start+0098
Dump of memory from 0x070000009E5EF668 to 0x070000009E5EF870
................................
Repeat 29 times
----------------------------------------
SO: 70000009ea7aef8, type: 3, owner: 70000009e6322a0, flag: INIT/-/-/0x00
(call) sess: cur 0, rec 0, usr 0; depth: 0
----------------------------------------
SO: 7000000941eced0, type: 16, owner: 70000009e6322a0, flag: INIT/-/-/0x00
(osp req holder)
short stack分析:
start ->main->opimai_real->sou2o->opidrv->ipiodrv->opiino->ksucrp
->kscnfy->ktsmg_register_tac+0074->sspuser ..........
PROBLEM:--------Intermittently, oracle process abnormally terminates due to ora-3115, thenconsumed one cpu 100%. There was no v$session info so could not get sessioninformation to track down the root cause.STACK TRACE:------------ktsmg_register_tac 0074 kscnfy ksucrp opiino opiodr opidrv sou2o opimai_realmain暂时解决办法,用操作系统命令kill -9 删除以上进程。