kill session and orakill
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: kill session and orakill

  1. #1
    Join Date
    Nov 2000
    Posts
    440

    kill session and orakill

    I want to kill a session.
    I kill the session using alter system kill session.
    The session is marked for kill.
    It still consume ressources. Still lock other session.
    I use orakill my_instance the_spid.


    The session still remains. Is there another nuke out there to kill a session?
    I cant shutdown the database each time i have this problem.

    Im on 10.2.0 on windows 32 bits.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333
    kill the os process

  3. #3
    Join Date
    Dec 2002
    Location
    Bangalore ( India )
    Posts
    2,434
    you cant kill that on windows like u do on unix.. as there is only one process for windows that is oracle.exe.. and session in oracle are threads..

  4. #4
    Join Date
    Nov 2000
    Posts
    440
    How do i identify the os process of the session?

  5. #5
    Join Date
    Dec 2002
    Location
    Bangalore ( India )
    Posts
    2,434
    steeve.. i think there is some utility to end any thread of any process.. but u need to map that thread id to pid of oracle..

  6. #6
    Join Date
    Nov 2000
    Posts
    440
    I used the task manager to identify the process and it is not in there.

    I used this query to identify my spid for orakill and pid to kill the thread:
    select s.sid, s.PROGRAM, p.spid , s.osuser, p.pid
    from v$process p, v$session s
    where p.addr = s.paddr
    and s.sid = 248;


    If i do orakill ORCL 5508
    Its says it kill it , by it is still in oracle and still locking other session.

    I did pskill 39
    Did not find the process.

    Does anybody has a link or documentation to foward me too?


    How can i identify the thread and kill it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width