$ sqlplus / as sysdba alter system set events '10281 trace name context forever, level xxx'; -- where xxxxxx is the number of seconds to timeout at. eg: alter system set events '10281 trace name context forever, level 300';
Memory (Avail / Total) = 221.27M / 32181.19M Swap (Avail / Total) = 47847.41M / 49151.99M F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 0 S oracle 6755 1 0 80 0 - 3206692 semtim 10:21 ? 00:00:00 ora_w003_xxxxx
*** 2020-07-02 10:23:53.079 Stack: [Thread debugging using libthread_db enabled] 0x0000003595ceb197 in semop () from /lib64/libc.so.6 #0 0x0000003595ceb197 in semop () from /lib64/libc.so.6 #1 0x0000000009825453 in sskgpwwait () #2 0x00000000098241b0 in skgpwwait () #3 0x0000000009411825 in kslges () #4 0x00000000094111be in kslgetl () #5 0x000000000940e60a in ksfglt () #6 0x00000000098097e9 in kghalo () #7 0x0000000000b3f9f2 in ksp_param_handle_alloc () #8 0x0000000000b3eec0 in kspcrec () #9 0x0000000000ba8e2c in ksucre () #10 0x0000000000bdd2c4 in ksvrdp () #11 0x00000000025a57ea in opirip () #12 0x0000000001850509 in opidrv () #13 0x0000000001e27b37 in sou2o () #14 0x0000000000a298d6 in opimai_real () #15 0x0000000001e2de55 in ssthrdmain () #16 0x0000000000a297cd in main () A debugging session is active. Inferior 1 [process 6755] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal]
------------------------------------------------------------------------------- Process diagnostic dump actual duration=8.680000 sec (max dump time=30.000000 sec)
*** 2020-07-02 10:23:53.079 Killing process (ospid 6755): (reason=KSOREQ_WAIT_CANCELLED error=0) ... and the process is still alive after kill!