From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,85504b55b7c06340 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-12-11 22:45:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!EUnet.yu!Mercury.ev.co.yu!not-for-mail From: Nikola Milutinovic Newsgroups: comp.unix.tru64 Subject: Re: Why tty ID is set to ?? for an interactive process? Date: Thu, 12 Dec 2002 07:34:41 +0100 Organization: EPS JP Elektrovojvodina Message-ID: <3DF82E01.4000001@ev.co.yu> References: <20021209234749.16577.00000185@mb-co.aol.com> <3DF6EF4F.5000605@ev.co.yu> NNTP-Posting-Host: brigitte.ev.co.yu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en, sr Xref: archiver1.google.com comp.unix.tru64:9248 BillLi wrote: > The question is why the process refusing to exit? When the user logout, I > would assume the script (parent) process will send the HUP signal to the > child process and this "kill" signal should kill the child process. Looks > like either the child process didn't receive this or the child process > received the signal but something is running in a higher priority. Any process can decide to ignore signalls - all, except SIGKILL, which is never received actually, but the kernel just kills the recipient of the signal. This override is done via a system call "sigaction()". > Would this have anything to do with the kernel parameter settings e.g. > semaphore that required to be tuned? Also, why the problem is only happening > from time to time but can't be reproduced at will? Two things. One - try to find out if your application is calling "sigaction()", either search the source or use "alpha-trace-1.34" (or whatever it is called) to trace system calls. Two - if it is in-house developed, get ahold of a developer, connect a debugger to such a process and see where it's looping (even "dbx" can do this, let alone "LaDebug"). Nix.