Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

killing oracle processes again !

Status
Not open for further replies.

smacattack

Technical User
Jun 25, 2001
102
GB
I understand how to kill the process through
alter system kill session `sid,serial#`
but this will leave the oracle process in unix, this is not user unique as it only shows oraclexxxxx as name, the unix pid is the unique part.
How to i tie-up the unix process and the oracle sid,serial# and kill all processes cleanly?
 
I was always under the impression that Oracle tidied up any extra processes correctly? Can you give an example of the alter system kill session command you issue and the oraclexxxxx unix command that this leaves running
 
The example of the alter kill session is shown on previous message but what is left behind on unix is oracle 13087 1 0 08:42:17 ? 0:05 oraclelive (DESCRIPTION=(LOCAL=no
)(ADDRESS=(PROTOCOL=BEQ)))
Somehow oracle will be able to tie the pid number ie 13087 into the sid and serial# and from this you should be able to determine which unix process has been spawned and
kill -9 <pid-id>.
 
select s.SID, s.SERIAL#, p.SPID OS_PID
from v$session s, v$process p
where s.paddr = p.addr and some_conditions_to_locate_session_or_process
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top