Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: leonardi@dpud.DIALiz.oz.au (Ian Leonard)
Subject: Processes not being removed after disconnection.
Date: Mon, 21 Mar 1994 05:23:38 GMT	[thread overview]
Message-ID: <Cn01nE.C0n@dpud.DIALiz.oz.au> (raw)

I was wondering if anyone has a problem with user processes remaining on
the system after they have been disconnected.  This happens in the following
circumstances :

User is running /bin/csh or /bin/sh (NOT /bin/ksh)
The system is logged into from a terminal server using TCP/IP, not LAT.
A C program is started which gives the user a menu.
An options is chosen off the menu to run oracle.
The user hits 'BREAK' and the types disconnect at the terminal server prompt.

The user processes are then left on the system with a terminal ID of ?.  
As soon as the oracle runmenu process for that user is killed, the process
cleans itself up.  The version of OSF1 is 1.3, and the oracle version is
V7.0.13

In order to track down the problem a bit further I have created a one
line 'C' program to run the oracle application.  I have attached the C program
and an output from ps before and after the process is disconnected.

If I have left out any details then please let me know.
Thanks for any help
Ian Leonard, leonardi@dpud.DIALix.oz.au

---------------------------------------

#include <signal.h>



main ()

{
	system("runmenu50 srs / -c oraterm:default");
}

-----------------------------------------

This is what the user looks like before disconnecting the process: (the ... 
should be replaced with oraterm:default).

leonardi 26855 26854  0.0 10:32:47 p6    0:00.22 -sh (sh)                    
leonardi 26869 26855  0.0 10:33:01 p6    0:00.02 pd/ofis/menu/a.out          
leonardi 26870 26869  0.0 10:33:01 p6    0:00.03 sh -c runmenu50 srs / -c ...
leonardi 26871 26870  0.0 10:33:01 p6    0:00.13 runmenu50 srs -c oraterm ...

After the process is disconnected, this is what it looks like:


leonardi 26869     1  0.0 10:33:01 ??    0:00.02 pd/ofis/menu/a.out          
leonardi 26870 26869  0.0 10:33:01 ??    0:00.03 sh -c runmenu50 srs / -c  ...
leonardi 26871 26870 47.0 10:33:01 ??    0:03.66 runmenu50 srs -c oraterm ...
   




                 reply	other threads:[~1994-03-21  5:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox