From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,612c5de0422d7c82,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-21 19:08:25 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!munnari.oz.au!news.uwa.edu.au!DIALix!dpud!leonardi From: leonardi@dpud.DIALiz.oz.au (Ian Leonard) Subject: Processes not being removed after disconnection. Message-ID: Date: Mon, 21 Mar 1994 05:23:38 GMT Organization: Dept. Planning and Urban Development 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 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 ...