More on CPU usage after killing an Oracle session
Date: 1995/06/23
Message-ID: <3sedit$7lh_at_post.gsfc.nasa.gov>#1/1
Thanks to all who responded to my post concerning CPU usage being high after an Oracle session is killed. For one of the problems I have some more info:
The alter system kill session command marks a session as killed but does not remove the session until it can deliver a message to the user that the session was killed. The problem is that a typical reason for us to kill a session is that the user inadvertantly (or due to system problems) lost their window but the Oracle session was not killed. So there is no place for Oracle to deliver the message to. The dispatcher process for the killed Oracle session apparently continues to try to do something and uses most of a CPU to do it. Based on the comment in Chapter 4 of the Administrator's Guide "..the session cannot be killed until the operation completes. In this case, the session holds all resources until it is killed", my suspicion is that there is nothing to be done, but it would be nice if there was a "kill immediate" like the "shutdown immediate" which forces the session to be killed no matter what.
Joanne Woytek
Code 902.2
NASA/GSFC
joanne_at_daac.gsfc.nasa.gov
Received on Fri Jun 23 1995 - 00:00:00 CEST