How to gracefully kill background tasks

From: <suskind_at_bbs.mdcbbs.com>
Date: 30 Sep 92 08:26:46 GMT
Message-ID: <1992Sep30.082646.1_at_bbs.mdcbbs.com>


When you use the Oracle PIPE driver and your foreground process running IAP or SQLPLUS aborts due to the user terminating his connection to the system, the background ORACLE shadow process exits gracefully.

The same is not true when running the FAST driver. These background tasks just sit there and consume shared memory and other resources.

Another system administrator has created a script that will look for these processes and kill them. This process also releases the shared memory segments and semaphores that were allocated.

I was told by a person fairly familar with ORACLE that it was very bad to kill these background tasks as you can lock out portions of the database because ORACLE was not given the chance to release temporary space used when building queries.

Given all of this:

  1. How DO I kill these jobs?
  2. Is the point of locking out portions of the database just rubbish?
+---------------------------------------------------------------------+
Barry A. Suskind                  Internet:   suskind%edoras_at_mdcbbs.com
MaBell: 703-560-5000x2348             UUCP: uunet!mdcbbs!edoras!suskind
E-Systems / Melpar Division 7700 Arlington Blvd, Falls Church, VA 22046
JSNM                                             Just Stark Naked Magic
Received on Wed Sep 30 1992 - 09:26:46 CET

Original text of this message