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 00:15:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!fu-berlin.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: Wed, 11 Dec 2002 08:54:55 +0100 Organization: EPS JP Elektrovojvodina Message-ID: <3DF6EF4F.5000605@ev.co.yu> References: <20021209234749.16577.00000185@mb-co.aol.com> 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:9241 Williamcin wrote: > I wonder if someone can tell me what's wrong with my Tru64 Unix V5.1a system. > > From time to time when we run an inhouse developed software, the Unix process > will end up using 99% of CPU (basically it is looping) with tty set to "??". > This situation can happen on any users, at any particular time and from PC to > PC (running the telnet session). When this happened, the "ps -ef|grep mytools" > for the particular user will be something like > > ================ > GAMALLOM 414726 1 98.3 12:12:13 ?? 6:48.66 /tools/mytools > ================ > > a) what's happening to the run_mytools script process? > b) why the tty ID become ?? for an interactive process which should attach to a > tty This would be due to that process refusing to exit and the user (who started it) logging out. The fact it is using 99% CPU tells you that it is a runaway process, stuck in an infinite loop, ignoring HUP signal. The user logged out and the child process lost it's controlling terminal, that's why it's set to "??". If it is in-house developed, attach a debugger to that process and see where it's stuck looping. Nix.